fix hid generic various error

This commit is contained in:
hathach
2018-07-28 20:15:20 +07:00
parent c729db2294
commit 8b17c54609
7 changed files with 81 additions and 62 deletions

View File

@@ -171,6 +171,10 @@
#define CFG_TUD_MSC 0
#endif
// Generic (multiple) Report : Keyboard + Mouse + Gamepad + Joystick
#define TUD_OPT_HID_GENERIC (CFG_TUD_HID && ( (CFG_TUD_HID_KEYBOARD && !CFG_TUD_DESC_BOOT_KEYBOARD) || \
(CFG_TUD_HID_MOUSE && !CFG_TUD_DESC_BOOT_MOUSE) ))
#endif // TUSB_OPT_DEVICE_ENABLED
//--------------------------------------------------------------------