mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +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:
@@ -170,21 +170,21 @@ public class GamepadSim extends GenericHIDSim {
|
||||
}
|
||||
|
||||
/**
|
||||
* Change the value of the right shoulder button on the controller.
|
||||
* Change the value of the right bumper button on the controller.
|
||||
*
|
||||
* @param value the new value
|
||||
*/
|
||||
public void setLeftShoulderButton(boolean value) {
|
||||
setRawButton(Gamepad.Button.kLeftShoulder.value, value);
|
||||
public void setLeftBumperButton(boolean value) {
|
||||
setRawButton(Gamepad.Button.kLeftBumper.value, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Change the value of the right shoulder button on the controller.
|
||||
* Change the value of the right bumper button on the controller.
|
||||
*
|
||||
* @param value the new value
|
||||
*/
|
||||
public void setRightShoulderButton(boolean value) {
|
||||
setRawButton(Gamepad.Button.kRightShoulder.value, value);
|
||||
public void setRightBumperButton(boolean value) {
|
||||
setRawButton(Gamepad.Button.kRightBumper.value, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user