diff options
author | Xyverz <xyverz@gmail.com> | 2018-07-23 12:23:44 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-07-23 12:23:44 -0700 |
commit | 1225120b92411f4fa1a9dc79af2fd85bd5aa6dcc (patch) | |
tree | 14192e61ccd95120cca8ffa13a7c728e0d5a7d6b /layouts/community | |
parent | f2bc70a2643bd158eb9910c61b682dafab83d41d (diff) |
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/community')
-rw-r--r-- | layouts/community/ortho_4x12/xyverz/config.h | 10 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/xyverz/rules.mk | 7 |
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 |