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

Represents an axis on an XboxController. More...

#include <frc/XboxController.h>

Static Public Attributes

static constexpr int kLeftX = 0
 Left X. More...
 
static constexpr int kRightX = 4
 Right X. More...
 
static constexpr int kLeftY = 1
 Left Y. More...
 
static constexpr int kRightY = 5
 Right Y. More...
 
static constexpr int kLeftTrigger = 2
 Left trigger. More...
 
static constexpr int kRightTrigger = 3
 Right trigger. More...
 

Detailed Description

Represents an axis on an XboxController.

Member Data Documentation

◆ kLeftTrigger

constexpr int frc::XboxController::Axis::kLeftTrigger = 2
staticconstexpr

Left trigger.

◆ kLeftX

constexpr int frc::XboxController::Axis::kLeftX = 0
staticconstexpr

Left X.

◆ kLeftY

constexpr int frc::XboxController::Axis::kLeftY = 1
staticconstexpr

Left Y.

◆ kRightTrigger

constexpr int frc::XboxController::Axis::kRightTrigger = 3
staticconstexpr

Right trigger.

◆ kRightX

constexpr int frc::XboxController::Axis::kRightX = 4
staticconstexpr

Right X.

◆ kRightY

constexpr int frc::XboxController::Axis::kRightY = 5
staticconstexpr

Right Y.


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