Expand description
Implements generation of HID report descriptors as well as common reports
Modules§
- generator_
prelude - Prelude for modules which use the
gen_hid_descriptor
macro.
Structs§
- Ctap
Report - CtapReport describes a report and its companion descriptor that can be used to present a FIDO-compatible authenticator device to the host.
- Keyboard
Report - 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.
- Media
Keyboard Report - MediaKeyboardReport describes a report and descriptor that can be used to send consumer control commands to the host.
- Mouse
Report - MouseReport describes a report and its companion descriptor than can be used to send mouse movements and button presses to a host.
- System
Control Report - SystemControlReport describes a report and descriptor that can be used to send system control commands to the host.
Enums§
- Keyboard
Usage - KeyboardUsage describes the key codes to be used in implementing a USB keyboard.
- Media
Key - Media player usage ids that can be used in MediaKeyboardReport
- System
Control Key - System control usage ids to use with SystemControlReport
Traits§
- AsInput
Report - Report types which serialize into input reports, ready for transmission.
- Serialized
Descriptor - Report types where serialized HID report descriptors are available.
Attribute Macros§
- gen_
hid_ descriptor - Attribute to generate a HID descriptor & serialization code