Add CFG_TUD_MAX_BUTTONS to the example

This commit is contained in:
Marcelo Bezerra 2021-06-07 21:29:24 +02:00 committed by hathach
parent ce634f226e
commit f37c8ed749
1 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,10 @@
// HID buffer size Should be sufficient to hold ID (if any) + Data
#define CFG_TUD_HID_EP_BUFSIZE 16
// Number of button on the gamepad 16 or 32
#define CFG_TUD_MAX_BUTTONS 16
#ifdef __cplusplus
}
#endif