2 releases

0.1.1 Feb 2, 2020
0.1.0 Feb 2, 2020

#1922 in Hardware support

21 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

~220KB