View Single Post
  #3   Spotlight this post!  
Unread 29-01-2012, 17:20
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: How would we program in a Logitech gamepad controller into LabVIEW?

The Logitech F310 has the following axis mapping on a single USB port: (this is exactly the same as the Xbox 360 gamepad, for reference)

Axis 1 - Left X
Axis 2 - Left Y
Axis 3 - Sum of L2 and R2 triggers - One is positive, the other is negative, both or none is 0
Axis 4 - Right X
Axis 5 - Right Y
Axis 6 - D-Pad Horizontal - One direction is +1, the other -1. You can't read the vertical axis

Please note that mgurgol is not correct entirely, axis 4 is NOT right Y on the F310 (it is on the DualAction).
__________________
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