mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 21:41:09 +00:00
Add CFG_TUD_MAX_BUTTONS to the example
This commit is contained in:
parent
8915e6be92
commit
89a53457d4
@ -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…
x
Reference in New Issue
Block a user