Represents a digital button on an Gamepad.
More...
#include <wpi/driverstation/Gamepad.hpp>
|
| static constexpr int | kSouthFace = 0 |
| | South Face button.
|
| static constexpr int | kEastFace = 1 |
| | East Face button.
|
| static constexpr int | kWestFace = 2 |
| | West Face button.
|
| static constexpr int | kNorthFace = 3 |
| | North Face button.
|
| static constexpr int | kBack = 4 |
| | Back button.
|
| static constexpr int | kGuide = 5 |
| | Guide button.
|
| static constexpr int | kStart = 6 |
| | Start button.
|
| static constexpr int | kLeftStick = 7 |
| | Left stick button.
|
| static constexpr int | kRightStick = 8 |
| | Right stick button.
|
| static constexpr int | kLeftBumper = 9 |
| | right bumper button.
|
| static constexpr int | kRightBumper = 10 |
| | right bumper button.
|
| static constexpr int | kDpadUp = 11 |
| | D-pad up button.
|
| static constexpr int | kDpadDown = 12 |
| | D-pad down button.
|
| static constexpr int | kDpadLeft = 13 |
| | D-pad left button.
|
| static constexpr int | kDpadRight = 14 |
| | D-pad right button.
|
| static constexpr int | kMisc1 = 15 |
| | Miscellaneous 1 button.
|
| static constexpr int | kRightPaddle1 = 16 |
| | Right Paddle 1 button.
|
| static constexpr int | kLeftPaddle1 = 17 |
| | Left Paddle 1 button.
|
| static constexpr int | kRightPaddle2 = 18 |
| | Right Paddle 2 button.
|
| static constexpr int | kLeftPaddle2 = 19 |
| | Left Paddle 2 button.
|
| static constexpr int | kTouchpad = 20 |
| | Touchpad button.
|
| static constexpr int | kMisc2 = 21 |
| | Miscellaneous 2 button.
|
| static constexpr int | kMisc3 = 22 |
| | Miscellaneous 3 button.
|
| static constexpr int | kMisc4 = 23 |
| | Miscellaneous 4 button.
|
| static constexpr int | kMisc5 = 24 |
| | Miscellaneous 5 button.
|
| static constexpr int | kMisc6 = 25 |
| | Miscellaneous 6 button.
|
Represents a digital button on an Gamepad.
◆ kBack
| int wpi::Gamepad::Button::kBack = 4 |
|
staticconstexpr |
◆ kDpadDown
| int wpi::Gamepad::Button::kDpadDown = 12 |
|
staticconstexpr |
◆ kDpadLeft
| int wpi::Gamepad::Button::kDpadLeft = 13 |
|
staticconstexpr |
◆ kDpadRight
| int wpi::Gamepad::Button::kDpadRight = 14 |
|
staticconstexpr |
◆ kDpadUp
| int wpi::Gamepad::Button::kDpadUp = 11 |
|
staticconstexpr |
◆ kEastFace
| int wpi::Gamepad::Button::kEastFace = 1 |
|
staticconstexpr |
◆ kGuide
| int wpi::Gamepad::Button::kGuide = 5 |
|
staticconstexpr |
◆ kLeftBumper
| int wpi::Gamepad::Button::kLeftBumper = 9 |
|
staticconstexpr |
◆ kLeftPaddle1
| int wpi::Gamepad::Button::kLeftPaddle1 = 17 |
|
staticconstexpr |
◆ kLeftPaddle2
| int wpi::Gamepad::Button::kLeftPaddle2 = 19 |
|
staticconstexpr |
◆ kLeftStick
| int wpi::Gamepad::Button::kLeftStick = 7 |
|
staticconstexpr |
◆ kMisc1
| int wpi::Gamepad::Button::kMisc1 = 15 |
|
staticconstexpr |
◆ kMisc2
| int wpi::Gamepad::Button::kMisc2 = 21 |
|
staticconstexpr |
◆ kMisc3
| int wpi::Gamepad::Button::kMisc3 = 22 |
|
staticconstexpr |
◆ kMisc4
| int wpi::Gamepad::Button::kMisc4 = 23 |
|
staticconstexpr |
◆ kMisc5
| int wpi::Gamepad::Button::kMisc5 = 24 |
|
staticconstexpr |
◆ kMisc6
| int wpi::Gamepad::Button::kMisc6 = 25 |
|
staticconstexpr |
◆ kNorthFace
| int wpi::Gamepad::Button::kNorthFace = 3 |
|
staticconstexpr |
◆ kRightBumper
| int wpi::Gamepad::Button::kRightBumper = 10 |
|
staticconstexpr |
◆ kRightPaddle1
| int wpi::Gamepad::Button::kRightPaddle1 = 16 |
|
staticconstexpr |
◆ kRightPaddle2
| int wpi::Gamepad::Button::kRightPaddle2 = 18 |
|
staticconstexpr |
◆ kRightStick
| int wpi::Gamepad::Button::kRightStick = 8 |
|
staticconstexpr |
◆ kSouthFace
| int wpi::Gamepad::Button::kSouthFace = 0 |
|
staticconstexpr |
◆ kStart
| int wpi::Gamepad::Button::kStart = 6 |
|
staticconstexpr |
◆ kTouchpad
| int wpi::Gamepad::Button::kTouchpad = 20 |
|
staticconstexpr |
◆ kWestFace
| int wpi::Gamepad::Button::kWestFace = 2 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: