Split usb_report_descriptor into usb_hid_{item,usage}

This is cleaner IMO.

* usb_hid_item deals with parsing the report descriptor.
* usb_hid_usage has tables that define each usage.
This commit is contained in:
David Hoppenbrouwers
2022-09-09 02:42:00 +02:00
parent 7f6eb97569
commit 2175e1ed74
11 changed files with 121 additions and 122 deletions

5
usb_hid_item/Cargo.toml Normal file
View File

@ -0,0 +1,5 @@
[package]
name = "usb_hid_item"
version = "0.1.0"
edition = "2021"
license = "MIT"