Expand description
HID (Human Interface Device) host class driver.
This driver can communicate with USB HID devices (keyboards, mice, gamepads, etc.).
Re-exports§
pub use super::hid_report::ReportDescriptor;pub use super::hid_report::ReportField;
Structs§
- HidHost
- HID host driver.
- HidInfo
- Information about a HID interface found in a configuration descriptor.
- Keyboard
Report - Decoded keyboard report (USB HID boot protocol, 8 bytes).
- Mouse
Report - Decoded mouse report (USB HID boot protocol, 4 bytes).
Enums§
- HidError
- HID host class driver error.
Constants§
- PROTOCOL_
BOOT - Boot protocol.
- PROTOCOL_
REPORT - Report protocol.
Functions§
- find_
hid - Find the first HID interface in a configuration descriptor.
Type Aliases§
- Mouse
Buttons - Mouse button bitmask used in
MouseReport.