360 controller trigger axis

I’m trying to use an xbox 360 controller, and I need both analog triggers to work.

Game Control Plus puts both of the triggers onto the same axis, in opposite directions. So pulling both analog triggers all the way in, reads a 0, the same as if neither were pressed. Pulling the right one in halfway, and the left one in a quarter of the way, is the same as pulling the right one in a quarter of the way. Obviously this is useless for trying to use the triggers as gas and brake for a car game.

I’ve read this is an unavoidable consequence of using DirectInput instead of the newer XInput controller input system.

There are hacked custom 360 controller drivers I could use, but I don’t want to require everyone who plays my game to install and configure custom controller drivers. Should I try to implement some generic java game pad library into processing instead?

1 Like