this post was submitted on 07 Feb 2026
241 points (98.4% liked)

Linux

2212 readers
18 users here now

Everything about Linux

RULES

founded 2 years ago
MODERATORS
 

The new Micro~~soft~~slop copilot key always sends the following key-sequence when pressed down:

copilot key down: left-shift-down left-meta-down f23-down f23-up left-meta-up left-shift-up
copilot key up: <null>

This means there's no real key-up event when you release the key --> it can't be used (properly) as a modifier like ctrl or alt.

The workaround is to send a pretend key-up event after a time delay, but then you mustn't be too slow / fast when pressing a shortcut.

tldr: AI took a perfectly working modifier key from you.

--- edit ---
Some keyboards apparently do the "right" thing and don't send the whole sequence at once, you can remap those properly with keyd, see: https://github.com/rvaiya/keyd/issues/1025#issuecomment-2971556563 / https://github.com/rvaiya/keyd/issues/825

copilot key down: left-shift-down left-meta-down f23-down
copilot key up: f23-up left-meta-up left-shift-up

this will still break "left-shift + remapped copilot" and "left-meta + remapped copilot", but "RCtrl + letter key" can work as expected

you are viewing a single comment's thread
view the rest of the comments
[–] ZoteTheMighty@lemmy.zip 12 points 3 months ago (2 children)

Couldn't they have just remapped RightControl to open Copilot for the same effect without all the downsides?

[–] attero@discuss.tchncs.de 17 points 3 months ago (1 children)

Marketing said it has to be a dedicated key, engineers were stuck between a rock and a hard place.

[–] ZoteTheMighty@lemmy.zip 10 points 3 months ago (2 children)

They're "marketing", surely they could just tell them it's a "dedicated key".

[–] lightnsfw@reddthat.com 9 points 3 months ago

Put a sticker over the button and a default mapping in the software and none of them would have known the difference.

[–] degen@midwest.social 3 points 3 months ago

More like dead~~icated~~ key, am I right?

[–] pivot_root@lemmy.world 6 points 3 months ago* (last edited 3 months ago) (1 children)

Pretty easily, even without introducing a new scan code. If the keyboard uses USB, Windows could have just matched against the vendor and product IDs. Or they could have set something in the USB descriptor.

The only reasons I can think of for doing it this way are either out of laziness because it's easier to make a global hotkey than change a driver, or to intentionally make the key useless as a modifier key.

[–] ulterno@programming.dev 1 points 3 months ago

easier to make a global hotkey than change a driver

Mainly because AI doesn't make good driver code.