I was trying to get my Sony DualSense controller to work ingame and managed to google my way to a solution (I think).

The controller works fine in Steam fullscreen mode, but refuses to pass the signals on to the game?

I found this, and started following the instructions and everything went well until I came to point 5.

What does it mean to “put ‘X’ into ‘Y’ file”? How do I do this? Which commands do I need to input in my console? is ‘uinput’ a separate file that I missed to download or do I just need to append the text “uinput” to the file somehow?

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    9 days ago

    Yeah, it’s saying to just put the text “uinput” into that file.

    It’s basically just a list of kernel modules to load. You only need one kernel module, which’s name happens to be “uinput”.

    What might confuse you, is that you already had to name that file “uinput.conf”, but that name is actually completely irrelevant. It will just concatenate the contents of all the files in /etc/modules-load.d/, throw out the duplicate lines and then load all those kernel modules.
    The advantage of a separate file like this, is that you can easily template it, if you want to script these setup steps, rather than having to build complex logic to try to check whether the “uinput” line is already in a given configuration file, and only adding it, if it isn’t.

    Here’s some more documentation: https://www.man7.org/linux/man-pages/man5/modules-load.d.5.html