Code for a simple Arduino Leonardo based button box for use with FRC Driverstation. The Arduino Leonardo will present itself as a Joystick to the Driver Station. The Joystick has NO Axis and 9 Buttons.
Import the Joystick contained in ArduinoJoystickLibrary-master.zip to your Arduino IDE.
--- Based on instructions and code from Kevin Peat --- See www.kevinpeat.com for more information. --- Copyright Kevin Peat 2014 --- kevin 'at' kevinpeat.com