From 1225120b92411f4fa1a9dc79af2fd85bd5aa6dcc Mon Sep 17 00:00:00 2001 From: Xyverz Date: Mon, 23 Jul 2018 12:23:44 -0700 Subject: 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 --- layouts/community/ortho_4x12/xyverz/config.h | 10 +++++----- layouts/community/ortho_4x12/xyverz/rules.mk | 7 ++++++- 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'layouts/community/ortho_4x12') 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 -- cgit v1.2.3