WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::NiDsXboxController::Button Struct Reference

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

#include <wpi/driverstation/NiDsXboxController.hpp>

Static Public Attributes

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

Detailed Description

Represents a digital button on an NiDsXboxController.

Member Data Documentation

◆ kA

int wpi::NiDsXboxController::Button::kA = 0
staticconstexpr

A button.

◆ kB

int wpi::NiDsXboxController::Button::kB = 1
staticconstexpr

B button.

◆ kBack

int wpi::NiDsXboxController::Button::kBack = 6
staticconstexpr

Back button.

◆ kLeftBumper

int wpi::NiDsXboxController::Button::kLeftBumper = 4
staticconstexpr

Left bumper button.

◆ kLeftStick

int wpi::NiDsXboxController::Button::kLeftStick = 8
staticconstexpr

Left stick button.

◆ kRightBumper

int wpi::NiDsXboxController::Button::kRightBumper = 5
staticconstexpr

Right bumper button.

◆ kRightStick

int wpi::NiDsXboxController::Button::kRightStick = 9
staticconstexpr

Right stick button.

◆ kStart

int wpi::NiDsXboxController::Button::kStart = 7
staticconstexpr

Start button.

◆ kX

int wpi::NiDsXboxController::Button::kX = 2
staticconstexpr

X button.

◆ kY

int wpi::NiDsXboxController::Button::kY = 3
staticconstexpr

Y button.


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