Adds the ability to read and publish joystick data from the driver station. Note that this does not yet fully close issue #51, since POV hats are not robustly supported. There are also missing features such as autodetecting changes to the number of joysticks (ie. detecting when a joystick is plugged in or unplugged) and there are edge cases where behaviour is not fully implemented (ie. when more than 6 joysticks are connected to the computer).
That said, this PR supports joysticks well enough that I think it's worth merging in.
Pull Request
Adds the ability to read and publish joystick data from the driver station. Note that this does not yet fully close issue #51, since POV hats are not robustly supported. There are also missing features such as autodetecting changes to the number of joysticks (ie. detecting when a joystick is plugged in or unplugged) and there are edge cases where behaviour is not fully implemented (ie. when more than 6 joysticks are connected to the computer).
That said, this PR supports joysticks well enough that I think it's worth merging in.
Contribution Checklist
Change Checklist