switch input language on Mac with command-space, allowing the keyboard layout list to be shown
release the command key to select a keyboard layout
From the point of view of scrcpy, the command key does not get "released", and any keypress after that on the Mac is as if the command key was still held.
For example, if m is pressed when scrcpy is in this state, the menu is shown on the phone,
if right arrow is pressed, the screen is rotated, and so on.
This state is kept until one of the command keys is pressed and released by itself.
Notescommand key = ⌘
In Preferences -> Keyboard -> Shortcuts -> Input Sources,
"Select the previous input source" is set to "⌘Space" and marked as active.
Observation
Every time this command-key lock happens, 32 bytes are leaked:
Environment
Describe the bug
scrcpy
is in focus on Macscrcpy
command
-space
, allowing the keyboard layout list to be showncommand
key to select a keyboard layoutFrom the point of view of
scrcpy
, thecommand
key does not get "released", and any keypress after that on the Mac is as if thecommand
key was still held.For example, if
m
is pressed whenscrcpy
is in this state, the menu is shown on the phone, ifright arrow
is pressed, the screen is rotated, and so on.This state is kept until one of the
command
keys is pressed and released by itself.Notes
command
key =⌘
In Preferences -> Keyboard -> Shortcuts -> Input Sources, "Select the previous input source" is set to "⌘Space" and marked as active.Observation Every time this
command
-key lock happens, 32 bytes are leaked: