![]() |
nRF Connect SDK API 3.3.99
|
| struct hid_reportq * hid_reportq_alloc | ( | const void * | sub_id, |
| uint8_t | report_max ) |
#include <applications/nrf_desktop/src/util/hid_reportq.h>
Allocate a HID report queue object instance.
The function allocates HID report queue object instance from internal pool.
| [in] | sub_id | ID of related HID subscriber. |
| [in] | report_max | Maximum number of reports with different ID, which can be processed by related HID subscriber. |