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

Represents an axis on a PS5Controller. More...

#include <frc/PS5Controller.h>

Static Public Attributes

static constexpr int kLeftX = 0
 Left X axis. More...
 
static constexpr int kLeftY = 1
 Left Y axis. More...
 
static constexpr int kRightX = 2
 Right X axis. More...
 
static constexpr int kRightY = 5
 Right Y axis. More...
 
static constexpr int kL2 = 3
 Left Trigger 2. More...
 
static constexpr int kR2 = 4
 Right Trigger 2. More...
 

Detailed Description

Represents an axis on a PS5Controller.

Member Data Documentation

◆ kL2

constexpr int frc::PS5Controller::Axis::kL2 = 3
staticconstexpr

Left Trigger 2.

◆ kLeftX

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

Left X axis.

◆ kLeftY

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

Left Y axis.

◆ kR2

constexpr int frc::PS5Controller::Axis::kR2 = 4
staticconstexpr

Right Trigger 2.

◆ kRightX

constexpr int frc::PS5Controller::Axis::kRightX = 2
staticconstexpr

Right X axis.

◆ kRightY

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

Right Y axis.


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