WPILibC++ 2024.3.2
frc::XboxController::Button Struct Reference

Represents a digital button on an XboxController. More...

#include <frc/XboxController.h>

Static Public Attributes

static constexpr int kLeftBumper = 5
 Left bumper. More...
 
static constexpr int kRightBumper = 6
 Right bumper. More...
 
static constexpr int kLeftStick = 9
 Left stick. More...
 
static constexpr int kRightStick = 10
 Right stick. More...
 
static constexpr int kA = 1
 A. More...
 
static constexpr int kB = 2
 B. More...
 
static constexpr int kX = 3
 X. More...
 
static constexpr int kY = 4
 Y. More...
 
static constexpr int kBack = 7
 Back. More...
 
static constexpr int kStart = 8
 Start. More...
 

Detailed Description

Represents a digital button on an XboxController.

Member Data Documentation

◆ kA

constexpr int frc::XboxController::Button::kA = 1
staticconstexpr

A.

◆ kB

constexpr int frc::XboxController::Button::kB = 2
staticconstexpr

B.

◆ kBack

constexpr int frc::XboxController::Button::kBack = 7
staticconstexpr

Back.

◆ kLeftBumper

constexpr int frc::XboxController::Button::kLeftBumper = 5
staticconstexpr

Left bumper.

◆ kLeftStick

constexpr int frc::XboxController::Button::kLeftStick = 9
staticconstexpr

Left stick.

◆ kRightBumper

constexpr int frc::XboxController::Button::kRightBumper = 6
staticconstexpr

Right bumper.

◆ kRightStick

constexpr int frc::XboxController::Button::kRightStick = 10
staticconstexpr

Right stick.

◆ kStart

constexpr int frc::XboxController::Button::kStart = 8
staticconstexpr

Start.

◆ kX

constexpr int frc::XboxController::Button::kX = 3
staticconstexpr

X.

◆ kY

constexpr int frc::XboxController::Button::kY = 4
staticconstexpr

Y.


The documentation for this struct was generated from the following file: