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

#163 in Hardware support

Download history 1735/week @ 2024-11-26 1699/week @ 2024-12-03 2703/week @ 2024-12-10 2434/week @ 2024-12-17 1626/week @ 2024-12-24 2577/week @ 2024-12-31 2289/week @ 2025-01-07 2808/week @ 2025-01-14 2131/week @ 2025-01-21 1546/week @ 2025-01-28 2510/week @ 2025-02-04 3298/week @ 2025-02-11 2634/week @ 2025-02-18 2532/week @ 2025-02-25 2732/week @ 2025-03-04 3523/week @ 2025-03-11

12,187 downloads per month
Used in 32 crates (18 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
~102K SLoC