mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilibc] Add missing deprecated HID sim methods (#7005)
This commit is contained in:
@@ -87,3 +87,11 @@ void XboxControllerSim::SetLeftStickButton(bool value) {
|
||||
void XboxControllerSim::SetRightStickButton(bool value) {
|
||||
SetRawButton(XboxController::Button::kRightStick, value);
|
||||
}
|
||||
|
||||
void XboxControllerSim::SetLeftBumper(bool value) {
|
||||
SetRawButton(XboxController::Button::kLeftBumper, value);
|
||||
}
|
||||
|
||||
void XboxControllerSim::SetRightBumper(bool value) {
|
||||
SetRawButton(XboxController::Button::kRightBumper, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user