View Single Post
  #6   Spotlight this post!  
Unread 08-03-2016, 21:14
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Avoiding USB Joystick confusion

Those that have serial numbers are very rare.

The port the joystick is plugged into is often involved in the identification, so consistency in where they are plugged will help.

Also, DirectInput and XInput are both used for joysticks since XInput only does Xbox controllers and it does them better than DirectInput does. Anyway, they do not enumerate the same way. If you are consistent with how and where you plug them, the enumeration should be consistent.

Greg McKaskle
Reply With Quote