View Single Post
  #2   Spotlight this post!  
Unread 16-01-2012, 11:43
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Connecting xBox 360 Controller to the Robot

it is just a joystick, so you would open it the same way. here are the different axis and buttons for this:
1: A
2: B
3: X
4: Y
5: Left Bumper
6: Right Bumper
7: Back
8: Start
9: Left Joystick
10: Right Joystick

The axis on the controller follow this mapping
(all output is between -1 and 1)•1: Left Stick X Axis
-Left:Negative ; Right: Positive
•2: Left Stick Y Axis
-Up: Negative ; Down: Positive
•3: Triggers
-Left: Positive ; Right: Negative
•4: Right Stick X Axis
-Left: Negative ; Right: Positive
•5: Right Stick Y Axis
-Up: Negative ; Down: Positive
•6: Directional Pad (Not recommended, buggy)
Reply With Quote