Pass through focus-gain clicks to the host in absolute mouse mode
This commit is contained in:
parent
97c15c7876
commit
05e82c24f8
3 changed files with 96 additions and 2 deletions
|
|
@ -77,6 +77,8 @@ public:
|
|||
|
||||
void setCaptureActive(bool active);
|
||||
|
||||
void sendSyntheticMouseState(Uint32 state, Uint32 button);
|
||||
|
||||
static
|
||||
QString getUnmappedGamepads();
|
||||
|
||||
|
|
@ -127,6 +129,9 @@ private:
|
|||
bool m_AbsoluteMouseMode;
|
||||
bool m_AbsoluteTouchMode;
|
||||
|
||||
bool m_PendingFocusGain;
|
||||
Uint32 m_PendingFocusButtonUp;
|
||||
|
||||
SDL_TouchFingerEvent m_TouchDownEvent[MAX_FINGERS];
|
||||
SDL_TimerID m_LeftButtonReleaseTimer;
|
||||
SDL_TimerID m_RightButtonReleaseTimer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue