git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit ae930472f003e970e97750c8b5996697e8ab4b95
parent 7a78649e210fd6b6d26ed8c64dffcd60441e98ff
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun, 14 Nov 2021 13:18:58 +0200

Units info

Diffstat:
MCore/gb.h2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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 */

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.