Add CFG_TUD_MAX_BUTTONS to the example
This commit is contained in:
parent
ce634f226e
commit
f37c8ed749
|
@ -104,6 +104,10 @@
|
||||||
// HID buffer size Should be sufficient to hold ID (if any) + Data
|
// HID buffer size Should be sufficient to hold ID (if any) + Data
|
||||||
#define CFG_TUD_HID_EP_BUFSIZE 16
|
#define CFG_TUD_HID_EP_BUFSIZE 16
|
||||||
|
|
||||||
|
// Number of button on the gamepad 16 or 32
|
||||||
|
#define CFG_TUD_MAX_BUTTONS 16
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue