mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilib,cmd] Rename gamepad shoulder to bumper (#8573)
Both programs used bumper, so we shouldn't rename it. There's no reason to change it, and we don't need to match SDL.
This commit is contained in:
@@ -81,12 +81,12 @@ void GamepadSim::SetRightStickButton(bool value) {
|
||||
SetRawButton(Gamepad::Button::kRightStick, value);
|
||||
}
|
||||
|
||||
void GamepadSim::SetLeftShoulderButton(bool value) {
|
||||
SetRawButton(Gamepad::Button::kLeftShoulder, value);
|
||||
void GamepadSim::SetLeftBumperButton(bool value) {
|
||||
SetRawButton(Gamepad::Button::kLeftBumper, value);
|
||||
}
|
||||
|
||||
void GamepadSim::SetRightShoulderButton(bool value) {
|
||||
SetRawButton(Gamepad::Button::kRightShoulder, value);
|
||||
void GamepadSim::SetRightBumperButton(bool value) {
|
||||
SetRawButton(Gamepad::Button::kRightBumper, value);
|
||||
}
|
||||
|
||||
void GamepadSim::SetDpadUpButton(bool value) {
|
||||
|
||||
Reference in New Issue
Block a user