Handle input from Xbox 360 or Xbox One controllers connected to the Driver Station.
Definition: XboxController.h:20
Class to control a simulated generic joystick.
Definition: GenericHIDSim.h:20
Class to control a simulated Xbox 360 or Xbox One controller.
Definition: XboxControllerSim.h:18
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.
void SetLeftStickButton(bool value)
Change the left button value of the joystick.
void SetLeftTriggerAxis(double value)
Change the left trigger axis value of the joystick.
void SetBButton(bool value)
Change the value of the B button.
void SetBackButton(bool value)
Change the value of the Back button.
void SetLeftBumper(bool value)
Change the left bumper value of the joystick.
void SetRightY(double value)
Change the Y axis value of the controller's right stick.
void SetRightTriggerAxis(double value)
Change the right trigger axis value of the joystick.
void SetRightStickButton(bool value)
Change the right button value of the joystick.
void SetLeftX(double value)
Change the X axis value of the controller's left stick.
void SetLeftY(double value)
Change the Y axis value of the controller's left stick.
void SetStartButton(bool value)
Change the value of the Start button.
XboxControllerSim(const XboxController &joystick)
Constructs from a XboxController object.
void SetRightX(double value)
Change the X axis value of the controller's right stick.
void SetYButton(bool value)
Change the value of the Y button.
void SetAButton(bool value)
Change the value of the A button.
Definition: AprilTagPoseEstimator.h:15