#hid #no-std #usb-device

no-std usbd-hid

A HID class for use with usb-device

17 unstable releases (3 breaking)

0.4.4 Jul 2, 2020
0.4.3 Jul 2, 2020
0.4.2 Mar 18, 2020
0.4.0 Feb 14, 2020
0.1.4 Jan 30, 2020

#96 in Hardware support

Download history 7/week @ 2020-05-21 33/week @ 2020-05-28 33/week @ 2020-06-04 16/week @ 2020-06-18 4/week @ 2020-06-25 64/week @ 2020-07-02 4/week @ 2020-07-09 34/week @ 2020-07-16 43/week @ 2020-07-23 19/week @ 2020-07-30 23/week @ 2020-08-06 38/week @ 2020-08-13 27/week @ 2020-08-20 27/week @ 2020-08-27 59/week @ 2020-09-03

102 downloads per month
Used in itsybitsy_m0

MIT/Apache

21KB
337 lines

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:

HID report descriptor generation & USB HID class implementation

This crate implements components necessary to build a USB HID device. This includes generation of the report descriptor, serialization of input reports, and communicating with a host that implements USB HID.

Dependencies

~1–1.5MB
~33K SLoC