|
|
static gamepad_feedback_msg_t | make_adaptive_triggers (std::uint16_t id, uint8_t event_flags, uint8_t type_left, uint8_t type_right, const std::array< uint8_t, 10 > &left, const std::array< uint8_t, 10 > &right) |
| |
|
static gamepad_feedback_msg_t | make_motion_event_state (std::uint16_t id, std::uint8_t motion_type, std::uint16_t report_rate) |
| |
|
static gamepad_feedback_msg_t | make_rgb_led (std::uint16_t id, std::uint8_t r, std::uint8_t g, std::uint8_t b) |
| |
|
static gamepad_feedback_msg_t | make_rumble (std::uint16_t id, std::uint16_t lowfreq, std::uint16_t highfreq) |
| |
|
static gamepad_feedback_msg_t | make_rumble_triggers (std::uint16_t id, std::uint16_t left, std::uint16_t right) |
| |
|
|
union { | |
| |
|
struct { | |
| |
|
uint16_t controllerNumber | |
| |
|
uint8_t event_flags | |
| |
|
std::array< uint8_t, 10 > left | |
| |
|
std::array< uint8_t, 10 > right | |
| |
|
uint8_t type_left | |
| |
|
uint8_t type_right | |
| |
| } adaptive_triggers | |
| |
|
struct { | |
| |
|
std::uint8_t motion_type | |
| |
|
std::uint16_t report_rate | |
| |
| } motion_event_state | |
| |
|
struct { | |
| |
|
std::uint8_t b | |
| |
|
std::uint8_t g | |
| |
|
std::uint8_t r | |
| |
| } rgb_led | |
| |
|
struct { | |
| |
|
std::uint16_t highfreq | |
| |
|
std::uint16_t lowfreq | |
| |
| } rumble | |
| |
|
struct { | |
| |
|
std::uint16_t left_trigger | |
| |
|
std::uint16_t right_trigger | |
| |
| } rumble_triggers | |
| |
| } | data | |
| |
|
std::uint16_t | id |
| |
|
gamepad_feedback_e | type |
| |
The documentation for this struct was generated from the following file: