[keymap] Vial keymap for reedskeebs/alish40 (#520)

* initial Vial keymap

* fix: vial keymap

---------

Co-authored-by: Dylan <36281259+NamesReed@users.noreply.github.com>
This commit is contained in:
Less/Rikki 2023-08-18 11:59:19 -04:00 committed by GitHub
parent ca3a3d8030
commit 1d6c3dc20b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,18 @@
// Copyright 2023 Vial Contributors (@vial-kb)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#if defined(__AVR_ATmega32U4__)
#undef RGBLIGHT_EFFECT_ALTERNATING
#undef RGBLIGHT_EFFECT_CHRISTMAS
#undef RGBLIGHT_EFFECT_KNIGHT
#undef RGBLIGHT_EFFECT_RGB_TEST
#undef RGBLIGHT_EFFECT_SNAKE
#undef RGBLIGHT_EFFECT_TWINKLE
#endif
/* VIAL Specific definitions */
#define VIAL_KEYBOARD_UID {0x9D, 0x69, 0x43, 0x11, 0x7A, 0x22, 0xE7, 0x0B}
#define VIAL_UNLOCK_COMBO_ROWS { 2, 3 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 5 }

View file

@ -0,0 +1,28 @@
// Copyright 2023 Vial Contributors (@vial-qmk)
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
[0] = LAYOUT_all(
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT,
KC_LSFT, _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LCTL, KC_LGUI, KC_MUTE, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
),
[1] = LAYOUT_all(
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SCLN,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______
)
};
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
[1] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) }
};
#endif

View file

@ -0,0 +1,11 @@
ENCODER_MAP_ENABLE = yes
VIA_ENABLE = yes
VIAL_ENABLE = yes
ifeq ($(strip $(MCU)), atmega32u4)
GRAVE_ESC_ENABLE = no
KEY_OVERRIDE_ENABLE = no
LTO_ENABLE = yes
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
endif

View file

@ -0,0 +1,33 @@
{
"name": "Alish40",
"vendorId": "0x722E",
"productId": "0x0001",
"lighting": "qmk_rgblight",
"matrix": { "rows": 8, "cols": 6 },
"layouts": {
"labels": [
"Split Enter",
"Split Left Shift"
],
"keymap": [
[{"y":1.46,"x":14.75},"0,5",{"c":"#aaaaaa","w":1.5},"1,5"],
[{"y":-0.91,"x":2.7,"w":1.5},"0,0",{"c":"#cccccc"},"1,0"],
[{"y":-0.09,"x":15.25,"c":"#aaaaaa","w":2.25},"3,5\n\n\n0,0",{"x":0.4},"2,5\n\n\n0,1",{"w":1.25},"3,5\n\n\n0,1"],
[{"y":-0.91,"x":2.6,"w":1.75},"2,0",{"c":"#cccccc"},"3,0"],
[{"y":-0.09,"x":14.85},"5,5",{"c":"#aaaaaa","w":1.75},"4,5"],
[{"y":-0.96,"w":1.25},"5,0\n\n\n1,1","7,1\n\n\n1,1"],
[{"y":-0.95,"x":2.45,"w":2.25},"5,0\n\n\n1,0",{"c":"#cccccc"},"4,0"],
[{"y":-0.09,"x":15.1,"w":1.25,"c":"#aaaaaa"},"7,5",{"w":1.25},"6,5"],
[{"y":-0.91,"x":2.45,"c":"#aaaaaa","w":1.25},"6,0",{"w":1.25},"7,0"],
[{"r":10,"rx":3,"ry":4.25,"y":-3.25,"x":2,"c":"#cccccc"},"0,1","1,1","0,2","1,2"],
[{"x":2.25},"2,1","3,1","2,2","3,2"],
[{"x":2.75},"5,1","4,1","5,2","4,2"],
[{"x":3,"c":"#aaaaaa","w":1.25},"6,1",{"w":2.25},"6,2"],
[{"x":2.5},"0,0\n\n\n\n\n\n\n\n\ne","0,1\n\n\n\n\n\n\n\n\ne"],
[{"r":-10,"rx":13.25,"y":-2.5,"x":-2.25,"c":"#cccccc"},"0,3","1,3","0,4","1,4"],
[{"x":-2},"2,3","3,3","2,4","3,4"],
[{"x":-2.5},"5,3","4,3","5,4","4,4"],
[{"x":-2.75,"w":2.75,"c":"#aaaaaa"},"7,3",{"w":1.25},"6,4"]
]
}
}