Commit Graph

11 Commits

Author SHA1 Message Date
75e219179d Fix array and variable descriptions being swapped 2022-09-12 21:51:46 +02:00
917484aae0 Update examples in usb_hid_item README 2022-09-10 02:01:11 +02:00
7768133000 Reorganize usb_hid_item
It make more sense to make the "tree" (actually "stateful") parser the
default.
2022-09-10 01:44:41 +02:00
5fd7738d7e Remove redundant index field from tree::Parser 2022-09-10 01:39:47 +02:00
78ff3335fe Implement support for Push/Pop in "tree" parser 2022-09-10 01:38:13 +02:00
5e4b2fdb1d Fix usages not being cleared in usb_hid_item tree example 2022-09-09 18:51:19 +02:00
c0d3aa0719 Update README for usb_hid_item 2022-09-09 18:41:39 +02:00
5b7ab472d4 Fix Drop impl for Collection not iterating collection 2022-09-09 18:36:34 +02:00
012edd34de Add prototype "tree" parser for HID items 2022-09-09 17:22:56 +02:00
e2ed974596 Add documentation to usb_hid_item 2022-09-09 14:38:04 +02:00
2175e1ed74 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.
2022-09-09 02:42:00 +02:00