zturtleman / spearmint

Spearmint — an updated id Tech 3 engine for continuing the classics and creating new games.
https://clover.moe/spearmint
GNU General Public License v3.0
235 stars 27 forks source link

Xbox 360 gamepad not recognized #293

Open aorin1 opened 5 years ago

aorin1 commented 5 years ago

A Xbox 360 gamepad works with everything, except for Spearmint, opening the console and entering in_joystickDebug 1 returns "Joystick for Player 1 not initiated".

zturtleman commented 5 years ago

I'm not able to test Spearmint right now to check if I broke game controllers. What operating system do you use?

Connect the controller before starting Spearmint. You should be able to select it in the Setup -> Controls -> Player 1 -> Joy -> Select Joystick menu. Though I haven't ever tested an Xbox 360 controller. After selecting the controller you need to set up the controls (jump, forward, etc).

If the controller isn't listed in the select joystick menu it's probably an issue in Spearmint or SDL 2.0.8. You could try Spearmint 0.6 which uses SDL 2.0.4.