mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-08 03:51:39 +12:00
Bad-but-ok for now gyroscope implementation
This commit is contained in:
parent
2edc17367a
commit
1a7e79f2c9
5 changed files with 44 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue