Adding a secondary HID interface that emulates a keyboard.

With it, an app can send a password directly to the host, like it is typed by user.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-12-30 01:41:49 +01:00
parent 20bd2c8b41
commit 411755dee4
6 changed files with 99 additions and 13 deletions

View File

@@ -106,7 +106,7 @@
#define CFG_TUD_CDC 0
#define CFG_TUD_MSC 0
#ifdef USB_ITF_HID
#define CFG_TUD_HID 1
#define CFG_TUD_HID 2
#else
#define CFG_TUD_HID 0
#endif