View Single Post
  #2   Spotlight this post!  
Unread 30-01-2012, 22:13
Cecil's Avatar
Cecil Cecil is online now
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Logitech Gamepad

We initialized it just the same as the KOP joysticks. it is read as a 3 axis joystick (if you are using the same one) - axis one (x and y) is the left stick, axis 2 is the right stick, and axis 3 was the L2 and R2 buttons. The buttons should be just like the joysticks too - in LabVIEW, you would unbundle the button data. We just pulled up the Windows joystick configuration to figure out what buttons were which
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote