mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 14:11:35 +00:00
@@ -104,6 +104,10 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
|||||||
if (settings.btMouseSupport) {
|
if (settings.btMouseSupport) {
|
||||||
[x1mouse start];
|
[x1mouse start];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is critical to ensure keyboard events are delivered to this
|
||||||
|
// StreamView and not our parent UIView, especially on tvOS.
|
||||||
|
[self becomeFirstResponder];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)startInteractionTimer {
|
- (void)startInteractionTimer {
|
||||||
@@ -141,7 +145,6 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
|
|||||||
- (void) showOnScreenControls {
|
- (void) showOnScreenControls {
|
||||||
#if !TARGET_OS_TV
|
#if !TARGET_OS_TV
|
||||||
[onScreenControls show];
|
[onScreenControls show];
|
||||||
[self becomeFirstResponder];
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user