Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#define HID_BOOT_IFACE_CODE_KEYBOARD 1 |
#include <include/usb/class/hid.h>
USB HID Boot Interface Protocol (bInterfaceProtocol) Code Keyboard
#define HID_BOOT_IFACE_CODE_MOUSE 2 |
#include <include/usb/class/hid.h>
USB HID Boot Interface Protocol (bInterfaceProtocol) Code Mouse
#define HID_BOOT_IFACE_CODE_NONE 0 |
#include <include/usb/class/hid.h>
USB HID Boot Interface Protocol (bInterfaceProtocol) Code None
#define HID_COLLECTION_APPLICATION 0x01 |
#include <include/usb/class/hid.h>
Application collection type
#define HID_COLLECTION_PHYSICAL 0x00 |
#include <include/usb/class/hid.h>
Physical collection type
#define HID_ITEM_TAG_COLLECTION 0xA |
#include <include/usb/class/hid.h>
HID Collection item tag
#define HID_ITEM_TAG_COLLECTION_END 0xC |
#include <include/usb/class/hid.h>
HID End Collection item tag
#define HID_ITEM_TAG_FEATURE 0xB |
#include <include/usb/class/hid.h>
HID Feature item tag
#define HID_ITEM_TAG_INPUT 0x8 |
#include <include/usb/class/hid.h>
HID Input item tag
#define HID_ITEM_TAG_LOGICAL_MAX 0x2 |
#include <include/usb/class/hid.h>
HID Logical Maximum item tag
#define HID_ITEM_TAG_LOGICAL_MIN 0x1 |
#include <include/usb/class/hid.h>
HID Logical Minimum item tag
#define HID_ITEM_TAG_OUTPUT 0x9 |
#include <include/usb/class/hid.h>
HID Output item tag
#define HID_ITEM_TAG_PHYSICAL_MAX 0x4 |
#include <include/usb/class/hid.h>
HID Physical Maximum item tag
#define HID_ITEM_TAG_PHYSICAL_MIN 0x3 |
#include <include/usb/class/hid.h>
HID Physical Minimum item tag
#define HID_ITEM_TAG_REPORT_COUNT 0x9 |
#include <include/usb/class/hid.h>
HID Report count item tag
#define HID_ITEM_TAG_REPORT_ID 0x8 |
#include <include/usb/class/hid.h>
HID Report ID item tag
#define HID_ITEM_TAG_REPORT_SIZE 0x7 |
#include <include/usb/class/hid.h>
HID Report Size item tag
#define HID_ITEM_TAG_UNIT 0x6 |
#include <include/usb/class/hid.h>
HID Unit item tag
#define HID_ITEM_TAG_UNIT_EXPONENT 0x5 |
#include <include/usb/class/hid.h>
HID Unit Exponent item tag
#define HID_ITEM_TAG_USAGE 0x0 |
#include <include/usb/class/hid.h>
HID Usage item tag
#define HID_ITEM_TAG_USAGE_MAX 0x2 |
#include <include/usb/class/hid.h>
HID Usage Maximum item tag
#define HID_ITEM_TAG_USAGE_MIN 0x1 |
#include <include/usb/class/hid.h>
HID Usage Minimum item tag
#define HID_ITEM_TAG_USAGE_PAGE 0x0 |
#include <include/usb/class/hid.h>
HID Usage Page item tag
#define HID_ITEM_TYPE_GLOBAL 0x1 |
#include <include/usb/class/hid.h>
HID Global item type
#define HID_ITEM_TYPE_LOCAL 0x2 |
#include <include/usb/class/hid.h>
HID Local item type
#define HID_ITEM_TYPE_MAIN 0x0 |
#include <include/usb/class/hid.h>
HID Main item type
#define HID_PROTOCOL_BOOT 0 |
#include <include/usb/class/hid.h>
USB HID Class Boot protocol code
#define HID_PROTOCOL_REPORT 1 |
#include <include/usb/class/hid.h>
USB HID Class Report protocol code
#define HID_USAGE_GEN_BUTTON 0x09 |
#include <include/usb/class/hid.h>
HID Button Usage page
#define HID_USAGE_GEN_DESKTOP 0x01 |
#include <include/usb/class/hid.h>
HID Generic Desktop Controls Usage page
#define HID_USAGE_GEN_DESKTOP_GAMEPAD 0x05 |
#include <include/usb/class/hid.h>
HID Generic Desktop Gamepad Usage ID
#define HID_USAGE_GEN_DESKTOP_JOYSTICK 0x04 |
#include <include/usb/class/hid.h>
HID Generic Desktop Joystick Usage ID
#define HID_USAGE_GEN_DESKTOP_KEYBOARD 0x06 |
#include <include/usb/class/hid.h>
HID Generic Desktop Keyboard Usage ID
#define HID_USAGE_GEN_DESKTOP_KEYPAD 0x07 |
#include <include/usb/class/hid.h>
HID Generic Desktop Keypad Usage ID
#define HID_USAGE_GEN_DESKTOP_MOUSE 0x02 |
#include <include/usb/class/hid.h>
HID Generic Desktop Mouse Usage ID
#define HID_USAGE_GEN_DESKTOP_POINTER 0x01 |
#include <include/usb/class/hid.h>
HID Generic Desktop Pointer Usage ID
#define HID_USAGE_GEN_DESKTOP_UNDEFINED 0x00 |
#include <include/usb/class/hid.h>
HID Generic Desktop Undefined Usage ID
#define HID_USAGE_GEN_DESKTOP_WHEEL 0x38 |
#include <include/usb/class/hid.h>
HID Generic Desktop Wheel Usage ID
#define HID_USAGE_GEN_DESKTOP_X 0x30 |
#include <include/usb/class/hid.h>
HID Generic Desktop X Usage ID
#define HID_USAGE_GEN_DESKTOP_Y 0x31 |
#include <include/usb/class/hid.h>
HID Generic Desktop Y Usage ID
#define HID_USAGE_GEN_KEYBOARD 0x07 |
#include <include/usb/class/hid.h>
HID Keyboard Usage page
#define HID_USAGE_GEN_LEDS 0x08 |
#include <include/usb/class/hid.h>
HID LEDs Usage page
#define USB_DESC_HID 0x21 |
#include <include/usb/class/hid.h>
USB HID Class HID descriptor type
#define USB_DESC_HID_PHYSICAL 0x23 |
#include <include/usb/class/hid.h>
USB HID Class physical descriptor type
#define USB_DESC_HID_REPORT 0x22 |
#include <include/usb/class/hid.h>
USB HID Class Report descriptor type
#define USB_HID_GET_IDLE 0x02 |
#include <include/usb/class/hid.h>
USB HID Class GetIdle bRequest value
#define USB_HID_GET_PROTOCOL 0x03 |
#include <include/usb/class/hid.h>
USB HID Class GetProtocol bRequest value
#define USB_HID_GET_REPORT 0x01 |
#include <include/usb/class/hid.h>
USB HID Class GetReport bRequest value
#define USB_HID_SET_IDLE 0x0A |
#include <include/usb/class/hid.h>
USB HID Class SetIdle bRequest value
#define USB_HID_SET_PROTOCOL 0x0B |
#include <include/usb/class/hid.h>
USB HID Class SetProtocol bRequest value
#define USB_HID_SET_REPORT 0x09 |
#include <include/usb/class/hid.h>
USB HID Class SetReport bRequest value