![]() |
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?
|
Re: How to determine controller type
Quote:
|
Re: How to determine controller type
Can you use the Get___Count() methods on the Joystick to distinguish between the two at runtime?
|
Re: How to determine controller type
The x-box controller is part of the Driver's Station as does not have to be bagged.
We use the same DS and Controller for both practice and production bot. |
| All times are GMT -5. The time now is 01:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi