summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Bezerra <[email protected]>2021-06-07 21:29:24 +0200
committerMarcelo Bezerra <[email protected]>2021-06-07 21:29:24 +0200
commit89a53457d4859c794ca5d42ae720b3d777089068 (patch)
treea9b7b41eb9f34eb63648a3db2fb5a137499fee5a
parent8915e6be9297050049939218cf2833cf9f94dce7 (diff)
Add CFG_TUD_MAX_BUTTONS to the example
-rw-r--r--examples/device/hid_composite/src/tusb_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/device/hid_composite/src/tusb_config.h b/examples/device/hid_composite/src/tusb_config.h
index 3e608ed37..bc9192d13 100644
--- a/examples/device/hid_composite/src/tusb_config.h
+++ b/examples/device/hid_composite/src/tusb_config.h
@@ -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