|
Instrument Neutral Distributed Interface INDI 2.2.5
|
A matched pair of axis indices that together form a joystick. More...
#include <joystickdriver.h>
Public Attributes | |
| int | i0 |
| Index of the horizontal (X) axis. | |
| int | i1 |
| Index of the vertical (Y) axis. | |
| uint8_t | absX |
| ABS_* code for the X axis. | |
| uint8_t | absY |
| ABS_* code for the Y axis. | |
| bool | isHat |
| True for digital hat / d-pad pairs. | |
| const char * | name |
| Human-readable name (e.g. "Left Stick") | |
A matched pair of axis indices that together form a joystick.
Definition at line 91 of file joystickdriver.h.
| uint8_t JoyAxisPair::absX |
ABS_* code for the X axis.
Definition at line 95 of file joystickdriver.h.
| uint8_t JoyAxisPair::absY |
ABS_* code for the Y axis.
Definition at line 96 of file joystickdriver.h.
| int JoyAxisPair::i0 |
Index of the horizontal (X) axis.
Definition at line 93 of file joystickdriver.h.
| int JoyAxisPair::i1 |
Index of the vertical (Y) axis.
Definition at line 94 of file joystickdriver.h.
| bool JoyAxisPair::isHat |
True for digital hat / d-pad pairs.
Definition at line 97 of file joystickdriver.h.
| const char* JoyAxisPair::name |
Human-readable name (e.g. "Left Stick")
Definition at line 98 of file joystickdriver.h.