Units info
This commit is contained in:
parent
7a78649e21
commit
ae930472f0
@ -854,6 +854,8 @@ void GB_set_rtc_mode(GB_gameboy_t *gb, GB_rtc_mode_t mode);
|
|||||||
|
|
||||||
/* For cartridges motion controls */
|
/* For cartridges motion controls */
|
||||||
bool GB_has_accelerometer(GB_gameboy_t *gb);
|
bool GB_has_accelerometer(GB_gameboy_t *gb);
|
||||||
|
// In units of g (gravity's acceleration).
|
||||||
|
// Values within ±4 recommended
|
||||||
void GB_set_accelerometer_values(GB_gameboy_t *gb, double x, double y);
|
void GB_set_accelerometer_values(GB_gameboy_t *gb, double x, double y);
|
||||||
|
|
||||||
/* For integration with SFC/SNES emulators */
|
/* For integration with SFC/SNES emulators */
|
||||||
|
Loading…
Reference in New Issue
Block a user