#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

#63 in #descriptor

Download history 1290/week @ 2024-10-30 1130/week @ 2024-11-06 1073/week @ 2024-11-13 1674/week @ 2024-11-20 1745/week @ 2024-11-27 1661/week @ 2024-12-04 2824/week @ 2024-12-11 2085/week @ 2024-12-18 1532/week @ 2024-12-25 2785/week @ 2025-01-01 2059/week @ 2025-01-08 2717/week @ 2025-01-15 2065/week @ 2025-01-22 1623/week @ 2025-01-29 2507/week @ 2025-02-05 2904/week @ 2025-02-12

9,247 downloads per month
Used in 32 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