View Single Post
  #2   Spotlight this post!  
Unread 25-01-2014, 13:34
PikaDotus's Avatar
PikaDotus PikaDotus is offline
CEO
FRC #3501
Team Role: Leadership
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Sunnyvale, CA
Posts: 9
PikaDotus is an unknown quantity at this point
Re: Logitech extreme 3d pro

On this joystick, the x-axis (left-right) is axis 1; the y-axis (up-down) is axis 2; the z-axis (twist) is axis 3; the throttle (on the bottom of the base of the stick) is axis 4.

To access these axes in Java:

Code:
Joystick joystick = new Joystick(1);
joystick.getRawAxis(4);
// etc.
You can also use the joystick methods that don't use the raw axes, however I like using the raw ones.
__________________
Technical debt is investing in the present using the future as collateral.

Last edited by PikaDotus : 25-01-2014 at 13:36.
Reply With Quote