summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/community/ortho_4x12/xyverz/config.h10
-rw-r--r--layouts/community/ortho_4x12/xyverz/rules.mk7
2 files changed, 11 insertions, 6 deletions
diff --git a/layouts/community/ortho_4x12/xyverz/config.h b/layouts/community/ortho_4x12/xyverz/config.h
index ec32e71ce4..d2c3297677 100644
--- a/layouts/community/ortho_4x12/xyverz/config.h
+++ b/layouts/community/ortho_4x12/xyverz/config.h
@@ -8,15 +8,15 @@
#define EE_HANDS
#undef RGBLED_NUM
-#ifdef KEYBOARD_planck_rev5
+#if defined(KEYBOARD_planck_rev5)
#define RGBLED_NUM 10
#define RGB_DI_PIN D1
-#endif
-#ifdef KEYBOARD_levinson_rev2
+#elif defined(KEYBOARD_levinson_rev2)
#define RGBLED_NUM 12
-#endif
-#ifdef KEYBOARD_lets_split_rev2
+#elif defined(KEYBOARD_lets_split_rev2)
#define RGBLED_NUM 8
+#else
+ #define RGBLED_NUM 1
#endif
#ifdef KEYBOARD_jj40
#define RGBLED_NUM 5
diff --git a/layouts/community/ortho_4x12/xyverz/rules.mk b/layouts/community/ortho_4x12/xyverz/rules.mk
index 3ab674a2a4..852e38f24e 100644
--- a/layouts/community/ortho_4x12/xyverz/rules.mk
+++ b/layouts/community/ortho_4x12/xyverz/rules.mk
@@ -1,7 +1,12 @@
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable RGB Underglow functionality
AUDIO_ENABLE = no # Audio output on port C6
+ifeq ("$(KEYBOARD)","vitamins_included")
+ RGBLIGHT_ENABLE = no
+else
+ RGBLIGHT_ENABLE = yes
+endif
+
ifndef QUANTUM_DIR
include ../../../../Makefile
endif