Skip to content

Commit d404b2f

Browse files
flowerseseslesshonor
authored andcommitted
Add splitkb Aurora Lily58 port (vial-kb#592)
* Add splitkb Aurora Lily58 port * Update keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/vial.json Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> * Update keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/vial.json Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> * Update keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/rules.mk Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> --------- Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
1 parent b41ca8d commit d404b2f

File tree

4 files changed

+110
-0
lines changed

4 files changed

+110
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#pragma once
2+
3+
#define VIAL_KEYBOARD_UID {0x0B, 0x9F, 0x90, 0x91, 0x81, 0x04, 0x83, 0xB1}
4+
/* Vial secure unlock - currently using both big keys, like with base lily58 */
5+
#define VIAL_UNLOCK_COMBO_ROWS {4, 9}
6+
#define VIAL_UNLOCK_COMBO_COLS {5, 5}
7+
8+
/* saving some more space, */
9+
#undef LOCKING_SUPPORT_ENABLE
10+
#undef LOCKING_RESYNC_ENABLE
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#include QMK_KEYBOARD_H
2+
3+
4+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
5+
[0] = LAYOUT(
6+
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV,
7+
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
8+
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
9+
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
10+
KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_ENT, MO(2), KC_BSPC, KC_RGUI
11+
),
12+
[1] = LAYOUT(
13+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
14+
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
15+
KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD,
16+
_______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
17+
_______, _______, _______, _______, _______, MO(3), _______, _______
18+
),
19+
[2] = LAYOUT(
20+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
21+
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
22+
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX,
23+
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
24+
_______, _______, MO(3), _______, _______, _______, _______, _______
25+
),
26+
[3] = LAYOUT(
27+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
28+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
29+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI,
30+
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD,
31+
_______, _______, _______, _______, _______, _______, _______, _______
32+
)
33+
};
34+
35+
36+
37+
#ifdef ENCODER_MAP_ENABLE
38+
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
39+
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) },
40+
[1] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
41+
[2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
42+
[3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
43+
};
44+
#endif
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ENCODER_MAP_ENABLE = yes
2+
3+
# Vial setup
4+
VIA_ENABLE = yes
5+
VIAL_ENABLE = yes
6+
7+
# Saving space on atmega32u4
8+
ifeq ($(strip $(MCU)), atmega32u4)
9+
OLED_ENABLE = no
10+
MOUSEKEY_ENABLE = no
11+
COMBO_ENABLE = no
12+
KEY_OVERRIDE_ENABLE = no
13+
endif
14+
15+
## build targets
16+
# Liatris
17+
# CONVERT_TO = liatris
18+
# promicro
19+
# BOOTLOADER = caterina
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"lighting": "none",
3+
"matrix": {
4+
"cols": 6,
5+
"rows": 10
6+
},
7+
"layouts": {
8+
"keymap": [
9+
[{"x": 3},"0,3",{"x": 6.5},"5,3"],
10+
[{"x": 2,"y": -0.95},"0,2",{"x": 1},"0,4",{"x": 4.5},"5,4",{"x": 1},"5,2"],
11+
[{"x": 5,"y": -0.85},"0,5",{"x": 2.5},"5,5"],
12+
[{"x": 1,"y": -0.95},"0,1",{"x": 10.5},"5,1"],
13+
[{"y": -0.94},"0,0",{"x": 12.5},"5,0"],
14+
[{"x": 6.2,"y": -0.61},"0,1\n\n\n\n\n\n\n\n\ne",{"x": 0.1},"1,1\n\n\n\n\n\n\n\n\ne"],
15+
[{"x": 3,"y": -0.7},"1,3",{"x": 6.5},"6,3"],
16+
[{"x": 2,"y": -0.95},"1,2",{"x": 1},"1,4",{"x": 4.5},"6,4",{"x": 1},"6,2"],
17+
[{"x": 5,"y": -0.85},"1,5",{"x": 2.5},"6,5"],
18+
[{"x": 1,"y": -0.95},"1,1",{"x": 10.5},"6,1"],
19+
[{"y": -0.95},"1,0",{"x": 12.5},"6,0"],
20+
[{"x": 6.2,"y": -0.61},"0,0\n\n\n\n\n\n\n\n\ne",{"x": 0.1},"1,0\n\n\n\n\n\n\n\n\ne"],
21+
[{"x": 3,"y": -0.70},"2,3",{"x": 6.5},"7,3"],
22+
[{"x": 2,"y": -0.95},"2,2",{"x": 1},"2,4",{"x": 4.5},"7,4",{"x": 1},"7,2"],
23+
[{"x": 5,"y": -0.85},"2,5",{"x": 2.5},"7,5"],
24+
[{"x": 1,"y": -0.95},"2,1",{"x": 10.5},"7,1"],
25+
[{"y": -0.95},"2,0",{"x": 12.5},"7,0"],
26+
[{"x": 6.2,"y": -0.6},"4,1",{"x": 0.1},"9,1"],
27+
[{"x": 3,"y": -0.7},"3,3",{"x": 6.5},"8,3"],
28+
[{"x": 2,"y": -0.95},"3,2",{"x": 1},"3,4",{"x": 4.5},"8,4",{"x": 1},"8,2"],
29+
[{"x": 5,"y": -0.85},"3,5",{"x": 2.5},"8,5"],
30+
[{"x": 1,"y": -0.95},"3,1",{"x": 10.5},"8,1"],[{"y": -0.95},"3,0",{"x": 12.5},"8,0"],
31+
[{"x": 2.5,"y": -0.18},"4,2","4,3",{"x": 5.5},"9,3","9,2"],
32+
[{"x": 4.5,"y": -0.93},"4,4",{"x": 3.5},"9,4"],
33+
[{"r": 58,"rx": 8,"ry": 4.8,"w": 1.75,"x": -0.8,"y": -0.65},"9,5"],
34+
[{"r": -58,"rx": 6.5,"w": 1.75,"x": -0.95,"y": -0.65},"4,5"]
35+
]
36+
}
37+
}

0 commit comments

Comments
 (0)