|
#define | HID_CLASS_DESCRIPTOR_HID __DEPRECATED_MACRO USB_DESC_HID |
|
#define | HID_CLASS_DESCRIPTOR_REPORT __DEPRECATED_MACRO USB_DESC_HID_REPORT |
|
#define | HID_GET_REPORT __DEPRECATED_MACRO USB_HID_GET_REPORT |
|
#define | HID_GET_IDLE __DEPRECATED_MACRO USB_HID_GET_IDLE |
|
#define | HID_GET_PROTOCOL __DEPRECATED_MACRO USB_HID_GET_PROTOCOL |
|
#define | HID_SET_REPORT __DEPRECATED_MACRO USB_HID_SET_REPORT |
|
#define | HID_SET_IDLE __DEPRECATED_MACRO USB_HID_SET_IDLE |
|
#define | HID_SET_PROTOCOL __DEPRECATED_MACRO USB_HID_SET_PROTOCOL |
|
#define | ITEM_MAIN __DEPRECATED_MACRO 0x0 |
|
#define | ITEM_GLOBAL __DEPRECATED_MACRO 0x1 |
|
#define | ITEM_LOCAL __DEPRECATED_MACRO 0x2 |
|
#define | ITEM_TAG_INPUT __DEPRECATED_MACRO 0x8 |
|
#define | ITEM_TAG_OUTPUT __DEPRECATED_MACRO 0x9 |
|
#define | ITEM_TAG_COLLECTION __DEPRECATED_MACRO 0xA |
|
#define | ITEM_TAG_COLLECTION_END __DEPRECATED_MACRO 0xC |
|
#define | ITEM_TAG_USAGE_PAGE __DEPRECATED_MACRO 0x0 |
|
#define | ITEM_TAG_LOGICAL_MIN __DEPRECATED_MACRO 0x1 |
|
#define | ITEM_TAG_LOGICAL_MAX __DEPRECATED_MACRO 0x2 |
|
#define | ITEM_TAG_REPORT_SIZE __DEPRECATED_MACRO 0x7 |
|
#define | ITEM_TAG_REPORT_ID __DEPRECATED_MACRO 0x8 |
|
#define | ITEM_TAG_REPORT_COUNT __DEPRECATED_MACRO 0x9 |
|
#define | ITEM_TAG_USAGE __DEPRECATED_MACRO 0x0 |
|
#define | ITEM_TAG_USAGE_MIN __DEPRECATED_MACRO 0x1 |
|
#define | ITEM_TAG_USAGE_MAX __DEPRECATED_MACRO 0x2 |
|
#define | HID_MAIN_ITEM(bTag, bSize) __DEPRECATED_MACRO HID_ITEM(bTag, ITEM_MAIN, bSize) |
|
#define | HID_GLOBAL_ITEM(bTag, bSize) __DEPRECATED_MACRO HID_ITEM(bTag, ITEM_GLOBAL, bSize) |
|
#define | HID_LOCAL_ITEM(bTag, bSize) __DEPRECATED_MACRO HID_ITEM(bTag, ITEM_LOCAL, bSize) |
|
#define | HID_MI_COLLECTION __DEPRECATED_MACRO HID_MAIN_ITEM(ITEM_TAG_COLLECTION, 1) |
|
#define | HID_MI_COLLECTION_END __DEPRECATED_MACRO HID_MAIN_ITEM(ITEM_TAG_COLLECTION_END, 0) |
|
#define | HID_MI_INPUT __DEPRECATED_MACRO HID_MAIN_ITEM(ITEM_TAG_INPUT, 1) |
|
#define | HID_MI_OUTPUT __DEPRECATED_MACRO HID_MAIN_ITEM(ITEM_TAG_OUTPUT, 1) |
|
#define | HID_GI_USAGE_PAGE __DEPRECATED_MACRO HID_GLOBAL_ITEM(ITEM_TAG_USAGE_PAGE, 1) |
|
#define | HID_GI_LOGICAL_MIN(size) __DEPRECATED_MACRO HID_GLOBAL_ITEM(ITEM_TAG_LOGICAL_MIN, size) |
|
#define | HID_GI_LOGICAL_MAX(size) __DEPRECATED_MACRO HID_GLOBAL_ITEM(ITEM_TAG_LOGICAL_MAX, size) |
|
#define | HID_GI_REPORT_SIZE __DEPRECATED_MACRO HID_GLOBAL_ITEM(ITEM_TAG_REPORT_SIZE, 1) |
|
#define | HID_GI_REPORT_ID __DEPRECATED_MACRO HID_GLOBAL_ITEM(ITEM_TAG_REPORT_ID, 1) |
|
#define | HID_GI_REPORT_COUNT __DEPRECATED_MACRO HID_GLOBAL_ITEM(ITEM_TAG_REPORT_COUNT, 1) |
|
#define | HID_LI_USAGE __DEPRECATED_MACRO HID_LOCAL_ITEM(ITEM_TAG_USAGE, 1) |
|
#define | HID_LI_USAGE_MIN(size) __DEPRECATED_MACRO HID_LOCAL_ITEM(ITEM_TAG_USAGE_MIN, size) |
|
#define | HID_LI_USAGE_MAX(size) __DEPRECATED_MACRO HID_LOCAL_ITEM(ITEM_TAG_USAGE_MAX, size) |
|
#define | USAGE_GEN_DESKTOP __DEPRECATED_MACRO 0x01 |
|
#define | USAGE_GEN_KEYBOARD __DEPRECATED_MACRO 0x07 |
|
#define | USAGE_GEN_LEDS __DEPRECATED_MACRO 0x08 |
|
#define | USAGE_GEN_BUTTON __DEPRECATED_MACRO 0x09 |
|
#define | USAGE_GEN_DESKTOP_UNDEFINED __DEPRECATED_MACRO 0x00 |
|
#define | USAGE_GEN_DESKTOP_POINTER __DEPRECATED_MACRO 0x01 |
|
#define | USAGE_GEN_DESKTOP_MOUSE __DEPRECATED_MACRO 0x02 |
|
#define | USAGE_GEN_DESKTOP_JOYSTICK __DEPRECATED_MACRO 0x04 |
|
#define | USAGE_GEN_DESKTOP_GAMEPAD __DEPRECATED_MACRO 0x05 |
|
#define | USAGE_GEN_DESKTOP_KEYBOARD __DEPRECATED_MACRO 0x06 |
|
#define | USAGE_GEN_DESKTOP_KEYPAD __DEPRECATED_MACRO 0x07 |
|
#define | USAGE_GEN_DESKTOP_X __DEPRECATED_MACRO 0x30 |
|
#define | USAGE_GEN_DESKTOP_Y __DEPRECATED_MACRO 0x31 |
|
#define | USAGE_GEN_DESKTOP_WHEEL __DEPRECATED_MACRO 0x38 |
|
#define | COLLECTION_PHYSICAL __DEPRECATED_MACRO 0x00 |
|
#define | COLLECTION_APPLICATION __DEPRECATED_MACRO 0x01 |
|
|
void | usb_hid_register_device (const struct device *dev, const uint8_t *desc, size_t size, const struct hid_ops *op) |
| Register HID device. More...
|
|
int | hid_int_ep_write (const struct device *dev, const uint8_t *data, uint32_t data_len, uint32_t *bytes_ret) |
| Write to USB HID interrupt endpoint buffer. More...
|
|
int | hid_int_ep_read (const struct device *dev, uint8_t *data, uint32_t max_data_len, uint32_t *ret_bytes) |
| Read from USB HID interrupt endpoint buffer. More...
|
|
int | usb_hid_set_proto_code (const struct device *dev, uint8_t proto_code) |
| Set USB HID class Protocol Code. More...
|
|
int | usb_hid_init (const struct device *dev) |
| Initialize USB HID class support. More...
|
|
USB HID Class device API header.