nRF Connect SDK API 0.1.0
|
int hid_reportq_report_add | ( | struct hid_reportq * | q, |
const void * | src_id, | ||
uint8_t | rep_id, | ||
const uint8_t * | data, | ||
size_t | size | ||
) |
#include <applications/nrf_desktop/src/util/hid_reportq.h>
Add a HID report to the queue.
[in] | q | Pointer to the queue instance. |
[in] | src_id | ID of HID report source. |
[in] | rep_id | HID report ID. |
[in] | data | HID report data. |
[in] | size | Size of the HID report data. |