microsoft / microsoft/PowerToys
Cannot map Co-pilot key to Ctrl (Right) properly
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
Microsoft PowerToys version
0.97.1
Installation method
WinGet
Area(s) with issue?
Keyboard Manager
Steps to reproduce
I first tried to create a key map from Co-pilot key to Ctrl (Right) with:
but got a warning at save:
And mapping is indeed ineffective, then, inspired by this comment from another ticket: https://github.com/microsoft/PowerToys/issues/38358#issuecomment-2767339256, I added following shortcut to map Co-pilot key to Ctrl (Right):
And while it works for usual Ctrl stuff in some application I tested in (Ctrl+C/X/V), it does not work on VirtualBox, for which Ctrl (Right) is the host key combo and it just does nothing (for example Host+C just prints c). I also tried to remap host key combo in VirtualBox, but pressing Co-pilot key with mapped shortcut leads to weird behavior, when pressed I see briefly appear right control then on release it is Windows left, and sometimes a MAJ (shift) appears, here I press/release key quickly:
https://github.com/user-attachments/assets/fd2fa857-a87f-4fd2-b65c-b1516566eda8
It then seems shortcut mapping is partial or broken.
✔️ Expected Behavior
We can remap a single key like right control or alternative with a shortcut works.
❌ Actual Behavior
We cannot remap a single key like right control and alternative with a shortcut does not work.
Additional Information
OS:
Windows 11 Enterprise 10.0.26100 Build 26100
.Net version:
Not sure which your software is specifically using but here is the result of dotnet --list-runtimes:
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.23 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
System Language:
English
User or System Installation:
Id on't know, I installed through winget, then without wizard to choose any install option.
Not running as admin
Other Software
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Keyboard Manager entry point and reproduce the Co-pilot-to-right-Control mappings described in the issue, including the VirtualBox host-key case. Trace the single-key and shortcut mapping paths and compare their emitted key events. Done means the mapping works reliably as a right-Control host key without producing extra Windows or Shift events.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100