#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.

18 releases

0.6.0 Oct 15, 2022
0.5.2 Sep 24, 2021
0.5.0 Feb 12, 2021
0.4.5 Dec 1, 2020
0.4.2 Mar 18, 2020

#48 in #descriptor

Download history 782/week @ 2023-12-18 338/week @ 2023-12-25 313/week @ 2024-01-01 570/week @ 2024-01-08 619/week @ 2024-01-15 554/week @ 2024-01-22 367/week @ 2024-01-29 539/week @ 2024-02-05 576/week @ 2024-02-12 1096/week @ 2024-02-19 1103/week @ 2024-02-26 1825/week @ 2024-03-04 1802/week @ 2024-03-11 876/week @ 2024-03-18 861/week @ 2024-03-25 1399/week @ 2024-04-01

5,061 downloads per month
Used in 22 crates (via usbd-hid)

MIT/Apache

53KB
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

~2MB
~41K SLoC