summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorXyverz <xyverz@gmail.com>2018-07-23 21:23:44 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-23 21:23:44 +0200
commit1225120b92411f4fa1a9dc79af2fd85bd5aa6dcc (patch)
tree14192e61ccd95120cca8ffa13a7c728e0d5a7d6b /layouts
parentf2bc70a2643bd158eb9910c61b682dafab83d41d (diff)
downloadqmk_firmware-1225120b92411f4fa1a9dc79af2fd85bd5aa6dcc.tar.gz
qmk_firmware-1225120b92411f4fa1a9dc79af2fd85bd5aa6dcc.tar.xz
Keymap: Adjustments to my Ortho_4x12 layout configs (#3466)
* Rules for vitamins_included Added a section to disable RGB underglow for the Let's Split Vitamins Included board. * fixing ortho_4x12 configs
Diffstat (limited to 'layouts')
-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 ec32e71ce..d2c329767 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 3ab674a2a..852e38f24 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