Units info

This commit is contained in:
Lior Halphon 2021-11-14 13:18:58 +02:00
parent 7a78649e21
commit ae930472f0
1 changed files with 2 additions and 0 deletions

View File

@ -854,6 +854,8 @@ void GB_set_rtc_mode(GB_gameboy_t *gb, GB_rtc_mode_t mode);
/* For cartridges motion controls */
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);
/* For integration with SFC/SNES emulators */