mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
It was using array indexing to map the return value of DriverStation.getJoystickType() to HIDType when the enum should instead be constructed from the int value. C++ already does this. Fixes #968.