diff options
| author | hathach <[email protected]> | 2018-07-28 20:15:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-28 22:42:44 +0700 |
| commit | 8b17c5460950c425e17a055940e3a02cf6b29962 (patch) | |
| tree | dc730af4daada5828094c2436ab7568171b69e8b /src/tusb_option.h | |
| parent | c729db229422a2771be394ea4ac8de65eac619e4 (diff) | |
fix hid generic various error
Diffstat (limited to 'src/tusb_option.h')
| -rw-r--r-- | src/tusb_option.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h index 251fb2470..4af327a5d 100644 --- a/src/tusb_option.h +++ b/src/tusb_option.h @@ -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
//--------------------------------------------------------------------
|
