1
0
mirror of https://github.com/mist-devel/mist-firmware.git synced 2026-04-28 21:18:30 +00:00

HID: Read all string descriptors

Makes RETROFLAG Classic USB Gamepad return movement data
This commit is contained in:
Gyorgy Szombathelyi
2021-08-30 22:17:06 +02:00
parent a8eef6235f
commit 38b893b27b
7 changed files with 179 additions and 18 deletions

View File

@@ -57,6 +57,12 @@
#endif
// ------------ usb debugging -----------
#if 0
// usb debug output in green
#define usb_debugf(a, ...) iprintf("\033[1;32mUSB: " a "\033[0m\n", ##__VA_ARGS__)
#else
#define usb_debugf(...)
#endif
#if 0
#define hidp_debugf(a, ...) iprintf("\033[1;34mHIDP: " a "\033[0m\n", ##__VA_ARGS__)