Go to Post My contention is that there is not a whit of difference between noting that a change like that has to be made, and making the change. - Kris Verdeyen [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi