mirror of
https://github.com/LizardByte/Sunshine.git
synced 2024-12-26 03:16:21 +00:00
fix(macos): Touch input broken (#3240)
This commit is contained in:
parent
ec506bbb2f
commit
5bc32cdeb3
@ -362,6 +362,9 @@ const KeyCodeMap kKeyCodesMap[] = {
|
||||
CGEventSetDoubleValueField(event, kCGMouseEventDeltaY, deltaY);
|
||||
|
||||
CGEventPost(kCGHIDEventTap, event);
|
||||
// For why this is here, see:
|
||||
// https://stackoverflow.com/questions/15194409/simulated-mouseevent-not-working-properly-osx
|
||||
CGWarpMouseCursorPosition(location);
|
||||
}
|
||||
|
||||
inline CGEventType
|
||||
|
Loading…
Reference in New Issue
Block a user