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
parent 5755afc4ea
commit 89319dc7aa
7 changed files with 37 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
SdlInputHandler::SdlInputHandler(StreamingPreferences& prefs, NvComputer*, int streamWidth, int streamHeight)
: m_MultiController(prefs.multiController),
m_GamepadMouse(prefs.gamepadMouse),
m_SwapMouseButtons(prefs.swapMouseButtons),
m_MouseMoveTimer(0),
m_MousePositionLock(0),
m_MouseWasInVideoRegion(false),