Skip to content

Commit

Permalink
fix failing keyboards
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzz committed Jan 4, 2024
1 parent 66574eb commit 64089e6
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions keyboards/aidansmithdotdev/fine40/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions keyboards/kbdfans/kbd67/rev2/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ VIA_ENABLE = yes
VIAL_ENABLE = yes
QMK_SETTINGS = no
TAP_DANCE_ENABLE = no
COMBO_ENABLE = no
2 changes: 1 addition & 1 deletion keyboards/keycapsss/kimiko/rev1/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions keyboards/kprepublic/bm16a/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ VIAL_ENABLE = yes
LTO_ENABLE = yes
MAGIC_ENABLE = no
QMK_SETTINGS = no
TAP_DANCE_ENABLE = no
1 change: 1 addition & 0 deletions keyboards/kprepublic/bm40hsrgb/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ QMK_SETTINGS = no
COMBO_ENABLE = no
TAP_DANCE_ENABLE = no
KEY_OVERRIDE_ENABLE = no
RGB_MATRIX_ENABLE = no
1 change: 1 addition & 0 deletions keyboards/sofle_choc/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ QMK_SETTINGS = no
MOUSEKEY_ENABLE = no
COMBO_ENABLE = no
KEY_OVERRIDE_ENABLE = no
RGB_MATRIX_ENABLE = no
12 changes: 6 additions & 6 deletions keyboards/thevankeyboards/minivan/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}


Expand Down
4 changes: 0 additions & 4 deletions quantum/quantum.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@
# include "process_unicode_common.h"
#endif

#ifdef VELOCIKEY_ENABLE
# include "velocikey.h"
#endif

#ifdef VIAL_ENABLE
# include "vial.h"
#endif
Expand Down

0 comments on commit 64089e6

Please sign in to comment.