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

  • Sims@lemmy.ml
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    3
    ·
    6 hours ago

    “tldr: AI took a perfectly working modifier key from you.” - ‘AI’ ?? I can’t see how this is anything but Microshit and Capitalism that 'takes away" anything…

    • HertzDentalBar@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      5 hours ago

      That’s the former right click button location. They took it away to implement a AI button. So it’s AI that’s done it, not literally but figuratively.

      • JohnEdwa@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        4 hours ago

        They (Microsoft) did actually also originally implement it, the application key was added to Microsoft keyboards in 1994 along with the Windows key. It’s meant to give compatibility to the Windows user interface when your PC had a mouse with only one button. Don’t remember those being very relevant in the recent years.

        So it’s Microsoft deciding that their right-click button isn’t necessary any more after 32 years, and swapping it for a Co-Pilot/Windows Search button.

        • cheesybuddha@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          39 minutes ago

          I use the the ‘right click button’ literally every single day. It’s super useful for not having to move between the mouse and keyboard for tasks.

          Also, this is on Linux, and I think it’s fair to say that the key has evolved to become a fairly standard part of keyboards and operating systems. Just because MS were the first ones to use it doesn’t give them some kind of say control over the idea, at least beyond the scope of their own hardware, and I don’t think anyone is arguing that they don’t have the right to change their own hardware. It’s just a bad decision.