mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Return 0.0 in this case (as it can be commonly caused by the joystick not being plugged in). Still raise exception (Java) / set error (C++) if the asked-for axis/POV is higher than kMaxJoystickAxes/kMaxJoystickPOVs. See artf3673. Change-Id: I4847c5badb358ed08f01170724ec1446af2e4ab9