qmk_firmware/internals_usb_hid_protocol.md

3.0 KiB

group usb_hid_protocol

USB Human Interface Device (HID) protocol definitions.

protocol definitions

Summary

Members Descriptions
struct usb_hid_descriptor_t HID Descriptor.

struct usb_hid_descriptor_t

HID Descriptor.

Summary

Members Descriptions
public uint8_t bLength Size of this descriptor in bytes.
public uint8_t bDescriptorType HID descriptor type.
public le16_t bcdHID Binary Coded Decimal Spec. release.
public uint8_t bCountryCode Hardware target country.
public uint8_t bNumDescriptors Number of HID class descriptors to follow.
public uint8_t bRDescriptorType Report descriptor type.
public le16_t wDescriptorLength Total length of Report descriptor.

Members

public uint8_t bLength

Size of this descriptor in bytes.

public uint8_t bDescriptorType

HID descriptor type.

public le16_t bcdHID

Binary Coded Decimal Spec. release.

public uint8_t bCountryCode

Hardware target country.

public uint8_t bNumDescriptors

Number of HID class descriptors to follow.

public uint8_t bRDescriptorType

Report descriptor type.

public le16_t wDescriptorLength

Total length of Report descriptor.