#hid #no-std #usb-device

no-std usbd-hid

A HID class for use with usb-device

13 unstable releases (3 breaking)

✓ Uses Rust 2018 edition

new 0.4.0 Feb 14, 2020
0.3.7 Feb 5, 2020
0.3.1 Jan 31, 2020
0.2.1 Jan 30, 2020
0.1.4 Jan 30, 2020

#95 in Hardware support

Download history 163/week @ 2020-01-29 51/week @ 2020-02-05

71 downloads per month

MIT/Apache

18KB
286 lines

usbd-hid

Crates.io usbd-hid

USB HID implementation for usb-device.

Also implements a cheeky procedural macro for generating HID descriptors.

Examples:


lib.rs:

HID report descriptor generation & USB HID class implementation

This crate implements components necessary to build a USB HID device. This includes generation of the report descriptor, serialization of input reports, and communicating with a host that implements USB HID.

Dependencies

~1–1.5MB
~31K SLoC