-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[KBM] Simultaneous shortcut invocation in Keyboard Manager #32125
Open
gokcekantarci
wants to merge
16
commits into
microsoft:main
Choose a base branch
from
gokcekantarci:KBM-Simultaneously-Used-Shortcuts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[KBM] Simultaneous shortcut invocation in Keyboard Manager #32125
gokcekantarci
wants to merge
16
commits into
microsoft:main
from
gokcekantarci:KBM-Simultaneously-Used-Shortcuts
+396
−80
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
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…sly-Used-Shortcuts
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…m/gokcekantarci/PowerToys into KBM-Simultaneously-Used-Shortcuts
This was referenced Jun 9, 2024
|
@gokcekantarci @stefansjfw Was is blocking this from being merged? Anything I could help out with? Am dying to use this 😄 |
crutkas
added
the
Needs-Review
This Pull Request awaits the review of a maintainer.
label
Jun 19, 2024
11 tasks
This comment has been minimized.
This comment has been minimized.
Hello! What is the status on this PR? Really looking to use this feature :) |
Looking forward to this and #32534 to be merged. |
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.
Summary of the Pull Request
Simultaneous shortcut invoke operations are allowed.
Note: This branch opened from #31923 to avoid code conflicts.
PR Checklist
Detailed Description of the Pull Request / Additional comments
Some unit tests have been changed according to the changes made.
ShortcutDisable_ShouldNotDisableShortcutSuperset_AfterShortcutWasDisabled
ShortcutDisable_ShouldResetIsOriginalActionKeyPressed_OnPressingAnotherKey
Validation Steps Performed
The following 3 shortcuts were used while testing:
While testing, all combinations of these shortcuts were tried:
While testing, the keys were tested with different press, keep pressed and release states:
It was tested by making the following assignments to the shortcuts:
Win (Left) + E -> Disable
Win (Left) + S -> Disable
Win (Left) + V -> Disable
Win (Left) + E -> A
Win (Left) + S -> B
Win (Left) + V -> C
Win (Left) + E -> Ctrl (Left) + A
Win (Left) + S -> Ctrl (Left) + V
Win (Left) + V -> Ctrl (Left) + C
Win (Left) + E -> Send Text (qwe)
Win (Left) + S -> Send Text (asd)
Win (Left) + V -> Send Text (zxc)
Win (Left) + E -> Run Program (calculator.exe)
Win (Left) + S -> Run Program (notepad++.exe)
Win (Left) + V -> Run Program (chrome.exe)
Win (Left) + E -> Open URI (https://www.google.com/)
Win (Left) + S -> Open URI (https://github.com/microsoft/PowerToys)
Win (Left) + V -> Open URI (https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes)
It is also tested with common modifier and action keys:
Set shortcuts as below and test shortcuts together
Ctrl (Left) + A -> Q
Shift (Left) + A -> W
Alt (Left) + A -> E
Ctrl (Left) + Shift (Left) + A -> T
Ctrl (Left) + Alt (Left) + A -> Y
Shift (Left) + Alt (Left) + A -> U
Ctrl (Left) + Shift (Left) + Alt (Left) + A -> J
Please test with Alt gr too.
Altgr (Ctrl Left + Alt Right) + E
Altgr (Ctrl Left + Alt Right) + S
Altgr (Ctrl Left + Alt Right) + V
Altgr (Ctrl Left + Alt Right) + A -> Q
Shift Right + A -> W
Altgr (Ctrl Left + Alt Right) + Shift Right + A -> E