Not new to Linux but just build a PC (Linux mint) so new to Linux gaming. How do I get a similar function to my PS5 so plugging headphones into the controller switches the audio? I play a lot at night and not trying to wake the fam. I have a Xbox one and PS4 controller for the PC.

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    2 days ago

    If the controller is recognized as a USB/Bluetooth audio device, you can probably see it and select it as default output device in the “Output Devices” tab of pavumixer (or whatever other sound device control program/Pulseaudio mixer you might choose to use with your particular environment).

  • Pleat1752@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    IIRC this works when the controller is plugged into the computer over USB. Bluetooth does not allow this.

  • TabbsTheBat@pawb.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    I have a ps4 controller and just plugging my headphones into the controller seems to route audio to it fine on pop!_os… I’d assume mint would be similar since they’re both based on ubuntu, but I’ve not tried

    • DarkPassenger@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      I thought about using pop! How do you like it? My home and work laptops run arch but I wanted something more stable for this.

      • TabbsTheBat@pawb.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        I’ve been quite enjoying it :3… I tried out a few distros when I first started linux, but with tiling and the pop launcher pop!_os fit my workflow the best out of the box, plus I’ve only had like 1 major issue with it, so… it’s been pretty stable too ^^ (more stable than windows for me haha)

        Definitely excited for their upcoming release too, since it’ll be coming with COSMIC :3

  • Grass@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    if its anything like the ds4 even if you get it to work, it will only work when you dont want it to, lag a full second behind the game, and sound like a speaker pulled from an early 90s childrens toy.

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Unless the game actually works for it, you can’t.

    Most games require the DualSense to be physically plugged in to use the triggers, gyro, touchpad, speaker and mic. And even among those, many do not utilize the speaker or the mic at all.

    This also means you won’t get audio passed through when plugging a headset into the controller. Though, I don’t know if that functions in any game for PC (I’ve never thought to try that personally) regardless.

    • octobob@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Not sure how true this is only because I think it can vary wildly.

      I have more problems telling Linux to not play audio through my dualsense controller. It’ll just default to using it for the most random things, like my music player or gamecube emulator or whatever. I don’t plug headphones into it, I have a DAC, so not sure if it’s playing there and just needs a headset plugged in it or what. But I think that’s OP’s goal.

      Kinda wild all things considered since my controller is plugged in via USB cable

      • tal@lemmy.today
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 days ago

        I have more problems telling Linux to not play audio through my dualsense controller

        Open pavucontrol, go to the “Configuration” tab, and for that device profile, choose “Off”.

        You could also just select something else as default device in the “Output Devices” tab, but disabling the device will keep it entirely off the list of options, if you don’t want it used.

        I tend to do that with the HDMI outputs on my video cards as these days video cards can stream audio to televisions via HDMI and the like, and I never want to actually use my monitor as an audio output device; I have dedicated, discrete speakers.

    • who@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Most games require the DualSense to be physically plugged in to use the triggers, gyro, touchpad,

      Most games? Not in my experience. Perhaps that’s because I mostly play on Steam (which has Steam Input to map those things as I like) and console emulators.

      • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 days ago

        And you won’t be using the adaptive triggers, the speaker in the controller, the mic in the controller, etc using Steam Input to emulate an Xbox controller. You can map the inputs; it doesn’t give you 100% full functionality.

        • who@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 days ago

          Indeed, but I didn’t comment on audio, and you didn’t specify the other bits in your original comment. Triggers (without Sony’s proprietary variable resistance), gyro, and touchpad all work fine over bluetooth.

          • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            2 days ago

            Fair; I know I didn’t put adaptive in there, but that is what I meant when I said the triggers don’t work. And how do you get the touchpad to work? I can get the buttons on it to work, but I haven’t gotten the mouse-like touch input to actually work, despite being able to map it. I’d love to be able to control the desktop with it instead of the sticks.

            • who@feddit.org
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              2 days ago

              I know I didn’t put adaptive in there, but that is what I meant when I said the triggers don’t work.

              Yes, I understood, but I wanted to clarify for the sake of other readers who wouldn’t. Most people who don’t have a DualSense don’t know about its adaptive triggers, since they’re not a common feature on game controllers and not used by most games.

              And how do you get the touchpad to work? I can get the buttons on it to work, but I haven’t gotten the mouse-like touch input to actually work, despite being able to map it.

              On the desktop, I didn’t have to do a thing. It was automatically recognized when I connected the device, and I could move the mouse pointer and click right away. (I ended up disabling it in Xfce, because it sometimes got in my way.)

              In Steam, I usually remap areas of it to produce keyboard events (useful in Elite Dangerous), but I think it can also be mapped as a mouse. I haven’t fiddled with Steam Input’s many options in a while.