Use Ctrl+Alt+Shift+Z as the unbind toggle to match other Moonlight clients

This commit is contained in:
Cameron Gutman
2022-11-29 23:28:13 -06:00
parent 6777e79e70
commit 33f0f7ecf0

View File

@@ -1176,10 +1176,10 @@ public class Game extends Activity implements SurfaceHolder.Callback,
this.modifierFlags &= ~modifierMask; this.modifierFlags &= ~modifierMask;
} }
// Check if Ctrl+Shift+Z is pressed // Check if Ctrl+Alt+Shift+Z is pressed
if (androidKeyCode == KeyEvent.KEYCODE_Z && if (androidKeyCode == KeyEvent.KEYCODE_Z &&
(modifierFlags & (KeyboardPacket.MODIFIER_CTRL | KeyboardPacket.MODIFIER_SHIFT)) == (modifierFlags & (KeyboardPacket.MODIFIER_CTRL | KeyboardPacket.MODIFIER_ALT | KeyboardPacket.MODIFIER_SHIFT)) ==
(KeyboardPacket.MODIFIER_CTRL | KeyboardPacket.MODIFIER_SHIFT)) (KeyboardPacket.MODIFIER_CTRL | KeyboardPacket.MODIFIER_ALT | KeyboardPacket.MODIFIER_SHIFT))
{ {
if (down) { if (down) {
// Now that we've pressed the magic combo // Now that we've pressed the magic combo