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

  • p0358@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 hours ago

    My laptop had UEFI update that fixed the key-up thing and mentioned it allows holding the key in the changelog. So make sure to check for updates if you care

  • chraebsli@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 hours ago

    why even buy that slop of hardware beforehand? if you dont want that feature, you might be happier with another brands laptop

  • Alaknár@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    In Windows:

    PowerToys -> Keyboard Manager -> New Shortcut -> press the Copilot key -> select “Ctrl (right)” from the drop-down. Job done.

    Not sure why is it so hard on Linux that it generates such headlines.

  • JayGray91🐉🍕@piefed.social
    link
    fedilink
    English
    arrow-up
    27
    ·
    1 day ago

    Noted. Do not buy used laptops with microslop cancer button.

    A shame because they’re all still good hardware. Just don’t want to deal with the cursed button.

    • GalacticSushi@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      18 hours ago

      Yeah I’ve bought my last couple laptops from my company’s asset disposal department, I’ve gotten pretty good deals and usually just need to replace the battery after a few years. Not looking forward to when their stock starts getting into the models with slop buttons.

    • Dozzi92@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 day ago

      Yeah, I used PowerToys and it’s now Right Control again. It was probably easier than finding drivers for Linux.

  • Fokeu@lemmy.zip
    link
    fedilink
    English
    arrow-up
    159
    ·
    2 days ago

    Congrats Microsoft, you managed to enshittify a goddamn keyboard key.

    • rmuk@feddit.uk
      link
      fedilink
      English
      arrow-up
      30
      ·
      1 day ago

      It is shocking difficult to buy a new laptop without one. Yes, I know about Framework, System 76, etc, but go to your local big box store and every laptop is covered in either Microsoft logos or Apple logos.

      • BorgDrone@feddit.nl
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 day ago

        MacBooks are frikkin amazing though. There is nothing in the PC world that even comes close.

        • youmaynotknow@lemmy.zip
          link
          fedilink
          English
          arrow-up
          12
          ·
          1 day ago

          Yup, they’re ‘frikkin’ amazing at locking you in. Microslop is just chasing that with OEMs, and doing a great fucking job too.

          Now, is this every single make of laptop out there allowing this at the hardware level? How are they doing it? MoBo firmware? BIOS?

          • BorgDrone@feddit.nl
            link
            fedilink
            English
            arrow-up
            6
            ·
            1 day ago

            Locking me in to what and how? It’s a laptop, a tool, not a religion. I don’t give a fuck about any of that shit as long as the OS gets out of the way, stuff just works and I can get on with my job.

        • rmuk@feddit.uk
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 day ago

          Yeah, no. I have to use a MacBook at work and there is nothing it does well that an equivalently-priced laptop from any other major PC manufacturer doesn’t do better. Performance is good, but not great, and, again, is trounced by most of its equivalents, even the Surface Book. Window management in MacOS is appalling, the built in applications range from adequate to basically unusably bad (looking at you, Safari) and every bit of it seems to have been designed to be different first and better second.

          • Mic_Check_One_Two@reddthat.com
            link
            fedilink
            English
            arrow-up
            4
            ·
            23 hours ago

            Yeah, my complaints about Apple all stem from the fact that my industry has a standard program that only runs on Macs… And every Mac I’ve used has inevitably ended up taking 4x as long to do basically anything else when compared to Windows or Linux. The only reason I ever use a Mac is because my job requires it, and even then it is only begrudgingly; if there was a way to run the program on anything else, I would have done so a long time ago.

            And yeah, I agree 100% about the “different first, better second” design choices. Lots of the most frustrating things about Macs are due to intentional design choices that Apple makes. Not because it is better for the user, but simply because it is different.

            • Nugscree@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 hours ago

              VM the program? I know that seting up a Apple VM is nothing easy but that will allow you to just use you preferred OS and run that program in the VM. I use winboat on my Pop_OS! laptop for some software that really needs Windows and does not work well (at all) in wine. I dislike the we know better that you mentality that comes with buying a Mac. Hell the amount of times the update fubar’ed my system because Apple decided to update software that has nothing to do with the OS is too damn high.

          • BorgDrone@feddit.nl
            link
            fedilink
            English
            arrow-up
            4
            ·
            1 day ago

            Performance is good, but not great, and, again, is trounced by most of its equivalents, even the Surface Book.

            Sure, you can find an equivalent priced laptop that will beat the MBPro at one metric, but it’ll fall short on others. It’s faster but it has a cheap case , crappy trackpad, shit screen or terrible battery life, etc.

            There are very few laptops out there that are as good in every metric as a MBPro. It is simply the best total package.

          • Creegz@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            A lot of the “different first” has to do with Microsoft patenting UI elements, methodologies and design choices. I’ve never understood why people trash Apple computers so vehemently. They’re a fairly robust software suite targeted at consumers and amateur creatives that’s tailor made to run on the hardware it ships with, if you don’t use those things that’s fine, but it doesn’t mean it’s bad.

            I’ve had laptops from almost every major manufacturer and frankly the MacBooks I’ve had stood out save for a few niche problems like dock compatibility. The only manufacturer that regularly comes even remotely close is Lenovo. My work provided dell is 4 years old, cost the same as than an equivalent Mac at the time and is trash. I get 90 minutes out of the battery if I’m lucky, trackpad feels horrible and is inaccurate, can’t do gestures reliably and is horribly unintuitive (must click on the bottom left corner to get a left click despite the whole thing being clickable (tapping works about half the time) but it’s placed so far left i think it’s made for left handed people), case is warped because the battery swelled and had to be replaced after 2 months, it bitches about the charger it was shipped with saying it’s underpowered, the screen has bleeding on many pixel clusters. Why was that thing listed so high when the Mac we bought another user at the same price still works and has only had a problem with cheap dock compatibility? Oh because it said i7, had an ssd (which failed), a “multi-touch/gesture capable” trackpad. and a numpad. This has been the general quality of 4/5 of work provided laptops, 3 were Dell, one was HP, the only good one was a Lenovo. All were business targeted models with not too dissimilar pricing from a MacBook. I als deploy a lot of machines, mostly laptops, and honestly the only ones that do not come half functional out of the box or need warranty in less than a year are Apple and Lenovo.

              • Creegz@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                19 hours ago

                Yes but a lot of the things that frustrate people coming from Windows to Mac are because a Microsoft patented functionality to Windows that Apple had back in the 90’s.

  • RejZoR@lemmy.ml
    cake
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day ago

    But if you slap Linux on it, it just does nothing then or is it mapped as old AltGr or whatever?

    • ziggurat@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      24 hours ago

      Neither, it will be as if you pressed all those keys in the list above, which will most of the time do nothing

  • PolarKraken@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 day ago

    An embarrassing new low, even with the bars they’ve already set. And fitting, for this being the (egregiously multiply-) branded button to launch the shit show. Christ, this has been a fucking carnival lmao.

    Microslop has now regressed to implementing “features” very closely resembling - in sophistication and effect - my own bumbling, desperate, ignorant attempts at similar (“making a button behave like a macro”), using AutoHotKey, somewhere between 15-20 years ago.

    And do I understand that they both shipped that, on hardware, AND it’s broken so badly it can’t be easily remedied?

    I don’t know what to say. It’s like all the geniuses of comedy who died too young are doing this, all of it.


    (No shade whatsoever to AHK, it was, probably still is, awesome at its job!)


    Edit: suddenly realized it’s just on purpose, probably. Anyway, rant remains lol