The new Microsoftslop copilot key always sends the following key-sequence when pressed:

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 remaps should work as expected

    • Wispy2891@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      35 minutes ago

      Not really, it sends a combination of 3 really fast button combination on press and doesn’t report to the os when your finger releases the key. You need to run a daemon that detects that specific combination and emulates a finger release after a specified time

      Assholes. Couldn’t they just remap one of the useless “internet” keys from the 00s like KEY_HOMEPAGE or XF86Mail??

      Or create a brand new scancode since they could change the kernel without any problem, especially because the manufacturers would need to change the keyboard firmware anyway AND because copilot requires special hardware, it doesn’t need retro compatibility with older windows versions that don’t have the scancode in kernel or in the keyboard driver

      • FrChazzz@lemmus.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        19 minutes ago

        I have one on my Lenovo IdeaPad I bought a few months ago and am running Mint on. I remapped it to bring up the menu almost immediately. No issues. It acts like a Super key. Maybe this is a model specific thing?