fix failing keyboards
This commit is contained in:
parent
66574eb854
commit
64089e6782
@ -5,3 +5,4 @@ ENCODER_MAP_ENABLE = yes
|
||||
# Options to reduce firmware size:
|
||||
LTO_ENABLE = yes # make the compiler work harder
|
||||
QMK_SETTINGS = no # enables the tab to change QMK settings from the GUI
|
||||
TAP_DANCE_ENABLE = no
|
||||
|
@ -3,3 +3,4 @@ VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
QMK_SETTINGS = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
COMBO_ENABLE = no
|
||||
|
@ -4,7 +4,7 @@ ENCODER_MAP_ENABLE = yes
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard 'old' RGB lightning
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard 'old' RGB lightning
|
||||
|
||||
MOUSEKEY_ENABLE = yes
|
||||
# Disabled, because firmware size is to big for Pro Micros
|
||||
|
@ -5,3 +5,4 @@ VIAL_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
MAGIC_ENABLE = no
|
||||
QMK_SETTINGS = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
|
@ -5,3 +5,4 @@ QMK_SETTINGS = no
|
||||
COMBO_ENABLE = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
KEY_OVERRIDE_ENABLE = no
|
||||
RGB_MATRIX_ENABLE = no
|
||||
|
@ -13,3 +13,4 @@ QMK_SETTINGS = no
|
||||
MOUSEKEY_ENABLE = no
|
||||
COMBO_ENABLE = no
|
||||
KEY_OVERRIDE_ENABLE = no
|
||||
RGB_MATRIX_ENABLE = no
|
||||
|
@ -44,26 +44,26 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
void process_indicator_update(layer_state_t state, led_t led_state) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
setrgb(0, 0, 0, (LED_TYPE *)&led[i]);
|
||||
setrgb(0, 0, 0, (rgb_led_t *)&led[i]);
|
||||
}
|
||||
if (led_state.caps_lock) {
|
||||
setrgb(255, 0, 0, (LED_TYPE *)&led[0]);
|
||||
setrgb(255, 0, 0, (rgb_led_t *)&led[0]);
|
||||
}
|
||||
|
||||
if (state & (1<<1)) {
|
||||
setrgb(255, 0, 255, (LED_TYPE *)&led[0]);
|
||||
setrgb(255, 0, 255, (rgb_led_t *)&led[0]);
|
||||
}
|
||||
|
||||
if (state & (1<<2)) {
|
||||
setrgb(0, 0, 255, (LED_TYPE *)&led[1]);
|
||||
setrgb(0, 0, 255, (rgb_led_t *)&led[1]);
|
||||
}
|
||||
|
||||
if (state & (1<<3)) {
|
||||
setrgb(255, 255, 0, (LED_TYPE *)&led[1]);
|
||||
setrgb(255, 255, 0, (rgb_led_t *)&led[1]);
|
||||
}
|
||||
|
||||
if (state & (1<<1)) {
|
||||
setrgb(10, 255, 125, (LED_TYPE *)&led[2]);
|
||||
setrgb(10, 255, 125, (rgb_led_t *)&led[2]);
|
||||
}
|
||||
|
||||
|
||||
|
@ -70,10 +70,6 @@
|
||||
# include "process_unicode_common.h"
|
||||
#endif
|
||||
|
||||
#ifdef VELOCIKEY_ENABLE
|
||||
# include "velocikey.h"
|
||||
#endif
|
||||
|
||||
#ifdef VIAL_ENABLE
|
||||
# include "vial.h"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user