mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-21 15:56:55 +00:00
1 parent
95dcbf6024
commit
514e415956
3 files changed
+37
-3
No files matched your search
@@ -470,7 +470,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
for (UIPress* press in presses) {
|
||||
// For now, we'll treated it as handled if we handle at least one of the
|
||||
// UIPress events inside the set.
|
||||
if (press.key != nil && [KeyboardSupport sendKeyEvent:press.key down:YES]) {
|
||||
if ([KeyboardSupport sendKeyEventForPress:press down:YES]) {
|
||||
// This will prevent the legacy UITextField from receiving the event
|
||||
handled = YES;
|
||||
}
|
||||
@@ -489,7 +489,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
||||
for (UIPress* press in presses) {
|
||||
// For now, we'll treated it as handled if we handle at least one of the
|
||||
// UIPress events inside the set.
|
||||
if (press.key != nil && [KeyboardSupport sendKeyEvent:press.key down:NO]) {
|
||||
if ([KeyboardSupport sendKeyEventForPress:press down:NO]) {
|
||||
// This will prevent the legacy UITextField from receiving the event
|
||||
handled = YES;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user