21 releases

0.5.2 Sep 24, 2021
0.5.0 Feb 12, 2021
0.4.5 Dec 1, 2020
0.4.4 Jul 2, 2020
0.4.2 Mar 18, 2020

#38 in Hardware support

Download history 260/week @ 2021-10-05 376/week @ 2021-10-12 269/week @ 2021-10-19 161/week @ 2021-10-26 122/week @ 2021-11-02 142/week @ 2021-11-09 134/week @ 2021-11-16 186/week @ 2021-11-23 414/week @ 2021-11-30 278/week @ 2021-12-07 144/week @ 2021-12-14 245/week @ 2021-12-21 303/week @ 2021-12-28 512/week @ 2022-01-04 338/week @ 2022-01-11 431/week @ 2022-01-18

1,619 downloads per month
Used in 5 crates

MIT/Apache

27KB
511 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

~0.8–1.4MB
~29K SLoC