View Single Post
  #2   Spotlight this post!  
Unread 02-04-2012, 09:37
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: logitech f310 d-pad

I think the simplest way to find out what axis and button numbers correspond to the controls on a joystick or gamepad is to hook it up and see what you get. In LabVIEW, it's as easy as creating an indicator on the Axes and Buttons outputs of the Joystick Get vi. In C++, you'll want code to continuously display all the axis and button values.

In my experience, the d-pad typically shows up on joystick axes 5 and 6.
Reply With Quote