mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 04:49:14 +12:00
Rename Emulator::run to FrontendSDL::run
This commit is contained in:
parent
a00a5e0f8f
commit
7bd3e8437a
4 changed files with 40 additions and 41 deletions
|
@ -20,4 +20,15 @@ class FrontendSDL {
|
|||
SDL_Window* window = nullptr;
|
||||
SDL_GameController* gameController = nullptr;
|
||||
int gameControllerID;
|
||||
bool programRunning = true;
|
||||
|
||||
// For tracking whether to update gyroscope
|
||||
// We bind gyro to right click + mouse movement
|
||||
bool holdingRightClick = false;
|
||||
|
||||
// Variables to keep track of whether the user is controlling the 3DS analog stick with their keyboard
|
||||
// This is done so when a gamepad is connected, we won't automatically override the 3DS analog stick settings with the gamepad's state
|
||||
// And so the user can still use the keyboard to control the analog
|
||||
bool keyboardAnalogX = false;
|
||||
bool keyboardAnalogY = false;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue