View Single Post
  #6   Spotlight this post!  
Unread 28-01-2014, 09:21
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Programming With an XBOX Controller

Quote:
Originally Posted by omsahmad View Post
I have no familiarity with LabVIEW, but here are the button id's.

Code:
/** XBOX Controller Notes

* Buttons:
	* A=1 
	* B=2 
	* X=3 
	* Y=4 
	* LB=5 
	* RB=6 
	* Back=7 
	* Start=8 
	* LeftAnalog=9
	* RightAnalog=10 

* Axis:
	* LeftX=1
	* LeftY=2
	* RightX=4
	* RightY=5
	* Trigger=3 (Left moves -, Right moves +)
 */
D-Pad X is on axis 6 also.

Previously, LeftAnalog and RightAnalog were only on Trigger (not Digitals). Has this changed?
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote