156 [[deprecated(
"Use SetLeftBumperButton instead")]]
167 [[deprecated(
"Use SetRightBumperButton instead")]]
Handle input from Xbox controllers connected to the Driver Station.
Definition XboxController.h:30
Class to control a simulated generic joystick.
Definition GenericHIDSim.h:20
Class to control a simulated Xbox controller.
Definition XboxControllerSim.h:20
XboxControllerSim(int port)
Constructs from a joystick port number.
void SetRightBumper(bool value)
Change the right bumper value of the joystick.
void SetXButton(bool value)
Change the value of the X button on the controller.
void SetLeftStickButton(bool value)
Change the value of the left stick button on the controller.
void SetLeftTriggerAxis(double value)
Change the value of the left trigger axis on the controller.
void SetBButton(bool value)
Change the value of the B button on the controller.
void SetBackButton(bool value)
Change the value of the back button on the controller.
void SetLeftBumper(bool value)
Change the left bumper value of the joystick.
void SetRightY(double value)
Change the right Y value of the controller's joystick.
void SetLeftBumperButton(bool value)
Change the value of the left bumper button on the controller.
void SetRightTriggerAxis(double value)
Change the value of the right trigger axis on the controller.
void SetRightStickButton(bool value)
Change the value of the right stick button on the controller.
void SetLeftX(double value)
Change the left X value of the controller's joystick.
void SetLeftY(double value)
Change the left Y value of the controller's joystick.
void SetStartButton(bool value)
Change the value of the start button on the controller.
XboxControllerSim(const XboxController &joystick)
Constructs from a XboxController object.
void SetRightX(double value)
Change the right X value of the controller's joystick.
void SetRightBumperButton(bool value)
Change the value of the right bumper button on the controller.
void SetYButton(bool value)
Change the value of the Y button on the controller.
void SetAButton(bool value)
Change the value of the A button on the controller.