-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_AppSubmitHIDReport
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Submit an HID output report to a controller.
Be careful to make sure the report is compatible with the device!
void MTY_AppSubmitHIDReport(
MTY_App * ctx,
uint32_t id,
const void * report,
size_t size
);
ctx
(MTY_App *
)
The MTY_App
.
id
(uint32_t
)
A controller id
found via MTY_EVENT_CONTROLLER
or MTY_EVENT_CONNECT
.
report
(const void *
)
The HID output report.
size
(size_t
)
The size of report
.