|
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
|