#hid #no-std #usb-device

no-std usbd-hid-device

USB HID class support for microcontrollers

2 releases

0.1.1 Feb 2, 2020
0.1.0 Feb 2, 2020

#1644 in Hardware support

Download history 16/week @ 2023-08-04 18/week @ 2023-08-11 11/week @ 2023-08-18 14/week @ 2023-08-25 14/week @ 2023-09-01 16/week @ 2023-09-08 19/week @ 2023-09-15 1/week @ 2023-09-22 10/week @ 2023-09-29 13/week @ 2023-10-06 17/week @ 2023-10-13 16/week @ 2023-10-20 19/week @ 2023-10-27 17/week @ 2023-11-03 17/week @ 2023-11-10 21/week @ 2023-11-17

75 downloads per month

MIT/Apache

10KB
78 lines

USB HID device support for embedded devices

This crate provides minimalistic USB HID support for microcontrollers containing USB peripheral. It works with any microcontroler with usb-device support in HAL.

The support for HID provided by this crate is type-safe. Since USB HID requires complex report descriptors for all reports, only sending of structures that have associated HID report descriptor is permitted.

There is complete usage example in usb-hid-device-example.


lib.rs:

USB Human Interface Device (HID) support for microcontrollers based on usb-device.

This crate provides Hid structure for use with usb-device crate as described by usb.org.

See usbd-hid-device-example for usage example.

Dependencies

~200KB