mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Finish gamepad face button rename (#8921)
This commit is contained in:
@@ -21,19 +21,19 @@ Trigger CommandGamepad::Button(enum wpi::Gamepad::Button button,
|
||||
}
|
||||
|
||||
Trigger CommandGamepad::FaceDown(wpi::EventLoop* loop) const {
|
||||
return Button(wpi::Gamepad::Button::SOUTH_FACE, loop);
|
||||
return Button(wpi::Gamepad::Button::FACE_DOWN, loop);
|
||||
}
|
||||
|
||||
Trigger CommandGamepad::FaceRight(wpi::EventLoop* loop) const {
|
||||
return Button(wpi::Gamepad::Button::EAST_FACE, loop);
|
||||
return Button(wpi::Gamepad::Button::FACE_RIGHT, loop);
|
||||
}
|
||||
|
||||
Trigger CommandGamepad::FaceLeft(wpi::EventLoop* loop) const {
|
||||
return Button(wpi::Gamepad::Button::WEST_FACE, loop);
|
||||
return Button(wpi::Gamepad::Button::FACE_LEFT, loop);
|
||||
}
|
||||
|
||||
Trigger CommandGamepad::FaceUp(wpi::EventLoop* loop) const {
|
||||
return Button(wpi::Gamepad::Button::NORTH_FACE, loop);
|
||||
return Button(wpi::Gamepad::Button::FACE_UP, loop);
|
||||
}
|
||||
|
||||
Trigger CommandGamepad::Back(wpi::EventLoop* loop) const {
|
||||
|
||||
Reference in New Issue
Block a user