summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2020-07-22 13:57:47 -0700
committerDrashna Jael're <drashna@live.com>2020-09-30 03:04:19 -0700
commit92eeea4362283d5d3342cc4284b317a775d6db19 (patch)
tree56e6250717ab055784829c66439bbd9c6c88c4e3
parentb4019eef6e08b2fb185aa4b6b5926ef843bf0203 (diff)
Disable NKRO on V-USB controllers (#9054)
* Disable NKRO on V-USB controllers * not _currently_ supported text Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--tmk_core/common.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/tmk_core/common.mk b/tmk_core/common.mk
index 60a317fbbf..c9d6b1d40b 100644
--- a/tmk_core/common.mk
+++ b/tmk_core/common.mk
@@ -104,8 +104,12 @@ ifeq ($(strip $(COMMAND_ENABLE)), yes)
endif
ifeq ($(strip $(NKRO_ENABLE)), yes)
- TMK_COMMON_DEFS += -DNKRO_ENABLE
- SHARED_EP_ENABLE = yes
+ ifneq ($(PROTOCOL),VUSB)
+ TMK_COMMON_DEFS += -DNKRO_ENABLE
+ SHARED_EP_ENABLE = yes
+ else
+ $(info NKRO is not currently supported on V-USB, and has been disabled.)
+ endif
endif
ifeq ($(strip $(USB_6KRO_ENABLE)), yes)