Keyboard Manager: Remapping a shortcut using "right Ctrl"/⇨ with CAN/CSA Z243.200 fails (detected as "VK 223")
Microsoft PowerToys version
0.84.1
Installation method
GitHub, PowerToys auto-update
Running as admin
No
Area(s) with issue?
Keyboard Manager
Steps to reproduce
In Keyboard Manager:
- Ensure that the layout is Canadian multilingual standard
- Click Remap a shortcut
- At the bottom, select Add a shortcut remapping
- Click the pencil shortcut (left)
- Toggle "Authorize simultaneous presses" on
- Depress the bottom right key (located where the right Ctrl usually is)
- Press any key, for example L
- Release the key depressed in #6
✔️ Expected Behavior
A shortcut using the bottom right key as a modifier (Ctrl/⇨ + L)
❌ Actual Behavior
An unusable sequence of 2 keypresses, with the first key named "VK 223" (VK 223, L) After activating OK, Keyboard Manager complains that a shortcut must start with a modifier key.
Other Software
No response
Some background: CSA Z243.200:92 is mostly used in the province of Quebec. It is a proprietary standard which most people cannot consult for free. That layout is complex and outdated and the implementation in Microsoft Windows does not match closely. According to the norm, the bottom right key seems not to be a right Ctrl, which would probably make it a unique layout. And indeed, Windows does not behave as if it is a right Ctrl. This causes significant issues, which is precisely why I was trying to create a shortcut.
On the other hand, according to Keyboard Layout Info as well as Microsoft's own documentation, it should be a right Ctrl (VK_RCONTROL).
So it's not clear exactly how this should behave, but since the bottom right key is most definitely a modifier in CMS, Keyboard Manager should definitely treat it as such and not behave as it currently does. Note that this issue is made worse by issue #31079, which also prevents from using the right Alt, making it very difficult to create shortcuts for those who use their mouse to the left.
Note that this affects Microsoft's own Natural Ergonomic Keyboard 4000 (version canadienne francophone), using Windows 11.
Thanks to to this post i was able to remap the copilot key to "⇨" key with remap shortcut, win(left) + Shift(left) + F23 to VK 223. "Authorize simultaneous presses" on.
I also created a ahk (autohotkey) script that remap the key only when the CMS layout is active so if you use multiple keyboard layout, it works as expected. https://github.com/patate1684/copilot_key_CMS_keyboard