summaryrefslogtreecommitdiffstats
path: root/keyboards/idobao/id61/post_rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/idobao/id61/post_rules.mk')
-rw-r--r--keyboards/idobao/id61/post_rules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/idobao/id61/post_rules.mk b/keyboards/idobao/id61/post_rules.mk
new file mode 100644
index 0000000000..673b260396
--- /dev/null
+++ b/keyboards/idobao/id61/post_rules.mk
@@ -0,0 +1,8 @@
+# The Denwir D60 case has a sealed/solid undercase,
+# this enables switching off thoes LEDs
+# Usage: `make idobao/id61:default UNDERGLOW=off`
+
+UNDERGLOW ?= yes
+ifneq ($(strip $(UNDERGLOW)), yes)
+ OPT_DEFS += -DID61_DISABLE_UNDERGLOW
+endif