I've been doing some more tests, and: I think I have a Steam Controller-ready setup now. Steam client not running in Big Picture mode, Wayland support (which means HDR support if you want it), Steam Input on.
My test cases were:
- Devil May Cry 4 SE, as before
- notepad, with a gamepad button set to send the "c" key on the keyboard
I built this:
https://github.com/Supreeeme/extest
To do so, I
installed rustup and also did:
Code:
sudo dnf install glibc-devel.i686
Now I have:
Code:
/home/dugan/opt/extest/target/i686-unknown-linux-gnu/release/libextest.so
I copied /usr/share/applications/steam.desktop to ~/.local/share/applications/steam_extest.desktop. I edited its title, and also changed the /usr/bin/steam part of every Exec line to:
Code:
env LD_PRELOAD=/home/dugan/opt/extest/target/i686-unknown-linux-gnu/release/libextest.so /usr/bin/steam -steamos3
Proton was "Proton-CachyOS Latest", installed with ProtonPlus.
The launch options for both of these tests were:
Code:
PROTON_USE_SDL=1 PROTON_ENABLE_WAYLAND=1 %command%
If you want HDR suppport, you add DXVK_HDR=1, but I didn't need that for the two Steam Input tests.
Note that to get both of these tests to succeed, I needed to use both of the "workarounds" to get Steam Input working under Wayland (-steamos3 and PROTON_USE_SDL=1). The ExTest preload is to stop you from being spammed with popups requesting Remote Desktop / Allow Remote Interaction permission.
References: