Analog controller axes.
More...
Analog controller axes.
Each is 2D, although the y component is not used for all.
- See also
- G3D::OSWindow, G3D::GameController, G3D::GKey, G3D::UserInput
◆ Value
Enumerator |
---|
LEFT | Left thumb stick.
|
RIGHT | Right thumb stick.
|
LEFT_TRIGGER | Only the x axis is used.
|
RIGHT_TRIGGER | Only the x axis is used.
|
LEFT_SHOULDER | Grip/shoulder/bumper button.
Only the x axis is used
|
RIGHT_SHOULDER | Grip/shoulder/bumper button.
Only the x axis is used
|
◆ JoystickIndex() [1/6]
G3D::JoystickIndex::JoystickIndex |
( |
const G3D::String & |
x | ) |
|
|
inlineexplicit |
◆ JoystickIndex() [2/6]
G3D::JoystickIndex::JoystickIndex |
( |
const G3D::Any & |
a | ) |
|
|
inlineexplicit |
◆ JoystickIndex() [3/6]
G3D::JoystickIndex::JoystickIndex |
( |
char |
v | ) |
|
|
inlineexplicit |
◆ JoystickIndex() [4/6]
G3D::JoystickIndex::JoystickIndex |
( |
| ) |
|
|
inline |
◆ JoystickIndex() [5/6]
G3D::JoystickIndex::JoystickIndex |
( |
const Value |
v | ) |
|
|
inline |
◆ JoystickIndex() [6/6]
G3D::JoystickIndex::JoystickIndex |
( |
int |
v | ) |
|
|
inlineexplicit |
◆ classname()
static const char* G3D::JoystickIndex::classname |
( |
| ) |
|
|
inlinestatic |
◆ count()
static int G3D::JoystickIndex::count |
( |
| ) |
|
|
inlinestatic |
◆ deserialize()
◆ hashCode()
unsigned int G3D::JoystickIndex::hashCode |
( |
| ) |
const |
|
inline |
◆ nthValue()
static Value G3D::JoystickIndex::nthValue |
( |
int |
n | ) |
|
|
inlinestatic |
◆ operator int()
G3D::JoystickIndex::operator int |
( |
| ) |
const |
|
inline |
◆ operator!=() [1/2]
bool G3D::JoystickIndex::operator!= |
( |
const JoystickIndex |
other | ) |
const |
|
inline |
◆ operator!=() [2/2]
◆ operator+()
◆ operator++()
◆ operator+=()
◆ operator-()
◆ operator--()
◆ operator-=()
◆ operator<() [1/2]
bool G3D::JoystickIndex::operator< |
( |
const Value |
other | ) |
const |
|
inline |
◆ operator<() [2/2]
bool G3D::JoystickIndex::operator< |
( |
const JoystickIndex |
other | ) |
const |
|
inline |
◆ operator<=() [1/2]
bool G3D::JoystickIndex::operator<= |
( |
const JoystickIndex |
other | ) |
const |
|
inline |
◆ operator<=() [2/2]
bool G3D::JoystickIndex::operator<= |
( |
const Value |
other | ) |
const |
|
inline |
◆ operator=()
◆ operator==() [1/2]
◆ operator==() [2/2]
bool G3D::JoystickIndex::operator== |
( |
const JoystickIndex |
other | ) |
const |
|
inline |
◆ operator>() [1/2]
bool G3D::JoystickIndex::operator> |
( |
const JoystickIndex |
other | ) |
const |
|
inline |
◆ operator>() [2/2]
bool G3D::JoystickIndex::operator> |
( |
const Value |
other | ) |
const |
|
inline |
◆ operator>=() [1/2]
bool G3D::JoystickIndex::operator>= |
( |
const JoystickIndex |
other | ) |
const |
|
inline |
◆ operator>=() [2/2]
bool G3D::JoystickIndex::operator>= |
( |
const Value |
other | ) |
const |
|
inline |
◆ serialize()
◆ toAny()
G3D::Any G3D::JoystickIndex::toAny |
( |
| ) |
const |
|
inline |
◆ toString() [1/2]
const char* G3D::JoystickIndex::toString |
( |
| ) |
const |
|
inline |
◆ toString() [2/2]
static const char* G3D::JoystickIndex::toString |
( |
int |
i, |
|
|
Value & |
v |
|
) |
| |
|
inlinestatic |
◆ value