fix vial keymaps

This commit is contained in:
Ilya Zhuravlev 2024-04-20 23:31:01 -06:00
parent eb32093dc6
commit 20710456a9
11 changed files with 14 additions and 14 deletions

View File

@ -39,9 +39,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_SERIAL_PD2
#ifdef RGBLIGHT_ENABLE
# undef RGBLED_NUM
# undef RGBLIGHT_LED_COUNT
# define RGBLIGHT_ANIMATIONS
# define RGBLED_NUM 54
# define RGBLIGHT_LED_COUNT 54
# undef RGBLED_SPLIT
# define RGBLED_SPLIT \
{ 27, 27 }

View File

@ -7,7 +7,7 @@ RGB_MATRIX_ENABLE = no # Can't have RGBLIGHT and RGB_MATRIX at the same time.
MOUSEKEY_ENABLE = no
OLED_ENABLE = no
OLED_DRIVER = SSD1306
EXTRAKEY_ENABLE = yes
EXTRAKEY_ENABLE = no
COMBO_ENABLE = no
QMK_SETTINGS = no

View File

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

View File

@ -19,7 +19,6 @@
#define DRIVER_1_LED_TOTAL 66
#define DRIVER_2_LED_TOTAL 32
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
//enable RGB Matrix Effects for Vial
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS

View File

@ -19,7 +19,6 @@
#define DRIVER_1_LED_TOTAL 66
#define DRIVER_2_LED_TOTAL 33
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
//enable RGB Matrix Effects for Vial
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS

View File

@ -93,16 +93,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#ifdef RGBLIGHT_LAYERS
const rgblight_segment_t PROGMEM my_layerQW_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0, RGBLED_NUM, HSV_OFF}
{0, RGBLIGHT_LED_COUNT, HSV_OFF}
);
const rgblight_segment_t PROGMEM my_layerLW_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0, RGBLED_NUM, HSV_CYAN}
{0, RGBLIGHT_LED_COUNT, HSV_CYAN}
);
const rgblight_segment_t PROGMEM my_layerRS_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0, RGBLED_NUM, HSV_RED}
{0, RGBLIGHT_LED_COUNT, HSV_RED}
);
const rgblight_segment_t PROGMEM my_layerAD_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{0, RGBLED_NUM, HSV_GREEN}
{0, RGBLIGHT_LED_COUNT, HSV_GREEN}
);
// Now define the array of layers. Later layers take precedence

View File

@ -1,7 +1,7 @@
# Build options
BACKLIGHT_ENABLE = no
BOOTMAGIC_ENABLE = yes
COMBO_ENABLE = yes
COMBO_ENABLE = no
KEY_OVERRIDE_ENABLE = no
LTO_ENABLE = yes
MOUSEKEY_ENABLE = no

View File

@ -17,4 +17,4 @@
#define VIAL_UNLOCK_COMBO_ROWS { 5, 6 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 11 }
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
#define RGB_MATRIX_LED_COUNT RGBLIGHT_LED_COUNT

View File

@ -27,7 +27,7 @@
#define USB_MAX_POWER_CONSUMPTION 100
#define PERMISSIVE_HOLD
#define RGB_DI_PIN D0
#define RGBLED_NUM 3
#define RGBLIGHT_LED_COUNT 3
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_SLEEP
#define IS_COMMAND() ( keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) )

View File

@ -1 +0,0 @@
{"version": 1, "uid": -1, "layout": [[["KC_ESCAPE", -1, "KC_F1", "KC_F2", "KC_F3", "KC_F4", "KC_F5", "KC_F6", "KC_F7", "KC_F8", -1, "KC_F9", "KC_F10", "KC_F11", "KC_F12", "KC_PSCREEN", "KC_SCROLLLOCK", "KC_PAUSE"], ["KC_GRAVE", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_MINUS", "KC_EQUAL", "KC_BSPACE", -1, "KC_INSERT", "KC_HOME", "KC_PGUP"], ["KC_TAB", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_LBRACKET", "KC_RBRACKET", "KC_BSLASH", -1, "KC_DELETE", "KC_END", "KC_PGDOWN"], ["KC_CAPSLOCK", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCOLON", "KC_QUOTE", -1, "KC_ENTER", "KC_NO", -1, -1, -1], ["KC_LSHIFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMMA", "KC_DOT", "KC_SLASH", -1, -1, "KC_RSHIFT", "KC_NO", -1, "KC_UP", -1], ["KC_LCTRL", "KC_LGUI", "KC_LALT", -1, -1, -1, "KC_SPACE", -1, -1, -1, "KC_RGUI", -1, "MO(1)", -1, "KC_RCTRL", "KC_LEFT", "KC_DOWN", "KC_RIGHT"]], [["KC_TRNS", -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1, "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1, "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "RESET", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1, "KC_TRNS", "KC_TRNS", "KC_TRNS"], ["KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1, "KC_TRNS", "KC_NO", -1, -1, -1], ["KC_TRNS", "RGB_TOG", "RGB_MOD", "RGB_HUI", "RGB_SAI", "RGB_VAI", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", -1, -1, "KC_TRNS", "KC_NO", -1, "KC_VOLU", -1], ["KC_TRNS", "KC_TRNS", "KC_TRNS", -1, -1, -1, "KC_TRNS", -1, -1, -1, "KC_TRNS", -1, "KC_TRNS", -1, "KC_TRNS", "KC_TRNS", "KC_VOLD", "KC_TRNS"]]], "encoder_layout": [[], []], "layout_options": 0, "macro": [[], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []], "vial_protocol": -1, "via_protocol": 9}

View File

@ -4,4 +4,6 @@
#define VIAL_KEYBOARD_UID {0xAF, 0xD3, 0xD3, 0xB9, 0xA1, 0x5C, 0x47, 0x8F}
#define VIAL_UNLOCK_COMBO_ROWS {1, 2}
#define VIAL_UNLOCK_COMBO_COLS {0, 15}
#define VIAL_UNLOCK_COMBO_COLS {0, 15}
#define DYNAMIC_KEYMAP_LAYER_COUNT 2