NvGamepad::NvGamepad::State Struct Reference
The state of a single gamepad. More...
#include <NvGamepad.h>
Public Attributes | |
| uint32_t | mTimestamp |
| Logical clock incremented on any change. | |
| uint32_t | mButtons |
| Flag vector of BUTTON_*, with a bit set to 1 indicating the corresponding button is pressed. | |
| float | mLeftTrigger |
| Left analog trigger value [0.0, 1.0]. | |
| float | mRightTrigger |
| Right analog trigger value [0.0, 1.0]. | |
| float | mThumbLX |
| Left thumbstick horizontal axis [-1.0, 1.0], deadzone already zeroed. | |
| float | mThumbLY |
| Left thumbstick vertical axis [-1.0, 1.0], deadzone already zeroed. | |
| float | mThumbRX |
| Right thumbstick horizontal axis [-1.0, 1.0], deadzone already zeroed. | |
| float | mThumbRY |
| Right thumbstick vertical axis [-1.0, 1.0], deadzone already zeroed. | |
Detailed Description
The state of a single gamepad.The full state of the axes and buttons on a single gamepad
The documentation for this struct was generated from the following file: