Add optional support for 32 gamepad buttons
This commit is contained in:
@@ -316,6 +316,12 @@
|
||||
#error Control Endpoint Max Packet Size cannot be larger than 64
|
||||
#endif
|
||||
|
||||
#ifndef TUD_OPT_GAMEPAD_32_BUTTONS
|
||||
#define CFG_TUSB_MAX_BUTTONS 16
|
||||
#else
|
||||
#define CFG_TUSB_MAX_BUTTONS 32
|
||||
#endif
|
||||
|
||||
#endif /* _TUSB_OPTION_H_ */
|
||||
|
||||
/** @} */
|
||||
|
||||
Reference in New Issue
Block a user