-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_HIDEvent
chrisd1100 edited this page Apr 9, 2023
·
2 revisions
HID input report from certain controllers.
If enabled via MTY_APP_FLAG_HID_EVENTS
, all controllers except XInput controllers will generate input report events.
typedef struct {
const void * report;
size_t size;
MTY_CType type;
uint32_t id;
uint16_t vid;
uint16_t pid;
} MTY_HIDEvent;
report
(const void *
)
The HID input report.
size
(size_t
)
Size in bytes of report
.
type
(MTY_CType
)
Game controller type.
id
(uint32_t
)
Assigned controller id
.
vid
(uint16_t
)
HID Vendor ID.
pid
(uint16_t
)
HID Product ID.