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

#127 in Hardware support

Download history 1676/week @ 2024-08-19 1040/week @ 2024-08-26 1331/week @ 2024-09-02 1388/week @ 2024-09-09 1342/week @ 2024-09-16 1961/week @ 2024-09-23 1358/week @ 2024-09-30 800/week @ 2024-10-07 1468/week @ 2024-10-14 1704/week @ 2024-10-21 1402/week @ 2024-10-28 1243/week @ 2024-11-04 1100/week @ 2024-11-11 1355/week @ 2024-11-18 1940/week @ 2024-11-25 1413/week @ 2024-12-02

5,896 downloads per month
Used in 32 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