fix failing boards

This commit is contained in:
Ilya Zhuravlev 2024-07-06 11:43:10 -06:00
parent e9d70b410a
commit 69a6732861
12 changed files with 22 additions and 20 deletions

View File

@ -1,9 +1,10 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
VIALRGB_ENABLE = yes
LTO_ENABLE = yes
QMK_SETTINGS = no
TAP_DANCE_ENABLE = yes
COMBO_ENABLE = no
KEY_OVERRIDE_ENABLE = yes
RGB_MATRIX_ENABLE = no

View File

@ -4,3 +4,5 @@ VIAL_ENABLE = yes # Enable VIAL
VIALRGB_ENABLE = yes # Enable VIALRGB
ENCODER_MAP_ENABLE = yes # Enable knob
QMK_SETTINGS = no

View File

@ -7,3 +7,5 @@ ENCODER_ENABLE = yes
ENCODER_MAP_ENABLE = yes
VIALRGB_ENABLE = yes
QMK_SETTINGS = no

View File

@ -37,6 +37,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, GUI_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______
_______, GU_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};

View File

@ -4,3 +4,6 @@ LTO_ENABLE = yes
QMK_SETTINGS = no
CONSOLE_ENABLE = no
COMMAND_ENABLE = no
TAP_DANCE_ENABLE = no
KEY_OVERRIDE_ENABLE = no
COMBO_ENABLE = no

View File

@ -97,7 +97,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, QK_RBT, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, _______, RGB_HUI,
_______, _______, KC_SCRL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI,
_______, _______, _______, _______, _______, _______, KC_NUM, _______, _______, _______, _______, _______, RGB_VAI, RGB_SAD,
_______, GUI_TOG, _______, _______, _______, _______, _______, _______, RGB_VAD, _______
_______, GU_TOGG, _______, _______, _______, _______, _______, _______, RGB_VAD, _______
),
};

View File

@ -2,3 +2,4 @@ VIA_ENABLE = yes
VIAL_ENABLE = yes
VIALRGB_ENABLE = yes
ENCODER_MAP_ENABLE = yes
COMBO_ENABLE = no

View File

@ -15,17 +15,10 @@
*/
#pragma once
#ifndef CONFIG_USER_H
#define CONFIG_USER_H
#define VIAL_KEYBOARD_UID {0xC0, 0xED, 0x8D, 0x24, 0x88, 0x5F, 0xD0, 0x9F}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 5 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 5 }
#include "../../config.h"
#define TAPPING_TERM 175
#define TAPPING_TOGGLE 3
#endif
// place overrides here

View File

@ -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, (rgb_led_t *)&led[i]);
rgblight_setrgb_at(0, 0, 0, i);
}
if (led_state.caps_lock) {
setrgb(255, 0, 0, (rgb_led_t *)&led[0]);
rgblight_setrgb_at(255, 0, 0, 0);
}
if (state & (1<<1)) {
setrgb(255, 0, 255, (rgb_led_t *)&led[0]);
rgblight_setrgb_at(255, 0, 255, 0);
}
if (state & (1<<2)) {
setrgb(0, 0, 255, (rgb_led_t *)&led[1]);
rgblight_setrgb_at(0, 0, 255, 1);
}
if (state & (1<<3)) {
setrgb(255, 255, 0, (rgb_led_t *)&led[1]);
rgblight_setrgb_at(255, 255, 0, 1);
}
if (state & (1<<1)) {
setrgb(10, 255, 125, (rgb_led_t *)&led[2]);
rgblight_setrgb_at(10, 255, 125, 2);
}

View File

@ -42,7 +42,6 @@
"knight": true,
"christmas": true,
"static_gradient": true,
"rgb_test": true,
"alternating": true,
"twinkle": true
}

View File

@ -1,4 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
QMK_SETTINGS = yes
TAP_DANCE_ENABLE = yes
QMK_SETTINGS = no

View File

@ -6,3 +6,5 @@ KEY_LOCK_ENABLE = no
LTO_ENABLE = yes
COMBO_ENABLE = no
KEY_OVERRIDE_ENABLE = no
QMK_SETTINGS = no