24 releases

0.7.0 Nov 13, 2023
0.6.1 Oct 15, 2022
0.6.0 Apr 30, 2022
0.5.2 Sep 24, 2021
0.4.2 Mar 18, 2020

#70 in Hardware support

Download history 803/week @ 2023-12-17 370/week @ 2023-12-24 270/week @ 2023-12-31 516/week @ 2024-01-07 651/week @ 2024-01-14 540/week @ 2024-01-21 346/week @ 2024-01-28 462/week @ 2024-02-04 580/week @ 2024-02-11 1110/week @ 2024-02-18 1180/week @ 2024-02-25 1832/week @ 2024-03-03 2093/week @ 2024-03-10 1591/week @ 2024-03-17 1470/week @ 2024-03-24 1688/week @ 2024-03-31

6,999 downloads per month
Used in 21 crates (11 directly)

MIT/Apache

77KB
1.5K SLoC

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

~3.5MB
~70K SLoC