|
ReXGlue SDK
|
#include <rex/hid/pad.h>
Public Attributes | |
| u16 | buttons = 0 |
| u8 | left_trigger = 0 |
| u8 | right_trigger = 0 |
| i16 | thumb_lx = 0 |
| i16 | thumb_ly = 0 |
| i16 | thumb_rx = 0 |
| i16 | thumb_ry = 0 |
One reading of a pad. Sticks are centered on 0, positive right and up.
| u8 rex::hid::PadState::left_trigger = 0 |
Pressure from 0 to 255.
| u8 rex::hid::PadState::right_trigger = 0 |
Pressure from 0 to 255.