View Single Post
  #4   Spotlight this post!  
Unread 27-01-2015, 10:54
DCRich DCRich is offline
Mentor
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2006
Location: Steinert H.S., Hamilton NJ
Posts: 21
DCRich is an unknown quantity at this point
Re: Javadocs for F310 Gamepad

You treat it just like a joystick, but use the getRawAxis(int axis) method to access each axis.


So all of the methods for direction and magnitude will not work or have no equivalent?

Which controller is axis 1 and which is axis 4? How is X mapped to an axis and how is Y mapped to axis. There are all kinds of buttons on the gamepad, colored, non-colored, triggers, settings, etc. How are these mapped to the joystick? The older Attack joystick has numbers on the buttons and those numbers correspond Javadoc for Joystick.

One would have expected that the Javadoc for the gamepad should include similar details about the mapping and use.
Reply With Quote