fabiangreffrath / taradino

SDL2 port of Rise of the Triad
GNU General Public License v2.0
33 stars 8 forks source link

Gamepad Support #82

Open erysdren opened 2 months ago

erysdren commented 2 months ago

There's some kind of stubbed gamepad support in rt_in.c, but it doesn't work in my testing with an Xbox 360 gamepad (connected over USB) on Arch Linux. In fact, the function IN_JoyButtons seems to always return 0, so no button input will ever be recieved for any joysticks or gamepads. It should probably all be replaced with SDL2's GameController API.