Add vial support for ERA65 (#342)
* Add vial support to era65
Add vial support to era/era65
* add era65 QMK files
add era/era65 QMK files
* Revert "add era65 QMK files"
This reverts commit 8f9e544ebc.
This commit is contained in:
parent
4855c6faf6
commit
9136f9db3d
5 changed files with 390 additions and 0 deletions
14
keyboards/era/era65/keymaps/vial/README.md
Normal file
14
keyboards/era/era65/keymaps/vial/README.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Info
|
||||
Vial support for era/era65.
|
||||
|
||||
# Building
|
||||
```
|
||||
make git-submodule
|
||||
make era/era65:vial
|
||||
```
|
||||
|
||||
# Flashing
|
||||
Connect the keyboard while holding down the ESC key to put it into flash mode.
|
||||
```
|
||||
make era/era65:vial:flash
|
||||
```
|
||||
7
keyboards/era/era65/keymaps/vial/config.h
Normal file
7
keyboards/era/era65/keymaps/vial/config.h
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xDF, 0x29, 0x49, 0x62, 0x30, 0xC9, 0x3B, 0xBB}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 13 }
|
||||
68
keyboards/era/era65/keymaps/vial/keymap.c
Normal file
68
keyboards/era/era65/keymaps/vial/keymap.c
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
// Copyright 2018-2022 QMK (@qmk)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_65_combo(
|
||||
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGUP,
|
||||
KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
/*
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
|
||||
* │ ` │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │ │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │PSc│Scr│Pause│Ins│
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │ │ │ │Hom│
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
|
||||
* │ │ │ │ │ │ │ │Mut│Vl-│Vl+│ │ │ │End│
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴──┬┴──┬┴──┬───┼───┼───┤
|
||||
* │ │ │ │ │ │ │ │ │ │ │
|
||||
* └────┴────┴────┴────────────────────────┴───┴───┴───┴───┴───┴───┘
|
||||
*/
|
||||
[1] = LAYOUT_65_combo(
|
||||
KC_GRV, 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_PSCR, KC_SCRL, KC_PAUS, KC_INS,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, KC_END,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[2] = LAYOUT_65_combo(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[3] = LAYOUT_65_combo(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[4] = LAYOUT_65_combo(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[5] = LAYOUT_65_combo(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
2
keyboards/era/era65/keymaps/vial/rules.mk
Normal file
2
keyboards/era/era65/keymaps/vial/rules.mk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
299
keyboards/era/era65/keymaps/vial/vial.json
Normal file
299
keyboards/era/era65/keymaps/vial/vial.json
Normal file
|
|
@ -0,0 +1,299 @@
|
|||
{
|
||||
"name": "ERA65",
|
||||
"vendorId": "0x4552",
|
||||
"productId": "0x0001",
|
||||
"lighting": "qmk_backlight",
|
||||
"matrix":
|
||||
{
|
||||
"rows": 5,
|
||||
"cols": 15
|
||||
},
|
||||
"layouts":
|
||||
{
|
||||
"labels":
|
||||
[
|
||||
"Left Shift ISO",
|
||||
"Enter ISO",
|
||||
[
|
||||
"Bottom Row",
|
||||
"6.25U Space",
|
||||
"6.25U Space WKL",
|
||||
"7U Space",
|
||||
"7U Space WKL"
|
||||
]
|
||||
],
|
||||
"keymap":
|
||||
[
|
||||
[
|
||||
{
|
||||
"x":2.5,
|
||||
"c":"#777777"
|
||||
},
|
||||
"0,0",
|
||||
{
|
||||
"c":"#cccccc"
|
||||
},
|
||||
"0,1",
|
||||
"0,2",
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
"0,6",
|
||||
"0,7",
|
||||
"0,8",
|
||||
"0,9",
|
||||
"0,10",
|
||||
"0,11",
|
||||
"0,12",
|
||||
{
|
||||
"c":"#aaaaaa",
|
||||
"w":2
|
||||
},
|
||||
"0,13",
|
||||
{
|
||||
"x":0.5
|
||||
},
|
||||
"0,14"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x":2.5,
|
||||
"w":1.5
|
||||
},
|
||||
"1,0",
|
||||
{
|
||||
"c":"#cccccc"
|
||||
},
|
||||
"1,1",
|
||||
"1,2",
|
||||
"1,3",
|
||||
"1,4",
|
||||
"1,5",
|
||||
"1,6",
|
||||
"1,7",
|
||||
"1,8",
|
||||
"1,9",
|
||||
"1,10",
|
||||
"1,11",
|
||||
"1,12",
|
||||
{
|
||||
"w":1.5
|
||||
},
|
||||
"1,13\n\n\n1,0",
|
||||
{
|
||||
"x":0.5,
|
||||
"c":"#aaaaaa"
|
||||
},
|
||||
"1,14",
|
||||
{
|
||||
"x":1.25,
|
||||
"c":"#777777",
|
||||
"w":1.25,
|
||||
"h":2,
|
||||
"w2":1.5,
|
||||
"h2":1,
|
||||
"x2":-0.25
|
||||
},
|
||||
"2,13\n\n\n1,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x":2.5,
|
||||
"c":"#aaaaaa",
|
||||
"w":1.75
|
||||
},
|
||||
"2,0",
|
||||
{
|
||||
"c":"#cccccc"
|
||||
},
|
||||
"2,1",
|
||||
"2,2",
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6",
|
||||
"2,7",
|
||||
"2,8",
|
||||
"2,9",
|
||||
"2,10",
|
||||
"2,11",
|
||||
{
|
||||
"c":"#777777",
|
||||
"w":2.25
|
||||
},
|
||||
"2,13\n\n\n1,0",
|
||||
{
|
||||
"x":0.5,
|
||||
"c":"#aaaaaa"
|
||||
},
|
||||
"2,14",
|
||||
{
|
||||
"x":0.25,
|
||||
"c":"#cccccc"
|
||||
},
|
||||
"2,12\n\n\n1,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"c":"#aaaaaa",
|
||||
"w":1.25
|
||||
},
|
||||
"3,0\n\n\n0,1",
|
||||
{
|
||||
"c":"#cccccc"
|
||||
},
|
||||
"3,1\n\n\n0,1",
|
||||
{
|
||||
"x":0.25,
|
||||
"c":"#aaaaaa",
|
||||
"w":2.25
|
||||
},
|
||||
"3,0\n\n\n0,0",
|
||||
{
|
||||
"c":"#cccccc"
|
||||
},
|
||||
"3,2",
|
||||
"3,3",
|
||||
"3,4",
|
||||
"3,5",
|
||||
"3,6",
|
||||
"3,7",
|
||||
"3,8",
|
||||
"3,9\n,","3,10\n.","3,11\n/",
|
||||
{
|
||||
"c":"#aaaaaa",
|
||||
"w":1.75
|
||||
},
|
||||
"3,12",
|
||||
{
|
||||
"x":1.5
|
||||
},
|
||||
"3,14"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y":-0.75,
|
||||
"x":16.75,
|
||||
"c":"#777777"
|
||||
},
|
||||
"3,13"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y":-0.25,
|
||||
"x":2.5,
|
||||
"c":"#aaaaaa",
|
||||
"w":1.25
|
||||
},
|
||||
"4,0\n\n\n2,0",
|
||||
{
|
||||
"w":1.25
|
||||
},
|
||||
"4,1\n\n\n2,0",
|
||||
{
|
||||
"w":1.25
|
||||
},
|
||||
"4,2\n\n\n2,0",
|
||||
{
|
||||
"c":"#cccccc",
|
||||
"w":6.25
|
||||
},
|
||||
"4,6\n\n\n2,0",
|
||||
{
|
||||
"c":"#aaaaaa"
|
||||
},
|
||||
"4,9\n\n\n2,0",
|
||||
"4,10\n\n\n2,0",
|
||||
"4,11\n\n\n2,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y":-0.75,
|
||||
"x":15.75,
|
||||
"c":"#777777"
|
||||
},
|
||||
"4,12",
|
||||
"4,13",
|
||||
"4,14"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y":0.25,
|
||||
"x":2.5,
|
||||
"c":"#aaaaaa",
|
||||
"w":1.25
|
||||
},
|
||||
"4,0\n\n\n2,1",
|
||||
{
|
||||
"w":1.25
|
||||
},
|
||||
"4,1\n\n\n2,1",
|
||||
{
|
||||
"w":1.25
|
||||
},
|
||||
"4,2\n\n\n2,1",
|
||||
{
|
||||
"c":"#cccccc",
|
||||
"w":6.25
|
||||
},
|
||||
"4,6\n\n\n2,1",
|
||||
{
|
||||
"c":"#aaaaaa",
|
||||
"w":1.5
|
||||
},
|
||||
"4,9\n\n\n2,1",
|
||||
{
|
||||
"w":1.5
|
||||
},
|
||||
"4,11\n\n\n2,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x":2.5,
|
||||
"w":1.5
|
||||
},
|
||||
"4,0\n\n\n2,2",
|
||||
"4,1\n\n\n2,2",
|
||||
{
|
||||
"w":1.5
|
||||
},
|
||||
"4,2\n\n\n2,2",
|
||||
{
|
||||
"c":"#cccccc",
|
||||
"w":7
|
||||
},
|
||||
"4,6\n\n\n2,2",
|
||||
{
|
||||
"c":"#aaaaaa"
|
||||
},
|
||||
"4,10\n\n\n2,2",
|
||||
"4,11\n\n\n2,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x":2.5,
|
||||
"w":1.5
|
||||
},
|
||||
"4,0\n\n\n2,3",
|
||||
{
|
||||
"w":1.5
|
||||
},
|
||||
"4,1\n\n\n2,3",
|
||||
{
|
||||
"c":"#cccccc",
|
||||
"w":7
|
||||
},
|
||||
"4,6\n\n\n2,3",
|
||||
{
|
||||
"c":"#aaaaaa",
|
||||
"w":1.5
|
||||
},
|
||||
"4,9\n\n\n2,3",
|
||||
{
|
||||
"w":1.5
|
||||
},
|
||||
"4,11\n\n\n2,3"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue