#include <stdint.h>
#include <adt/list.h>
Go to the source code of this file.
Data Structures | |
struct | usb_hid_report_description_t |
Description of one concrete report. More... | |
struct | usb_hid_report_field_t |
Description of one field/item in report. More... | |
struct | usb_hid_report_item_t |
State table for report descriptor parsing. More... | |
struct | usb_hid_report_t |
Description of all reports described in one report descriptor. More... | |
Defines | |
#define | USB_HID_INT32_TO_UINT32(x, size) (((x) < 0 ) ? ((1 << (size)) + (x)) : (x)) |
Convert integer from signed format to unsigned. | |
#define | USB_HID_MAX_USAGES 0xffff |
Maximum amount of specified usages for one report item. | |
#define | USB_HID_UINT32_TO_INT32(x, size) |
Converts integer from unsigned two's complement format format to signed one. | |
Enumerations | |
enum | usb_hid_modifiers_t |
Enum of the keyboard modifiers. | |
enum | usb_hid_report_type_t { USB_HID_REPORT_TYPE_INPUT = 1, USB_HID_REPORT_TYPE_OUTPUT = 2, USB_HID_REPORT_TYPE_FEATURE = 3 } |
Enum of report types. More... | |
Variables | |
static const usb_hid_modifiers_t | usb_hid_modifiers_consts [USB_HID_MOD_COUNT] |
Definition in file hidtypes.h.