Go to Post Hehe, now I know how it feels to be mocked by legends. - Corey Balint [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-17-2011, 07:33 PM
MemberTeam2029 MemberTeam2029 is offline
Registered User
FRC #2029
 
Join Date: Feb 2011
Location: Ramona, California
Posts: 2
MemberTeam2029 is an unknown quantity at this point
Question on Logitech Rumblepad and Java Class Joystick's getRawAxis(3) Interoper.

In an object of java DefaultRobot class,the right joystick (getRawAxis(3)) does not respond to being pushed right but does respond to a left push. However, the java object's method returns values for up and down (getRawAxis(4)). Also, the java object's method (getrawAxis(1),getRawAxis(2)) returns values in response to all four directions of the left joystick on the Rumblepad 2.

I've included three screenshots. The first two show that the Logitech Rumblepad 2's right stick fully responds (Z Axis and Z Rotation) in the controller test GUI found under the Windows Vista Contol Panel. The third shows that it doesn't respond in the java program (left column: getRawAxis(3), right column: getRawAxis(4)).

In the third screenshot, 0 is the rest position and left outputs -1 but right still outputs 0. Is there a known interoperability problem with the java joystick class and the Logitech rumblepad 2?
Attached Thumbnails
Click image for larger version

Name:	controlPanel.jpg
Views:	89
Size:	29.6 KB
ID:	10178  Click image for larger version

Name:	controlPanel2.jpg
Views:	44
Size:	28.7 KB
ID:	10179  Click image for larger version

Name:	javaOutput.jpg
Views:	57
Size:	46.4 KB
ID:	10180  
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 08:43 AM.

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