The 2 triggers of xbox controller are in only one axe. No problem, but how can i know id trigger 1 and trigger 2 are pressed in the same time? The value is 0, as when i don't press anything.
Asked
Active
Viewed 833 times
0
-
Are you using Legacy LWJGL or LWJGL 3? – Aug 21 '15 at 22:47
-
possible duplicate of [Reading controller triggers individually with LWJGL](http://stackoverflow.com/questions/24222795/reading-controller-triggers-individually-with-lwjgl) – javac Aug 22 '15 at 07:29
1 Answers
0
This answer: Reading controller triggers individually with LWJGL suggests using XInput library to get individual inputs for each trigger then you could check those instead of both at once. I found a java binding at https://github.com/StrikerX3/JXInput.