From ae930472f003e970e97750c8b5996697e8ab4b95 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 14 Nov 2021 13:18:58 +0200 Subject: [PATCH] Units info --- Core/gb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/gb.h b/Core/gb.h index 448c3e5..0d3846a 100644 --- a/Core/gb.h +++ b/Core/gb.h @@ -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 */