for anyone looking to read steam's controller info
cat $HOME/.steam/steam/config/config.vdf|grep -i platform:Linux
reports the controller configs in SDL2
"SDL_GamepadBind" "steam's sdl controller info here"
compare this to what your official system SDL2 reports
echo $SDL_GAMECONTROLLERCONFIG
this can be set in ~/.profile
as export SDL_GAMECONTROLLERCONFIG="your,config,here"
use SDL's own tool for verifying and configuring your controller
install libsdl2-dev
(your distro repo should have this)
then navigate to the folder to run controllermap
cd /usr/lib/x86_64-linux-gnu/installed-tests/SDL
or run directly
exec /usr/lib/x86_64-linux-gnu/installed-tests/SDL2/controllermap
(arm folder: /usr/lib/arm-linux-gnueabihf/installed-tests/SDL2
)
use this tool to input the buttons requested and it will output the SDL_GAMECONTROLLERCONFIG
Files
SDL_controller
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||