summaryrefslogtreecommitdiff
path: root/keyboards/idobao/montex/v2/post_rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/idobao/montex/v2/post_rules.mk')
-rw-r--r--keyboards/idobao/montex/v2/post_rules.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/idobao/montex/v2/post_rules.mk b/keyboards/idobao/montex/v2/post_rules.mk
new file mode 100644
index 0000000000..f2d43fa6ac
--- /dev/null
+++ b/keyboards/idobao/montex/v2/post_rules.mk
@@ -0,0 +1,8 @@
+# some (if not most) Montex have a solid back plate,
+# this enables switching off the bottom facing LEDs
+# Usage: `make idobao/montex/v2:default UNDERGLOW=off`
+
+UNDERGLOW ?= yes
+ifneq ($(strip $(UNDERGLOW)), yes)
+ OPT_DEFS += -DID27_DISABLE_UNDERGLOW
+endif