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

#130 in Hardware support

Download history 1353/week @ 2024-10-30 1121/week @ 2024-11-06 1064/week @ 2024-11-13 1741/week @ 2024-11-20 1807/week @ 2024-11-27 1693/week @ 2024-12-04 2946/week @ 2024-12-11 2116/week @ 2024-12-18 1530/week @ 2024-12-25 2811/week @ 2025-01-01 2083/week @ 2025-01-08 2782/week @ 2025-01-15 2124/week @ 2025-01-22 1662/week @ 2025-01-29 2546/week @ 2025-02-05 2993/week @ 2025-02-12

9,473 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