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

#125 in Hardware support

Download history 1216/week @ 2024-08-04 1086/week @ 2024-08-11 1654/week @ 2024-08-18 1121/week @ 2024-08-25 1309/week @ 2024-09-01 1414/week @ 2024-09-08 1313/week @ 2024-09-15 1797/week @ 2024-09-22 1508/week @ 2024-09-29 831/week @ 2024-10-06 1450/week @ 2024-10-13 1584/week @ 2024-10-20 1454/week @ 2024-10-27 1342/week @ 2024-11-03 1005/week @ 2024-11-10 1143/week @ 2024-11-17

5,058 downloads per month
Used in 26 crates (13 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