mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-20 12:15:06 +00:00
working
This commit is contained in:
parent
9487e92a6e
commit
4faddd3449
2 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// USING_MIDI
|
||||||
|
// USING_BACKLIGHT
|
||||||
#include "keymap_common.h"
|
#include "keymap_common.h"
|
||||||
#include "backlight.h"
|
#include "backlight.h"
|
||||||
#include "action_layer.h"
|
#include "action_layer.h"
|
||||||
|
|
|
@ -4,6 +4,21 @@ QUANTUM_DIR = quantum
|
||||||
SRC += $(QUANTUM_DIR)/keymap_common.c \
|
SRC += $(QUANTUM_DIR)/keymap_common.c \
|
||||||
$(QUANTUM_DIR)/led.c
|
$(QUANTUM_DIR)/led.c
|
||||||
|
|
||||||
|
ifdef KEYMAP
|
||||||
|
ifneq (,$(shell grep USING_MIDI 'keymaps/keymap_$(KEYMAP).c'))
|
||||||
|
MIDI_ENABLE=yes
|
||||||
|
$(info * Overriding MIDI_ENABLE setting - keymap_$(KEYMAP).c requires it)
|
||||||
|
endif
|
||||||
|
ifneq (,$(shell grep USING_UNICODE 'keymaps/keymap_$(KEYMAP).c'))
|
||||||
|
UNICODE_ENABLE=yes
|
||||||
|
$(info * Overriding UNICODE_ENABLE setting - keymap_$(KEYMAP).c requires it)
|
||||||
|
endif
|
||||||
|
ifneq (,$(shell grep USING_BACKLIGHT 'keymaps/keymap_$(KEYMAP).c'))
|
||||||
|
BACKLIGHT_ENABLE=yes
|
||||||
|
$(info * Overriding BACKLIGHT_ENABLE setting - keymap_$(KEYMAP).c requires it)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef CUSTOM_MATRIX
|
ifndef CUSTOM_MATRIX
|
||||||
SRC += $(QUANTUM_DIR)/matrix.c
|
SRC += $(QUANTUM_DIR)/matrix.c
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue