Skip to content

Commit

Permalink
Add splitkb Aurora Lily58 port (vial-kb#592)
Browse files Browse the repository at this point in the history
* Add splitkb Aurora Lily58 port

* Update keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/vial.json

Co-authored-by: Less/Rikki <[email protected]>

* Update keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/vial.json

Co-authored-by: Less/Rikki <[email protected]>

* Update keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/rules.mk

Co-authored-by: Less/Rikki <[email protected]>

---------

Co-authored-by: Less/Rikki <[email protected]>
  • Loading branch information
flowerseses and lesshonor authored Nov 12, 2023
1 parent 2428d8f commit fe9c334
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 0 deletions.
10 changes: 10 additions & 0 deletions keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#pragma once

#define VIAL_KEYBOARD_UID {0x0B, 0x9F, 0x90, 0x91, 0x81, 0x04, 0x83, 0xB1}
/* Vial secure unlock - currently using both big keys, like with base lily58 */
#define VIAL_UNLOCK_COMBO_ROWS {4, 9}
#define VIAL_UNLOCK_COMBO_COLS {5, 5}

/* saving some more space, */
#undef LOCKING_SUPPORT_ENABLE
#undef LOCKING_RESYNC_ENABLE
44 changes: 44 additions & 0 deletions keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#include QMK_KEYBOARD_H


const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
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,
KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_ENT, MO(2), KC_BSPC, KC_RGUI
),
[1] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD,
_______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
_______, _______, _______, _______, _______, MO(3), _______, _______
),
[2] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX,
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
_______, _______, MO(3), _______, _______, _______, _______, _______
),
[3] = LAYOUT(
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI,
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD,
_______, _______, _______, _______, _______, _______, _______, _______
)
};



#ifdef ENCODER_MAP_ENABLE
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) },
[1] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
[2] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
[3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) },
};
#endif
19 changes: 19 additions & 0 deletions keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ENCODER_MAP_ENABLE = yes

# Vial setup
VIA_ENABLE = yes
VIAL_ENABLE = yes

# Saving space on atmega32u4
ifeq ($(strip $(MCU)), atmega32u4)
OLED_ENABLE = no
MOUSEKEY_ENABLE = no
COMBO_ENABLE = no
KEY_OVERRIDE_ENABLE = no
endif

## build targets
# Liatris
# CONVERT_TO = liatris
# promicro
# BOOTLOADER = caterina
37 changes: 37 additions & 0 deletions keyboards/splitkb/aurora/lily58/rev1/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"lighting": "none",
"matrix": {
"cols": 6,
"rows": 10
},
"layouts": {
"keymap": [
[{"x": 3},"0,3",{"x": 6.5},"5,3"],
[{"x": 2,"y": -0.95},"0,2",{"x": 1},"0,4",{"x": 4.5},"5,4",{"x": 1},"5,2"],
[{"x": 5,"y": -0.85},"0,5",{"x": 2.5},"5,5"],
[{"x": 1,"y": -0.95},"0,1",{"x": 10.5},"5,1"],
[{"y": -0.94},"0,0",{"x": 12.5},"5,0"],
[{"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"],
[{"x": 3,"y": -0.7},"1,3",{"x": 6.5},"6,3"],
[{"x": 2,"y": -0.95},"1,2",{"x": 1},"1,4",{"x": 4.5},"6,4",{"x": 1},"6,2"],
[{"x": 5,"y": -0.85},"1,5",{"x": 2.5},"6,5"],
[{"x": 1,"y": -0.95},"1,1",{"x": 10.5},"6,1"],
[{"y": -0.95},"1,0",{"x": 12.5},"6,0"],
[{"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"],
[{"x": 3,"y": -0.70},"2,3",{"x": 6.5},"7,3"],
[{"x": 2,"y": -0.95},"2,2",{"x": 1},"2,4",{"x": 4.5},"7,4",{"x": 1},"7,2"],
[{"x": 5,"y": -0.85},"2,5",{"x": 2.5},"7,5"],
[{"x": 1,"y": -0.95},"2,1",{"x": 10.5},"7,1"],
[{"y": -0.95},"2,0",{"x": 12.5},"7,0"],
[{"x": 6.2,"y": -0.6},"4,1",{"x": 0.1},"9,1"],
[{"x": 3,"y": -0.7},"3,3",{"x": 6.5},"8,3"],
[{"x": 2,"y": -0.95},"3,2",{"x": 1},"3,4",{"x": 4.5},"8,4",{"x": 1},"8,2"],
[{"x": 5,"y": -0.85},"3,5",{"x": 2.5},"8,5"],
[{"x": 1,"y": -0.95},"3,1",{"x": 10.5},"8,1"],[{"y": -0.95},"3,0",{"x": 12.5},"8,0"],
[{"x": 2.5,"y": -0.18},"4,2","4,3",{"x": 5.5},"9,3","9,2"],
[{"x": 4.5,"y": -0.93},"4,4",{"x": 3.5},"9,4"],
[{"r": 58,"rx": 8,"ry": 4.8,"w": 1.75,"x": -0.8,"y": -0.65},"9,5"],
[{"r": -58,"rx": 6.5,"w": 1.75,"x": -0.95,"y": -0.65},"4,5"]
]
}
}

0 comments on commit fe9c334

Please sign in to comment.