10 #include "ErrorBase.h"
11 #include "GamepadBase.h"
34 double GetX(JoystickHand hand)
const override;
35 double GetY(JoystickHand hand)
const override;
37 bool GetBumper(JoystickHand hand)
const override;
bool GetStartButton() const
Read the value of the start button on the controller.
Definition: XboxController.cpp:141
bool GetBButton() const
Read the value of the B button on the controller.
Definition: XboxController.cpp:109
Handle input from Xbox 360 or Xbox One controllers connected to the Driver Station.
Definition: XboxController.h:26
double GetX(JoystickHand hand) const override
Get the X axis value of the controller.
Definition: XboxController.cpp:34
virtual double GetTriggerAxis(JoystickHand hand) const
Get the trigger axis value of the controller.
Definition: XboxController.cpp:87
bool GetYButton() const
Read the value of the Y button on the controller.
Definition: XboxController.cpp:125
Provide access to the network communication data to / from the Driver Station.
Definition: DriverStation.h:28
XboxController(int port)
Construct an instance of an Xbox controller.
Definition: XboxController.cpp:23
double GetY(JoystickHand hand) const override
Get the Y axis value of the controller.
Definition: XboxController.cpp:47
bool GetXButton() const
Read the value of the X button on the controller.
Definition: XboxController.cpp:117
bool GetStickButton(JoystickHand hand) const override
Read the value of the stick button on the controller.
Definition: XboxController.cpp:74
bool GetBackButton() const
Read the value of the back button on the controller.
Definition: XboxController.cpp:133
Base class for most objects.
Definition: ErrorBase.h:72
bool GetBumper(JoystickHand hand) const override
Read the value of the bumper button on the controller.
Definition: XboxController.cpp:60
bool GetAButton() const
Read the value of the A button on the controller.
Definition: XboxController.cpp:101
Gamepad Interface.
Definition: GamepadBase.h:17