![]() |
Have an XboxJoystick class!
After looking at the other Xbox controller classes I had found I noticed a major problem if you wanted to use them with the CommandBased Robot: You couldn't use the JoystickButton class with them. There were also a few placed I noticed it asking for a GenericHID object as a parameter. Then while you could use the Joystick class and getRawButton/Axis() to get what you need, I wanted the software to keep track of the labels for me.
So here is the class I offer to you. It is only mildly tested so I may have miss-numbered a button or something, but what testing I have done, worked. https://github.com/frc3946/UltimateA...xJoystick.java |
| All times are GMT -5. The time now is 10:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi