-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify/restrict shortcut mods #4741
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 tasks
rom1v
force-pushed
the
simplify_shortcut_mods
branch
from
March 30, 2024 14:07
9f00458
to
21ae1ca
Compare
Restrict shortcut modifiers to be composed of only one item each. Before, it was possible to select a list of multiple combinations of modifier keys, like --shortcut-mod='lctrl+lalt,rctrl+rsuper', meaning that shortcuts would be triggered either by LCtrl+LAlt+key or RCtrl+RSuper+key. This was overly generic, probably not used very much, and it prevents to solve inconsistencies between UP and DOWN events of modifier keys sent to the device. Refs #4732 <#4732> PR #4741 <#4741>
rom1v
force-pushed
the
simplify_shortcut_mods
branch
from
June 23, 2024 17:19
21ae1ca
to
0b92692
Compare
zhurai
added a commit
to zhurai/dot-files
that referenced
this pull request
Jul 9, 2024
FreedomBen
pushed a commit
to FreedomBen/scrcpy
that referenced
this pull request
Aug 2, 2024
Restrict shortcut modifiers to be composed of only one item each. Before, it was possible to select a list of multiple combinations of modifier keys, like --shortcut-mod='lctrl+lalt,rctrl+rsuper', meaning that shortcuts would be triggered either by LCtrl+LAlt+key or RCtrl+RSuper+key. This was overly generic, probably not used very much, and it prevents to solve inconsistencies between UP and DOWN events of modifier keys sent to the device. Refs Genymobile#4732 <Genymobile#4732> PR Genymobile#4741 <Genymobile#4741>
FreedomBen
pushed a commit
to FreedomBen/scrcpy
that referenced
this pull request
Aug 2, 2024
Never inject keycodes used as shortcut modifiers. Refs Genymobile#4732 <Genymobile#4732> PR Genymobile#4741 <Genymobile#4741>
Gottox
pushed a commit
to Gottox/scrcpy
that referenced
this pull request
Sep 29, 2024
Restrict shortcut modifiers to be composed of only one item each. Before, it was possible to select a list of multiple combinations of modifier keys, like --shortcut-mod='lctrl+lalt,rctrl+rsuper', meaning that shortcuts would be triggered either by LCtrl+LAlt+key or RCtrl+RSuper+key. This was overly generic, probably not used very much, and it prevents to solve inconsistencies between UP and DOWN events of modifier keys sent to the device. Refs Genymobile#4732 <Genymobile#4732> PR Genymobile#4741 <Genymobile#4741>
Gottox
pushed a commit
to Gottox/scrcpy
that referenced
this pull request
Sep 29, 2024
Never inject keycodes used as shortcut modifiers. Refs Genymobile#4732 <Genymobile#4732> PR Genymobile#4741 <Genymobile#4741>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Restrict shortcut modifiers to be composed of only one item each.
Currently, it is possible to select a list of multiple combinations of modifier keys, like
--shortcut-mod='lctrl+lalt,rctrl+rsuper'
, meaning that shortcuts would be triggered either by LCtrl+LAlt+key or RCtrl+RSuper+key.This was overly generic, probably not used very much, and it prevents to solve easily inconsistencies between UP and DOWN events of modifier keys sent to the device.
This change allows to ignore the keycodes associated to a shortcut modifier (which was not directly possible when a combination of modifiers was required).
(EDIT: not all issues are solved though, it is still possible to generate a key down without the matching key up or vice-versa)
Refs #4732