Module usbd_hid::descriptor

source ·
Expand description

Implements generation of HID report descriptors as well as common reports

Modules

Structs

  • KeyboardReport describes a report and its companion descriptor that can be used to send keyboard button presses to a host and receive the status of the keyboard LEDs.
  • MediaKeyboardReport describes a report and descriptor that can be used to send consumer control commands to the host.
  • MouseReport describes a report and its companion descriptor than can be used to send mouse movements and button presses to a host.
  • SystemControlReport describes a report and descriptor that can be used to send system control commands to the host.

Enums

  • KeyboardUsage describes the key codes to be used in implementing a USB keyboard.
  • Media player usage ids that can be used in MediaKeyboardReport
  • System control usage ids to use with SystemControlReport

Traits

  • Report types which serialize into input reports, ready for transmission.
  • Report types where serialized HID report descriptors are available.

Attribute Macros