Fix keys being stuck after Moonlight loses focus or is quit via OS shortcut (Alt+Tab/Alt+F4)
This commit is contained in:
parent
1b4e75f49e
commit
6661ca17c2
3 changed files with 54 additions and 21 deletions
|
|
@ -47,6 +47,8 @@ public:
|
|||
|
||||
int getAttachedGamepadMask();
|
||||
|
||||
void raiseAllKeys();
|
||||
|
||||
static
|
||||
QString getUnmappedGamepads();
|
||||
|
||||
|
|
@ -70,6 +72,7 @@ private:
|
|||
bool m_NeedsInputDelay;
|
||||
int m_GamepadMask;
|
||||
GamepadState m_GamepadState[MAX_GAMEPADS];
|
||||
QSet<short> m_KeysDown;
|
||||
|
||||
SDL_TouchFingerEvent m_TouchDownEvent[MAX_FINGERS];
|
||||
float m_CumulativeDelta[MAX_FINGERS];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue