Fixing detected gamepad in some games

This is just a PSA: some games rely on SDL2 gamepad detection, which won’t detect the DevTerm pad and buttons by default. To get the gamepad detected, add the following line to the .profile file in your home folder:

export SDL_GAMECONTROLLERCONFIG="03000000af1e00002400000010010000,ClockworkPI DevTerm,platform:Linux,a:b2,b:b1,x:b3,y:b0,back:b8,start:b9,leftx:a0,lefty:a1,"

And log out/log back in. This got the gamepad working in RigelEngine for me.

5 Likes