Skip to content
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

"Shift (Left) + Shift (Right)" keyboard remapping is invalid #37616

Open
ZmaZes opened this issue Feb 25, 2025 · 0 comments
Open

"Shift (Left) + Shift (Right)" keyboard remapping is invalid #37616

ZmaZes opened this issue Feb 25, 2025 · 0 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams

Comments

@ZmaZes
Copy link

ZmaZes commented Feb 25, 2025

Microsoft PowerToys version

0.88.0

Installation method

GitHub

Running as admin

Yes

Area(s) with issue?

Keyboard Manager

Steps to reproduce

  1. Open Power Toys Settings, navigate to Keyboard Manager
  2. Select "Remap a Remap a shortcut"
  3. Add a shortcut remapping
  4. From the first dropdown under "Shortcut", select "Shift (Left)"
  5. From the second dropdown, select "Shift (Right)"
  6. Observe that there is an error that says "Shortcut cannot contain a repeated modifier"

✔️ Expected Behavior

  1. When selecting the left variant of a modifier key (ex: left shift) as input 1 and the right variant of that same modifier key (ex: right shift) as input 2 for the shortcut, there would not be a conflict, as both keys can be pressed independently and they function as two different keys on they keyboard, hence no key is actually being repeated here. This allows for creating a shortcut that requires both shift keys to be held at the same time.
  2. When selecting the left or right variation of a modifier key (ex: left shift) as input 1 and the generic (non-left/right) variant of that same modifier key (ex: shift) as input 2 for the shortcut, the error would display, as pressing the left shift key would also trigger the generic key press and the modifier is therefore repeated.

❌ Actual Behavior

  1. When selecting the left variant of a modifier key (ex: left shift) as input 1 and the right variant of that same modifier key (ex: right shift) as input 2 for the shortcut, an error pops up declaring that the shortcut "cannot contain a repeated modifier", even though the left shift key is a different key than the right shift key and has no reason to conflict. (Normal number keys and numpad keys function correctly and are allowed to be part of the same trigger, so having this restriction on the modifier keys like shift and ctrl specifically is unnecessarily limiting)
  2. The behavior for scenario 2 outlined under expected behavior performs exactly as expected.

Other Software

No response

@ZmaZes ZmaZes added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams
Projects
None yet
Development

No branches or pull requests

1 participant