Bad-but-ok for now gyroscope implementation

This commit is contained in:
wheremyfoodat 2023-07-08 23:31:16 +03:00
parent 2edc17367a
commit 1a7e79f2c9
5 changed files with 44 additions and 0 deletions

View file

@ -37,6 +37,10 @@ class Emulator {
bool keyboardAnalogX = false;
bool keyboardAnalogY = false;
// For tracking whether to update gyroscope
// We bind gyro to right click + mouse movement
bool holdingRightClick = false;
static constexpr u32 width = 400;
static constexpr u32 height = 240 * 2; // * 2 because 2 screens
ROMType romType = ROMType::None;