• Sidyctism2@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    Kinda off topic, but since a lot of people are talking about gaming on linux: can you get DS4Windows to run on linux? Being able to utilise the touchpad of my DS5 controller as a mouse was a game-changer for me, and i dont want to give that up if I dont have to when i do the full switch to linux

    • mox@lemmy.sdf.orgOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      2 months ago

      DualShock 4 and DualSense controllers have official drivers built-in to the linux kernel, including support for the touchpad and motion controls. You probably don’t need something like DS4Windows.

      !linux_gaming@lemmy.world

      • tuckerm@supermeter.social
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        And if you do run into any problems, the Steam overlay should solve any compatibility problems, if you’re OK with launching your games through Steam. I end up doing that with all of my games (including the ones I didn’t buy on Steam) since I think its controller mapping UI is the best.

      • ipkpjersi@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Weirdly enough, I could never get my DS4/PS4 controller working on Linux, at least through Bluetooth. The device never shows up in the device list. My Xbox Series X and Xbox One X controllers work perfectly with Bluetooth thanks to xpadneo, and I can use my DS4/PS4 controller wired with or without ds4drv, but I just can’t get it to work wirelessly.

        • mox@lemmy.sdf.orgOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          That is strange. It works great for me. All I had to do was pair it.

          I have read that some computers have bluetooth modules that don’t play well with it, though. Maybe you have one of those, or an old kernel?

          • ipkpjersi@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            I’m on Ubuntu 22.04, kernel 6.5.0-41-generic so it shouldn’t be that. Maybe my Bluetooth adapter isn’t that great but it’s a TP-Link UB400 so it’s not exactly a low quality Bluetooth adapter either.

            • mox@lemmy.sdf.orgOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              2 months ago

              I think that kernel version should handle it, as long as the hid-sony or hid-playstation module is being loaded. (Some 6.7 and early 6.8 kernels had a relevant bug, though.)

              It’s hard to say regarding the bluetooth adapter. The branding and price don’t matter; my cheap old no-name dongle worked great. It’s really about whether the parts used inside happen to play well with the other device.

              Another thought: Is it possible you have the old version of the DS4, rather than the DS4 v2? If I remember correctly, the light bar is visible through the touchpad only on the v2.

              • ipkpjersi@lemmy.ml
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 months ago

                I actually have two PS4 controllers, one older one and one with the light bar. Both of them are unable to connect via Bluetooth.

                I don’t have hid_sony or hid_playstation loaded, I tried manually loading them and I think that works but: https://i.imgur.com/VHbtW5l.png even though they show as loaded, I still experience the same problem: https://i.imgur.com/Z42WtKr.png I only have a bunch of unnamed devices when searching for new devices to connect to/pair with, and I can’t pair with any of them. My headphones and Xbox Series X controller work perfectly.

                • mox@lemmy.sdf.orgOP
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 months ago

                  Do you know why both hid_sony and hid_playstation are loaded? Only one is needed. The latter replaces the former, IIRC.

                  It loads automatically on my system once I power up the (already paired) DS4. You did pair yours with your computer, right?

                  I also wonder if any of the device names in your bluetooth list would be more friendly if you installed the steam-devices package.

                  • ipkpjersi@lemmy.ml
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    edit-2
                    2 months ago

                    They are both loaded because I tried manually loading just one, and then it didn’t help, so then I tried the other.

                    I can’t pair mine with my computer, it doesn’t even show up in the device list. The modules do not show up unless I manually load them.

                    I already have steam-devices installed.

                    I really don’t feel like I am doing anything wrong, but maybe I am.

                    Keep in mind it works just fine wired, so yeah maybe the Bluetooth adapter I have is just not compatible with the PS4 controller.