summaryrefslogtreecommitdiff
path: root/keyboards/idobao/id67/post_rules.mk
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-06-27 16:38:28 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-06-27 16:38:28 +0200
commit98b9909429aea0869f7a6f2f44ab386a4a3ff094 (patch)
treee1080a61bb89a75edc70818489f8044adf597c48 /keyboards/idobao/id67/post_rules.mk
parentb610965fd6d851484025166fb255078b1c809261 (diff)
parentfa3dd373b4925734d9843ae6014349069ffec353 (diff)
downloadqmk_firmware-98b9909429aea0869f7a6f2f44ab386a4a3ff094.tar.gz
qmk_firmware-98b9909429aea0869f7a6f2f44ab386a4a3ff094.zip
Merge branch 'master' into taamas
Diffstat (limited to 'keyboards/idobao/id67/post_rules.mk')
-rw-r--r--keyboards/idobao/id67/post_rules.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/idobao/id67/post_rules.mk b/keyboards/idobao/id67/post_rules.mk
new file mode 100644
index 0000000000..5eecdef4ce
--- /dev/null
+++ b/keyboards/idobao/id67/post_rules.mk
@@ -0,0 +1,14 @@
+# Some ID67 variants (v1 base build & "Bestype") have a solid back plate,
+# this enables switching off thoes LEDs
+# Usage: `make idobao/id67:default UNDERGLOW=off`
+
+ifeq ($(findstring off,$(UNDERGLOW)), off)
+ $(info ** UNDERGLOW OFF)
+ OPT_DEFS += -DID67_DISABLE_UNDERGLOW
+else ifeq ($(findstring no,$(UNDERGLOW)), no)
+ $(info ** NO UNDERGLOW)
+ OPT_DEFS += -DID67_DISABLE_UNDERGLOW
+else ifeq ($(findstring 0,$(UNDERGLOW)), 0)
+ $(info ** Nil UNDERGLOW)
+ OPT_DEFS += -DID67_DISABLE_UNDERGLOW
+endif