View Single Post
  #1   Spotlight this post!  
Unread 09-06-2013, 11:11
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: commands activated by trigger, how?

Quote:
Originally Posted by otherguy View Post
I don't think the getTrigger() method does what you are hoping it does.
If you take a look at the javadoc for the Joystick class, then look at the getTrigger() method, you'll see that it doesn't return a boolean value.

The triggers on the logitech (and xbox if I remember correctly) are on axis 3.
The getTrigger method does return a boolean. The trigger on the Logitech Attack 3 Joystick is button 1.

To use the trigger treat it exactly like a button.
Reply With Quote