HCoop
/
jackhill
/
qmk
/
firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Word Per Minute calculation feature (#8054)
[jackhill/qmk/firmware.git]
/
common_features.mk
diff --git
a/common_features.mk
b/common_features.mk
index
269ca2b
..
50b1127
100644
(file)
--- a/
common_features.mk
+++ b/
common_features.mk
@@
-322,6
+322,11
@@
ifeq ($(strip $(USB_HID_ENABLE)), yes)
include $(TMK_DIR)/protocol/usb_hid.mk
endif
+ifeq ($(strip $(WPM_ENABLE)), yes)
+ SRC += $(QUANTUM_DIR)/wpm.c
+ OPT_DEFS += -DWPM_ENABLE
+endif
+
ifeq ($(strip $(ENCODER_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/encoder.c
OPT_DEFS += -DENCODER_ENABLE