0

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.

Zombo
  • 1
  • 62
  • 391
  • 407
pianka
  • 140
  • 1
  • 2
  • 14
  • 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 Answers1

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.

Community
  • 1
  • 1
William
  • 106
  • 3