adb_usb: Initialize keyboard dynamically #671

Extended and ISO keyboard are properly setup even after hot-plug
This commit is contained in:
tmk 2021-11-16 13:26:00 +09:00
parent 0de65d999d
commit d0cddedcdc
3 changed files with 90 additions and 55 deletions

View file

@ -30,6 +30,9 @@
#include "util.h"
// https://gcc.gnu.org/onlinedocs/cpp/Stringizing.html
#define xstr(s) str(s)
#define str(s) #s
#ifndef NO_PRINT