View Single Post
  #1   Spotlight this post!  
Unread 13-02-2015, 13:50
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 67
jfitz0807 is an unknown quantity at this point
How to determine controller type

We only have one XBox controller so we have to use another controller type for our practice bot. We want to keep a single code base that will work on both. Is there a good way to query a Joystick to determine what type of controller it is?