#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

new 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

#52 in #descriptor

Download history 1103/week @ 2024-03-31 851/week @ 2024-04-07 1061/week @ 2024-04-14 882/week @ 2024-04-21 960/week @ 2024-04-28 1018/week @ 2024-05-05 788/week @ 2024-05-12 1200/week @ 2024-05-19 1147/week @ 2024-05-26 1302/week @ 2024-06-02 717/week @ 2024-06-09 865/week @ 2024-06-16 982/week @ 2024-06-23 689/week @ 2024-06-30 544/week @ 2024-07-07 1238/week @ 2024-07-14

3,536 downloads per month
Used in 25 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
~67K SLoC