I’m trying to setup the Xbox 360 controller (which works perfectly fine for software that supports it) for use with my GLFW application. The buttons work fine but the triggers/sticks don’t.
GLFW tells me I have 5 joysticks, the first and last two appear to the be the sticks’ axis. The first problem is, for some reason, whenever I press anything else on the controller, be it a button, trigger, or the other joystick, the values of the axis slightly adjust on all 5 values. It so far hasn’t appeared to be a significant problem, but still annoying.
The second problem is the triggers. According to GLFW, I the middle (3’rd) “stick” is the triggers. Both of them effect the same value. If I press one, the number goes positive, if I press another, it goes negative, if I press both I get a strange value around -1.5. This makes the triggers unusable for me.
Does anybody else have problems like these?