summaryrefslogtreecommitdiff
path: root/keyboards/idobao/id67/post_rules.mk
diff options
context:
space:
mode:
authorVino Rodrigues <366673+vinorodrigues@users.noreply.github.com>2022-05-12 10:09:10 +1000
committerGitHub <noreply@github.com>2022-05-11 17:09:10 -0700
commit7fd05afb100966032ebd10378f68d0446e23ed71 (patch)
treef0cb4a9f3174b01d897dfc8ef6a15b90dd367c2c /keyboards/idobao/id67/post_rules.mk
parent37417d531d524d674ea7b1dcf8678f6679738e2f (diff)
downloadqmk_firmware-7fd05afb100966032ebd10378f68d0446e23ed71.tar.gz
qmk_firmware-7fd05afb100966032ebd10378f68d0446e23ed71.zip
[Keyboard] Revert "Fix id67 RGB Matrix (#16916)" - on IDOBAO ID67 kb (#16917)
Co-authored-by: Drashna Jaelre <drashna@live.com>
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