VEXcode IQ C++ Unofficial documentation for version 3.0.4.1
Loading...
Searching...
No Matches
vex::controller Class Reference

Classes

class  axis
 Use the axis class to get values from one of the controller's joysticks. More...
 
class  button
 Use the button class to get values from the controller's buttons. More...
 

Public Member Functions

 controller ()
 Creates a new controller object.
 

Public Attributes

const button ButtonEUp = button( tButtonType::kButtonEUp , this )
 
const button ButtonEDown = button( tButtonType::kButtonEDown, this )
 
const button ButtonFUp = button( tButtonType::kButtonFUp , this )
 
const button ButtonFDown = button( tButtonType::kButtonFDown, this )
 
const button ButtonLUp = button( tButtonType::kButtonLUp , this )
 
const button ButtonLDown = button( tButtonType::kButtonLDown, this )
 
const button ButtonRUp = button( tButtonType::kButtonRUp , this )
 
const button ButtonRDown = button( tButtonType::kButtonRDown, this )
 
const button ButtonL3 = button( tButtonType::kButtonG , this )
 
const button ButtonR3 = button( tButtonType::kButtonH , this )
 
const axis AxisA = axis( tAxisType::kAxisA, this )
 
const axis AxisB = axis( tAxisType::kAxisB, this )
 
const axis AxisC = axis( tAxisType::kAxisC, this )
 
const axis AxisD = axis( tAxisType::kAxisD, this )
 

Protected Member Functions

int32_t _getIndex ()
 

Detailed Description

Definition at line 25 of file vex_controller.h.

Member Data Documentation

◆ AxisA

const axis vex::controller::AxisA = axis( tAxisType::kAxisA, this )

Definition at line 173 of file vex_controller.h.

◆ AxisB

const axis vex::controller::AxisB = axis( tAxisType::kAxisB, this )

Definition at line 174 of file vex_controller.h.

◆ AxisC

const axis vex::controller::AxisC = axis( tAxisType::kAxisC, this )

Definition at line 175 of file vex_controller.h.

◆ AxisD

const axis vex::controller::AxisD = axis( tAxisType::kAxisD, this )

Definition at line 176 of file vex_controller.h.

◆ ButtonEDown

const button vex::controller::ButtonEDown = button( tButtonType::kButtonEDown, this )

Definition at line 119 of file vex_controller.h.

◆ ButtonEUp

const button vex::controller::ButtonEUp = button( tButtonType::kButtonEUp , this )

Definition at line 118 of file vex_controller.h.

◆ ButtonFDown

const button vex::controller::ButtonFDown = button( tButtonType::kButtonFDown, this )

Definition at line 121 of file vex_controller.h.

◆ ButtonFUp

const button vex::controller::ButtonFUp = button( tButtonType::kButtonFUp , this )

Definition at line 120 of file vex_controller.h.

◆ ButtonL3

const button vex::controller::ButtonL3 = button( tButtonType::kButtonG , this )

Definition at line 126 of file vex_controller.h.

◆ ButtonLDown

const button vex::controller::ButtonLDown = button( tButtonType::kButtonLDown, this )

Definition at line 123 of file vex_controller.h.

◆ ButtonLUp

const button vex::controller::ButtonLUp = button( tButtonType::kButtonLUp , this )

Definition at line 122 of file vex_controller.h.

◆ ButtonR3

const button vex::controller::ButtonR3 = button( tButtonType::kButtonH , this )

Definition at line 127 of file vex_controller.h.

◆ ButtonRDown

const button vex::controller::ButtonRDown = button( tButtonType::kButtonRDown, this )

Definition at line 125 of file vex_controller.h.

◆ ButtonRUp

const button vex::controller::ButtonRUp = button( tButtonType::kButtonRUp , this )

Definition at line 124 of file vex_controller.h.


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