summaryrefslogtreecommitdiff
path: root/keyboards/idobao/montex/v2/post_rules.mk
diff options
context:
space:
mode:
authorIBNobody <IBNobody@users.noreply.github.com>2022-06-15 21:04:30 -0500
committerGitHub <noreply@github.com>2022-06-15 19:04:30 -0700
commit8e5f8a5ff94be31289a14ac734827edf5bed6593 (patch)
treeb7602e7ceb697659bf020ab1d56a8e62447b4c32 /keyboards/idobao/montex/v2/post_rules.mk
parentd3dfa83b4069507df5e8e36def33826a269cd720 (diff)
[Keyboard] Add Idobao Montex RGB (V2) (#16897)
* Add Montex V2 (#10) * Update readme.md * Update rules.mk * Update config.h * Update keyboards/idobao/montex/v2/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/idobao/montex/v2/rules.mk Add Layouts Co-authored-by: Drashna Jaelre <drashna@live.com> * Merged code fron work done with @vinorodrigues * Update keyboards/idobao/montex/v2/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/idobao/montex/v2/v2.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/idobao/montex/v2/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * Removing via_nug keymap * update to montex code (#11) * remove VIA_QMK_RGBLIGHT_ENABLE * more data driven config, simple copyright headers, some code cleanup Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com>
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