summaryrefslogtreecommitdiff
path: root/keyboards/idobao/montex/v2/post_rules.mk
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-16 02:05:06 +0000
committerQMK Bot <hello@qmk.fm>2022-06-16 02:05:06 +0000
commitcac5f962759508b71c92b173eaa415db7ab95d17 (patch)
tree96c7607cd3b94702a9e7fa3a539f9a266d718078 /keyboards/idobao/montex/v2/post_rules.mk
parentfa8fb6027952cfeda532ff4712c07e80cde8cfbf (diff)
parent8e5f8a5ff94be31289a14ac734827edf5bed6593 (diff)
Merge remote-tracking branch 'origin/master' into develop
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