#usb-device #descriptor #hid #macro #proc-macro #procedural #usbd-hid

macro no-std usbd-hid-macros

Internal crate: contains procedural macros for HID descriptors. Use the usbd-hid crate instead, these macros are re-exported there.

23 releases

0.8.2 Jul 16, 2024
0.7.1 Jul 19, 2024
0.6.0 Oct 15, 2022
0.5.2 Sep 24, 2021
0.4.2 Mar 18, 2020

#55 in #descriptor

Download history 946/week @ 2024-07-29 913/week @ 2024-08-05 1090/week @ 2024-08-12 1096/week @ 2024-08-19 875/week @ 2024-08-26 1112/week @ 2024-09-02 1363/week @ 2024-09-09 1306/week @ 2024-09-16 1896/week @ 2024-09-23 1301/week @ 2024-09-30 802/week @ 2024-10-07 1439/week @ 2024-10-14 1682/week @ 2024-10-21 1315/week @ 2024-10-28 1248/week @ 2024-11-04 915/week @ 2024-11-11

5,277 downloads per month
Used in 27 crates (via usbd-hid)

MIT/Apache

54KB
1K 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:

Internal implementation details of usbd-hid.

Dependencies

~3.5MB
~68K SLoC