Comment by mrandish
10 days ago
It doesn't work like it did before and will fail in some contexts. For example, if you try to use it with other modifier keys (as I do), you cannot because they are ALL already pressed and those presses cannot be masked. A real modifier key can be combined with any or all of the other modifiers. There is now no way to use that key in combination with the other modifiers.
It seems to work fine in vscode setting custom keybinds at least.
I havent tried it anywhere else to be fair
Yes, remapping can work in narrower cases where right-CTRL is only used in combination with non-modifier keys.
CoPilot is really sending: Shift+Alt+Win+Ctrl+F23. When you remap the CoPilot key to right-Ctrl only the F23 is being remapped to right-Ctrl. Due to the way Windows works and because MSFT is now sending F23 DOWN and then F23 UP when the CoPilot key has only been pressed Down, the other modifiers remain pressed down when our remapped key is sent.
So, what's happening now when you press CoPilot after remapping it to Right-Ctrl... the keys actually being sent are: Shift+Alt+Win+Right-Ctrl (there are also some other keypresses in there that are masked). If your use case doesn't care that Shift, Alt and Win are also pressed with Right-Ctrl - then it'll seem fine - but it isn't. Your CoPilot key remapped to Right-Ctrl no longer works like it did before or like Left-Ctrl still works (no other modifiers). Unfortunately, a lot of shortcuts (including several common Windows desktop shortcuts) involve Ctrl in combination with other modifiers. Those shortcuts will still work with Left-Ctrl but not CoPilot remapped to Right-Ctrl. And there's no way to fix it with remapping (whether AutoHotKey, PowerToys, Registry Key, etc). It might be possible to fix it with a low-level service running below the level of Windows with full admin control which intercepts the generated keys before Windows ever sees them - but as far as I know, no one has succeeded in creating that.
That's so strange. Microsoft really makes me scratch my head sometimes.
I know power toys has that setting for low level hook but I think it's only for the windows key
1 reply →