360 joystick problem
Posted: Fri Sep 26, 2008 7:28 am
So I was messing around with the new joystick support, and I've got all the buttons and axis mapped out for my wireless 360 controller, but I notice that it's set up so that the triggers are on the 3rd axis.
Currently, the way it's set up, if you pull the right trigger, the 3rd axis goes from 0 to -1. If you pull the left trigger, the 3rd axis goes from 0 to 1. The problem is, that if you pull both triggers at once, the axis stays at 0, since the 1 and -1 cancel each other out. Because of this, there's no way that I can see to differentiate between the two triggers when they're both being used at the same time.
From what I've seen of other joystick input stuff, the triggers are set to seperate axis, so I'm wondering if you guys could fix that for the next release?
Also, it'd be neat if you could get the rumble packs to be triggerable as well. I haven't seen that as much on PC, though, so perhaps it'd be harder to get working.
Also, also, here's a neat little program I made in löve as an example for the joystick support:
Currently, the way it's set up, if you pull the right trigger, the 3rd axis goes from 0 to -1. If you pull the left trigger, the 3rd axis goes from 0 to 1. The problem is, that if you pull both triggers at once, the axis stays at 0, since the 1 and -1 cancel each other out. Because of this, there's no way that I can see to differentiate between the two triggers when they're both being used at the same time.
From what I've seen of other joystick input stuff, the triggers are set to seperate axis, so I'm wondering if you guys could fix that for the next release?
Also, it'd be neat if you could get the rumble packs to be triggerable as well. I haven't seen that as much on PC, though, so perhaps it'd be harder to get working.
Also, also, here's a neat little program I made in löve as an example for the joystick support: