aboutsummaryrefslogtreecommitdiffstats
path: root/users/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/rules.mk')
-rw-r--r--users/drashna/rules.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/users/drashna/rules.mk b/users/drashna/rules.mk
index 051368ff5..b7523a436 100644
--- a/users/drashna/rules.mk
+++ b/users/drashna/rules.mk
@@ -22,9 +22,6 @@ endif
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
SRC += rgb_stuff.c
- ifeq ($(strip $(INDICATOR_LIGHTS)), yes)
- OPT_DEFS += -DINDICATOR_LIGHTS
- endif
ifeq ($(strip $(RGBLIGHT_TWINKLE)), yes)
OPT_DEFS += -DRGBLIGHT_TWINKLE
endif
@@ -62,3 +59,10 @@ endif
ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
SRC += oled_stuff.c
endif
+
+ifeq ($(strip $(PIMORONI_TRACKBALL_ENABLE)), yes)
+ POINTING_DEVICE_ENABLE := yes
+ OPT_DEFS += -DPIMORONI_TRACKBALL_ENABLE
+ SRC += pimoroni_trackball.c
+ QUANTUM_LIB_SRC += i2c_master.c
+endif