summaryrefslogtreecommitdiff
path: root/quantum/quantum.mk
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-10-27 19:10:36 -0400
committerJack Humbert <jack.humb@gmail.com>2015-10-27 19:10:36 -0400
commite98c501a614385132a2e2a61a1242f12bab89969 (patch)
treef1f302d4ea2b6661f503b76782323545691ee87a /quantum/quantum.mk
parentd311fd8d1a0af3b767d26b520d399bf0db22f058 (diff)
almost there - keymap_key_to_keycode returning 16bits, maybeunicode
Diffstat (limited to 'quantum/quantum.mk')
-rw-r--r--quantum/quantum.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/quantum.mk b/quantum/quantum.mk
index c82e478725..691e17efde 100644
--- a/quantum/quantum.mk
+++ b/quantum/quantum.mk
@@ -11,10 +11,17 @@ endif
ifdef MIDI_ENABLE
SRC += $(QUANTUM_DIR)/keymap_midi.c \
$(QUANTUM_DIR)/beeps.c
+
+ OPT_DEFS += -DMIDI_ENABLE
endif
ifdef UNICODE_ENABLE
SRC += $(QUANTUM_DIR)/keymap_unicode.c
+ OPT_DEFS += -DUNICODE_ENABLE
+endif
+
+ifdef BLUETOOTH_ENABLE
+ OPT_DEFS += -DBLUETOOTH_ENABLE
endif
# Optimize size but this may cause error "relocation truncated to fit"