29 releases

0.8.2 Jul 16, 2024
0.7.1 Jul 19, 2024
0.7.0 Nov 13, 2023
0.6.1 Oct 15, 2022
0.4.2 Mar 18, 2020

#157 in Hardware support

Download history 1232/week @ 2024-11-15 1915/week @ 2024-11-22 1659/week @ 2024-11-29 2347/week @ 2024-12-06 2758/week @ 2024-12-13 1847/week @ 2024-12-20 1284/week @ 2024-12-27 2834/week @ 2025-01-03 2731/week @ 2025-01-10 2552/week @ 2025-01-17 1711/week @ 2025-01-24 1718/week @ 2025-01-31 3232/week @ 2025-02-07 2962/week @ 2025-02-14 2768/week @ 2025-02-21 2124/week @ 2025-02-28

11,470 downloads per month
Used in 31 crates (17 directly)

MIT/Apache

78KB
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

~5.5MB
~101K SLoC