The new Microsoftslop 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

    • drcobaltjedi@programming.dev
      link
      fedilink
      arrow-up
      17
      ·
      16 days ago

      A VM software I’ve used at work uses right Ctrl as the button to alert the host machine “Hey the user is addressing you now”.

      Want to take a wild guess who set up a VM on an old intern’s laptop after they returned to school and didn’t notice there wasn’t a right Ctrl key anymore?

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 days ago

      I also want back the right super key that was replaced by the shitty fn key.
      You want to add functions? Good! Add another row on top of the F13 - F24 row and leave my F1 - F12 for what I want them.
      And yes, add a F13 to F24 column before wasting space on whatever multimedia keys you feel like adding.