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

  • JohnEdwa@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    4
    ·
    22 days ago

    When was the last time you on purpose used the application key on your keyboard to open the right-click context menu so you could navigate it using the arrow keys? Because that is the key it replaced - Microsoft has demanded for the last 32 years that the two spaces CTRL and ALT on Windows compatible keyboards are used for the Windows key, and the Application Key.

    • morto@piefed.social
      link
      fedilink
      English
      arrow-up
      13
      ·
      22 days ago

      Well… I use it. I find it faster to use than the middle click gesture in the touchpad and the touchpad’s buttons are awful to press, so I use the keyboard button and navigate with the touchpad

      • RisingSwell@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        22 days ago

        Is a middle click even an option on a touchpad? I get annoyed that I can’t even right click hold and then left click. Rip fishing minigames on trackpad

        • morto@piefed.social
          link
          fedilink
          English
          arrow-up
          5
          ·
          22 days ago

          Tapping with 2 fingers usually works as a middle click, but sometimes it fail for me, sending a single click instead

    • Marsupial85427@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      22 days ago

      My laptop has a control key there. I know on some larger desktop keyboards there’s the application key, but I’ve not seen one on many keyboards from the last 10 years

    • [object Object]@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 days ago

      I’ve used it yesterday. Haven’t been at the desktop today, but will use the key when I get at it.

      Normally it’s mapped to alt in my setup, while alt is remapped to ctrl, but I haven’t gotten around to figuring out how to do that with Cinnamon. Meanwhile, Double Commander allows adding useful actions in the context menu, and Emacs has the commands menu (M-x) mapped to the ‘application’ key.