mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-02-16 10:31:07 +00:00
Use Ctrl+Alt+Shift+Z as the unbind toggle to match other Moonlight clients
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user