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

#122 in Hardware support

Download history 1211/week @ 2024-07-18 957/week @ 2024-07-25 1164/week @ 2024-08-01 1036/week @ 2024-08-08 1698/week @ 2024-08-15 1035/week @ 2024-08-22 1179/week @ 2024-08-29 1515/week @ 2024-09-05 1392/week @ 2024-09-12 1480/week @ 2024-09-19 1700/week @ 2024-09-26 1126/week @ 2024-10-03 938/week @ 2024-10-10 1709/week @ 2024-10-17 1580/week @ 2024-10-24 1263/week @ 2024-10-31

5,663 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
~99K SLoC