diff options
| -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 ec32e71ce..d2c329767 100644 --- a/layouts/community/ortho_4x12/xyverz/config.h +++ b/layouts/community/ortho_4x12/xyverz/config.h | |||
| @@ -8,15 +8,15 @@ | |||
| 8 | #define EE_HANDS | 8 | #define EE_HANDS |
| 9 | 9 | ||
| 10 | #undef RGBLED_NUM | 10 | #undef RGBLED_NUM |
| 11 | #ifdef KEYBOARD_planck_rev5 | 11 | #if defined(KEYBOARD_planck_rev5) |
| 12 | #define RGBLED_NUM 10 | 12 | #define RGBLED_NUM 10 |
| 13 | #define RGB_DI_PIN D1 | 13 | #define RGB_DI_PIN D1 |
| 14 | #endif | 14 | #elif defined(KEYBOARD_levinson_rev2) |
| 15 | #ifdef KEYBOARD_levinson_rev2 | ||
| 16 | #define RGBLED_NUM 12 | 15 | #define RGBLED_NUM 12 |
| 17 | #endif | 16 | #elif defined(KEYBOARD_lets_split_rev2) |
| 18 | #ifdef KEYBOARD_lets_split_rev2 | ||
| 19 | #define RGBLED_NUM 8 | 17 | #define RGBLED_NUM 8 |
| 18 | #else | ||
| 19 | #define RGBLED_NUM 1 | ||
| 20 | #endif | 20 | #endif |
| 21 | #ifdef KEYBOARD_jj40 | 21 | #ifdef KEYBOARD_jj40 |
| 22 | #define RGBLED_NUM 5 | 22 | #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 @@ | |||
| 1 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 1 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
| 2 | RGBLIGHT_ENABLE = yes # Enable RGB Underglow functionality | ||
| 3 | AUDIO_ENABLE = no # Audio output on port C6 | 2 | AUDIO_ENABLE = no # Audio output on port C6 |
| 4 | 3 | ||
| 4 | ifeq ("$(KEYBOARD)","vitamins_included") | ||
| 5 | RGBLIGHT_ENABLE = no | ||
| 6 | else | ||
| 7 | RGBLIGHT_ENABLE = yes | ||
| 8 | endif | ||
| 9 | |||
| 5 | ifndef QUANTUM_DIR | 10 | ifndef QUANTUM_DIR |
| 6 | include ../../../../Makefile | 11 | include ../../../../Makefile |
| 7 | endif | 12 | endif |
