• recursive_recursion@piefed.ca
    link
    fedilink
    English
    arrow-up
    23
    ·
    14 hours ago

    Gods, I really hope they consider Linux or at least SteamOS for software support.

    Having my Logitech and Corsair mice without the ability to actively rebind anything on my Linux host (without the use of Windows VMs) is painfully annoying.

    • diaphragmwp@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      3 hours ago

      It’s a fucking USB HID mouse? OS agnostic. In an ideal world, the buttons should just be really big number scancodes that aren’t mapped to anything. You can then do something like this (says sway but runs on basically everything X and Wayland). Research before buying a mouse. Actually, no, just buy it from a local store, and if the buttons aren’t functioning as buttons without OEM bullshit, return as defective.

    • ElectroLisa@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      13
      ·
      8 hours ago

      You can configure Keychron peripherals via their website - Keychron Launcher.

      It works on Linux, but there are two caveats:

      1. Requires Chromium web browser. I’ve tested it with Ungoogled Chromium and it worked fine.
      2. In some Linux distributions you will have to set up udev rules, to allow access to USB devices

      I’ve tested it with my Keychain K3 keyboard and M4 mouse and it works.

      I agree a compatibility with ex. Piper would be neat though

      • pastaq@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        5 hours ago

        Be careful with this. These udev rules usually grant uaccess to your entire keyboard. uaccess is explicitly disabled for keyboards by default because it presents the event device to all of userspace, which allows any unprivileged app to log all key presses. This includes any malicious scripts running in a browser. If you do want to set up these rules, use them only for the single session you’re setting up your device and don’t type any passwords with it active, or change them immediately after (you won’t be able to remove them without your sudo password).

        For the same reason, stop using OpenRGB for devices that don’t have kernel drivers.

        • ElectroLisa@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 hours ago

          You’re right, one of the guides I’ve found explicitly mentioned that, and recommended toggling the rules on only when you need it.

          If I’m not mistaken, you can make rules per device ID. Keychron devices show up as a keyboard/mouse and a “Link” device. You could make a passthrough rule just for the Link, thus not granting access to the actual input device.

          Could you elaborate on the OpenRGB thing? I’ve used it a few times but never paid attention to the rules it asks for

    • Azzu@leminal.space
      link
      fedilink
      English
      arrow-up
      19
      ·
      13 hours ago

      If it’s open source, there’s roughly a 100% chance someone will make it work on Linux.

    • Synapse@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      13 hours ago

      They are talking about the firmware that runs on the device. The user front-end to easily configure it is another story. Hopefully it’s going to quickly get support for Linux as they are starting from well established Open-source projects for keyboard firmware (QMK and ZMK). If it works like for keyboards, you will be able to configure your mouse with something like VIA that runs on Chrome/Chromium (and maybe one day Firefox ?) using the WebUSB API.

      I have 2 keychon keyboards, an old one and a newer one with QMK firmware. Both have worked perfectly well for Linux. The QMK one is easy to configure with VIA once the device permissions are sorted out.

      • WhyJiffie@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 hours ago

        that runs on Chrome/Chromium (and maybe one day Firefox ?) using the WebUSB API.

        Please don’t bring webusb to firefox. It’s just a security liability. only use is for tools made out of mistakes. the web should never have direct access to usb devices and the filesystem.