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
    6
    arrow-down
    3
    ·
    edit-2
    5 hours 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 between CTRL and ALT on Windows compatible keyboards are used for the Windows key, and the Application Key, so that people using one-button mice (or no mice) can use the Windows GUI.

    • morto@piefed.social
      link
      fedilink
      English
      arrow-up
      10
      ·
      edit-2
      3 hours ago

      Well… I use it. I find it faster to use than the right 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
        ·
        4 hours 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
          ·
          edit-2
          3 hours ago

          Sorry, I meant right click. By the way, tapping with 3 fingers usually works as a middle click, at least on gnome

    • SqueakyBeaver@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours 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