I really like the 8bitdo pro 2 controller.
It is similar to a PlayStation controller with the thumb sticks at the bottom. The 2 back buttons are a lifesaver as a driver. I don’t need to let go of the thumb sticks to do stuff. The different modes allow you to make the triggers on the top register as buttons. (as a programmer, I love this feature) The best part is that it is only $50.
We have not played at all with adding programmable buttons to the touch screen, though I think some of the other teams using the joystick have successfully done this.
The joystick runs openTX so you can map your buttons however you want, we have used the button mapping specified below this season. So we used joystick buttons 1-19 though you could map more than that. There was a setting we had to change on the controller but it showed up normally as USB HID on the driver station once changing that.
Hope all is well. I am a new driver/coder for my team this year. I am wondering how to implement this controller into WPILib java. I only see options for Xbox, flight-sticks, and PS4 controllers. Thanks!
Hi! You can implement the Zorro controller as a GenericHID in your code.
Triple Helix has done a couple things to make this easier:
We use open-source firmware configuration tools OpenTX / EdgeTX to set up the controller with all the behavior we like. Our most recent EdgeTX backup file
We extend WPILib’s GenericHID and CommandGenericHID classes (ZorroController and CommandZorroController) to make it easier to work with the controller in command-based code