summaryrefslogtreecommitdiffstats
path: root/users/drashna/rules.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-03-06 22:12:17 -0800
committerGitHub <noreply@github.com>2022-03-06 22:12:17 -0800
commitff6c70415c536e6435023627197550889ffa1501 (patch)
tree79fd0a25632f7ed2483542b8ab0731b5b2709bbd /users/drashna/rules.mk
parentd8971d707eddea5d16ef5fa3dad807b494aed39f (diff)
[Keymap] Drashna Mouse keys and oled updates (#16556)
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r--users/drashna/rules.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index 4bc71b6939..12fa956b7d 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -53,6 +53,7 @@ CUSTOM_RGBLIGHT ?= yes
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
ifeq ($(strip $(CUSTOM_RGBLIGHT)), yes)
SRC += $(USER_PATH)/rgb/rgb_stuff.c
+ OPT_DEFS += -DCUSTOM_RGBLIGHT
ifeq ($(strip $(RGBLIGHT_NOEEPROM)), yes)
OPT_DEFS += -DRGBLIGHT_NOEEPROM
endif
@@ -67,6 +68,7 @@ CUSTOM_RGB_MATRIX ?= yes
ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes)
ifeq ($(strip $(CUSTOM_RGB_MATRIX)), yes)
SRC += $(USER_PATH)/rgb/rgb_matrix_stuff.c
+ OPT_DEFS += -DCUSTOM_RGB_MATRIX
endif
endif
@@ -86,7 +88,7 @@ ifeq ($(strip $(OLED_ENABLE)), yes)
QUANTUM_LIB_SRC += i2c_master.c
endif
ifeq ($(strip $(CUSTOM_OLED_DRIVER)), yes)
- OPT_DEFS += -DCUSTOM_OLED_DRIVER_CODE
+ OPT_DEFS += -DCUSTOM_OLED_DRIVER
SRC += $(USER_PATH)/oled/oled_stuff.c
endif
ifeq ($(strip $(OLED_DISPLAY_TEST)), yes)
@@ -99,6 +101,7 @@ CUSTOM_POINTING_DEVICE ?= yes
ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
ifeq ($(strip $(CUSTOM_POINTING_DEVICE)), yes)
SRC += $(USER_PATH)/pointing/pointing.c
+ OPT_DEFS += -DCUSTOM_POINTING_DEVICE
endif
endif