Add debug HID Report Descriptor as a build env 'BLE_GAMEPAD_DEBUG'#293
Add debug HID Report Descriptor as a build env 'BLE_GAMEPAD_DEBUG'#293lemmingDev merged 7 commits intolemmingDev:masterfrom
Conversation
|
Example of serial output Using something like https://eleccelerator.com/usbdescreqparser @lemmingDev is there anything else you would like added? |
|
Nice functionality Perhaps provide a link to https://eleccelerator.com/usbdescreqparser/ in the serial output Also, the line beginnings such as 000: , 016: and 032: seem to need to be removed before pasting them into the parser Maybe provide another output under it without them as well if that is the case, though I may be wrong Something like below? |
|
Thanks, first column is byte offset for the row. Updated as suggested. Would be nice to find a HidReportDescriptor analyser. |
|
Updates to include HID Report dumper. CI caught that I did not test the DEBUG env correctly. Noice. @lemmingDev feedback welcome. I was not sure about the forward reference for the dumpHIDReport, feel like there should be a better way. |
|
Extended the PR to include some updated CI, including platformIO builds using the debug option, to make sure extra code is compiling at least. Credit for the PlatformIO basics should be |
|
Thanks! |
Add a build env
BLE_GAMEPAD_DEBUGto dump the HID Report Descriptor, to make easy HID debugging.