Xbox 360 Controller Right Trigger?

Posted By: Ichiro

Xbox 360 Controller Right Trigger? - 11/08/10 17:32

Hey guys,

I'm looking for a possible variable that reflects the state of the right trigger on an Xbox 360 controller. It doesn't seem to be any of those listed in the manual, but indiGLOW had that working in this thread.

Any help appreciated!

- I
Posted By: JibbSmart

Re: Xbox 360 Controller Right Trigger? - 11/08/10 17:39

My game uses joy_raw.z -- negative values are the left-trigger, and positive values are the right trigger. It means I can't detect if both are pressed at the same time (they cancel out), but my control panel can't detect if they're both pressed at the same time either, so I reckon it's a hardware/driver limitation.

Jibb

EDIT: It may be the other way around with positive/negative -- my code seems to indicate as such.
Posted By: Ichiro

Re: Xbox 360 Controller Right Trigger? - 11/08/10 17:41

AHA! Thanks muchly. laugh
© 2024 lite-C Forums