diff options
author | QMK Bot <hello@qmk.fm> | 2022-05-12 00:09:49 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-05-12 00:09:49 +0000 |
commit | b03daac76b094c2ffbfbc3390fce7405db3e6ab8 (patch) | |
tree | 6a728196a357a98347afcff39e8c57e40586c776 /keyboards/idobao/id67/post_rules.mk | |
parent | 12fe4c49de6c8a68d65486086dadb7a38fc19280 (diff) | |
parent | 7fd05afb100966032ebd10378f68d0446e23ed71 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/idobao/id67/post_rules.mk')
-rw-r--r-- | keyboards/idobao/id67/post_rules.mk | 14 |
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 |