Added option to swap left and right mouse buttons

Changed the use of SDL buttons to Moonlight buttons definitions
This commit is contained in:
Anton 2020-08-23 16:05:00 +02:00
commit 89319dc7aa
7 changed files with 37 additions and 0 deletions

View file

@ -118,6 +118,7 @@ private:
SDL_Window* m_Window;
bool m_MultiController;
bool m_GamepadMouse;
bool m_SwapMouseButtons;
SDL_TimerID m_MouseMoveTimer;
SDL_atomic_t m_MouseDeltaX;
SDL_atomic_t m_MouseDeltaY;