summaryrefslogtreecommitdiff
path: root/tinyusb/tusb_cfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/tusb_cfg.h')
-rw-r--r--tinyusb/tusb_cfg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tinyusb/tusb_cfg.h b/tinyusb/tusb_cfg.h
index bc55b580a..2a727147e 100644
--- a/tinyusb/tusb_cfg.h
+++ b/tinyusb/tusb_cfg.h
@@ -61,7 +61,10 @@
/// Enable HID Keyboard support
#define CFG_CLASS_HID_KEYBOARD
-#define CLASS_HID (defined CFG_CLASS_HID_KEYBOARD)
+/// Enable HID Mouse support
+#define CFG_CLASS_HID_MOUSE
+
+#define CLASS_HID ( (defined CFG_CLASS_HID_KEYBOARD) || (defined CFG_CLASS_HID_MOUSE) )
// TODO APP
#define USB_MAX_IF_NUM 8