#descriptor #usb-device #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

#51 in #descriptor

Download history 746/week @ 2024-06-28 594/week @ 2024-07-05 1121/week @ 2024-07-12 1171/week @ 2024-07-19 915/week @ 2024-07-26 952/week @ 2024-08-02 965/week @ 2024-08-09 1115/week @ 2024-08-16 924/week @ 2024-08-23 1011/week @ 2024-08-30 1413/week @ 2024-09-06 1323/week @ 2024-09-13 1471/week @ 2024-09-20 1657/week @ 2024-09-27 990/week @ 2024-10-04 1062/week @ 2024-10-11

5,345 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
~66K SLoC