1
0
Fork 0

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
This commit is contained in:
Xyverz 2018-07-23 12:23:44 -07:00 committed by Drashna Jaelre
parent f2bc70a264
commit 1225120b92
2 changed files with 11 additions and 6 deletions

View File

@ -8,15 +8,15 @@
#define EE_HANDS #define EE_HANDS
#undef RGBLED_NUM #undef RGBLED_NUM
#ifdef KEYBOARD_planck_rev5 #if defined(KEYBOARD_planck_rev5)
#define RGBLED_NUM 10 #define RGBLED_NUM 10
#define RGB_DI_PIN D1 #define RGB_DI_PIN D1
#endif #elif defined(KEYBOARD_levinson_rev2)
#ifdef KEYBOARD_levinson_rev2
#define RGBLED_NUM 12 #define RGBLED_NUM 12
#endif #elif defined(KEYBOARD_lets_split_rev2)
#ifdef KEYBOARD_lets_split_rev2
#define RGBLED_NUM 8 #define RGBLED_NUM 8
#else
#define RGBLED_NUM 1
#endif #endif
#ifdef KEYBOARD_jj40 #ifdef KEYBOARD_jj40
#define RGBLED_NUM 5 #define RGBLED_NUM 5

View File

@ -1,7 +1,12 @@
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable RGB Underglow functionality
AUDIO_ENABLE = no # Audio output on port C6 AUDIO_ENABLE = no # Audio output on port C6
ifeq ("$(KEYBOARD)","vitamins_included")
RGBLIGHT_ENABLE = no
else
RGBLIGHT_ENABLE = yes
endif
ifndef QUANTUM_DIR ifndef QUANTUM_DIR
include ../../../../Makefile include ../../../../Makefile
endif endif