mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-21 03:52:48 +00:00
Disable the start key shortcut to start the keyboard because the keyboard can't receive input after it's started
This commit is contained in:
parent
3d95ac1f93
commit
5519d92243
@ -578,7 +578,9 @@ public class ControllerHandler implements InputManager.InputDeviceListener {
|
|||||||
case KeyEvent.KEYCODE_BUTTON_START:
|
case KeyEvent.KEYCODE_BUTTON_START:
|
||||||
case KeyEvent.KEYCODE_MENU:
|
case KeyEvent.KEYCODE_MENU:
|
||||||
if (SystemClock.uptimeMillis() - context.startDownTime > ControllerHandler.START_DOWN_TIME_KEYB_MS) {
|
if (SystemClock.uptimeMillis() - context.startDownTime > ControllerHandler.START_DOWN_TIME_KEYB_MS) {
|
||||||
gestures.showKeyboard();
|
// FIXME: The stock keyboard doesn't have controller focus so isn't usable. I'm not enabling this shortcut
|
||||||
|
// until we have a custom keyboard or some other fix
|
||||||
|
//gestures.showKeyboard();
|
||||||
}
|
}
|
||||||
context.inputMap &= ~ControllerPacket.PLAY_FLAG;
|
context.inputMap &= ~ControllerPacket.PLAY_FLAG;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user