mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Remove deprecated Joystick constants (#1715)
This commit is contained in:
committed by
Peter Johnson
parent
c08fd6682f
commit
311e2de4c1
@@ -31,17 +31,6 @@ class Joystick : public GenericHID {
|
||||
static constexpr int kDefaultTwistChannel = 2;
|
||||
static constexpr int kDefaultThrottleChannel = 3;
|
||||
|
||||
WPI_DEPRECATED("Use kDefaultXChannel instead.")
|
||||
static constexpr int kDefaultXAxis = 0;
|
||||
WPI_DEPRECATED("Use kDefaultYChannel instead.")
|
||||
static constexpr int kDefaultYAxis = 1;
|
||||
WPI_DEPRECATED("Use kDefaultZChannel instead.")
|
||||
static constexpr int kDefaultZAxis = 2;
|
||||
WPI_DEPRECATED("Use kDefaultTwistChannel instead.")
|
||||
static constexpr int kDefaultTwistAxis = 2;
|
||||
WPI_DEPRECATED("Use kDefaultThrottleChannel instead.")
|
||||
static constexpr int kDefaultThrottleAxis = 3;
|
||||
|
||||
enum AxisType { kXAxis, kYAxis, kZAxis, kTwistAxis, kThrottleAxis };
|
||||
enum ButtonType { kTriggerButton, kTopButton };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user