summaryrefslogtreecommitdiff
path: root/users/jarred/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/jarred/rules.mk')
-rw-r--r--users/jarred/rules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/users/jarred/rules.mk b/users/jarred/rules.mk
index 3c15cd0f9a..9a00cbf72b 100644
--- a/users/jarred/rules.mk
+++ b/users/jarred/rules.mk
@@ -1 +1,16 @@
SRC += jarred.c
+
+ifneq (,$(findstring planck,$(KEYBOARD)))
+ # Enable backlight for rev4 planck only
+ ifneq (,$(findstring rev4,$(KEYBOARD)))
+ BACKLIGHT_ENABLE = yes
+ BACKLIGHT_BREATHING = yes
+ else
+ BACKLIGHT_ENABLE = no
+ BACKLIGHT_BREATHING = no
+ endif
+
+ AUDIO_ENABLE = yes
+endif
+
+MOUSEKEY_ENABLE = no