![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <hid.h>
Data Fields | |
| uint16_t | page |
| The usage page this collection refers to (eg HID_PAGE_GENERIC_DESKTOP). | |
| uint16_t | usage |
| The usage within the usage page (eg HID_DESKTOP_MOUSE). | |
| uint32_t | flags |
| The main item flags for this collection (eg HID_MAIN_COLLECTION_APPLICATION). | |
| uint32_t | start |
| The first byte of this collection in the report descriptor. | |
| HID_REPORT * | reports |
| The list of reports contained in this collection. | |
| uint32_t | reportcount |
| The number of reports contained in this collection. | |
| HID_COLLECTION * | collections |
| The list of collections contained in this collection. | |
| uint32_t | collectioncount |
| The number of collections contained in this collection. | |
| HID_COLLECTION * | parent |
| The parent collection or nil if this is a top level collection. | |
| HID_DEVICE * | device |
| The device this collection belongs to. | |
| HID_CONSUMER * | consumer |
| The consumer which is bound to this collection (or nil if not bound). | |
| void * | privatedata |
| Private data for the consumer of this collection. | |
HID Collection
| uint16_t page |
The usage page this collection refers to (eg HID_PAGE_GENERIC_DESKTOP).
| uint16_t usage |
The usage within the usage page (eg HID_DESKTOP_MOUSE).
| uint32_t flags |
The main item flags for this collection (eg HID_MAIN_COLLECTION_APPLICATION).
| uint32_t start |
The first byte of this collection in the report descriptor.
| HID_REPORT* reports |
The list of reports contained in this collection.
| uint32_t reportcount |
The number of reports contained in this collection.
| HID_COLLECTION* collections |
The list of collections contained in this collection.
| uint32_t collectioncount |
The number of collections contained in this collection.
| HID_COLLECTION* parent |
The parent collection or nil if this is a top level collection.
| HID_DEVICE* device |
The device this collection belongs to.
| HID_CONSUMER* consumer |
The consumer which is bound to this collection (or nil if not bound).
| void* privatedata |
Private data for the consumer of this collection.