mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +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.