Ported ErgoDox EZ to Vial (#139)
This commit is contained in:
parent
829e88eb03
commit
bc02bb864f
3
keyboards/ergodox_ez/keymaps/vial/config.h
Normal file
3
keyboards/ergodox_ez/keymaps/vial/config.h
Normal file
@ -0,0 +1,3 @@
|
||||
#define VIAL_KEYBOARD_UID {0x6F, 0xBC, 0x77, 0x48, 0xE1, 0x7B, 0xF1, 0x46}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 13 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
|
90
keyboards/ergodox_ez/keymaps/vial/keymap.c
Normal file
90
keyboards/ergodox_ez/keymaps/vial/keymap.c
Normal file
@ -0,0 +1,90 @@
|
||||
/* Copyright 2022 IFo Hancroft
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Default Layer
|
||||
* *---------------------------------------------------------------------* *---------------------------------------------------------------------*
|
||||
* | = | 1 | 2 | 3 | 4 | 5 | Left | | RIGHT | 6 | 7 | 8 | 9 | 0 | - |
|
||||
* |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
||||
* | Del | Q | W | E | R | T | L1 | | L1 | Y | U | I | O | P | \ |
|
||||
* |---------+---------+---------+---------+---------+---------+---------| |---------+---------+---------+---------+---------+---------+---------|
|
||||
* | BkSp | A | S | D | F | G | Hyper | | Meh | H | J | K | L | ; / L2 | ' / CMD |
|
||||
* |---------+---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------+---------|
|
||||
* | Shift | Z/Ctrl | X | C | V | B | | N | M | , | . | //Ctrl | Shift |
|
||||
* |---------+---------+---------+---------+---------+---------* *---------+---------+---------+---------+---------+---------|
|
||||
* | Grv/L1 | " | AltShf | Left | Right | | Up | Down | [ | ] | ~L1 |
|
||||
* *-------------------------------------------------* *-------------------------------------------------*
|
||||
*
|
||||
* *-------------------* *-------------------*
|
||||
* | App | LGui | | Alt | Ctrl/Esc|
|
||||
* *---------+---------+---------| |---------+---------+---------*
|
||||
* | | | Home | | PgUp | | |
|
||||
* | Space | BkSp |---------| |---------| Tab | Enter |
|
||||
* | | | End | | PgDn | | |
|
||||
* *---------+---------+---------* *---------+---------+---------*
|
||||
*/
|
||||
|
||||
LAYOUT_ergodox_pretty(
|
||||
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_LEFT, KC_RGHT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||
KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(1), TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, LT(2, KC_SCLN), GUI_T(KC_QUOT),
|
||||
KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO), MEH_T(KC_NO), KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH), KC_RSFT,
|
||||
LT(0,KC_GRV), KC_QUOT, LALT(KC_LSFT), KC_LEFT, KC_RIGHT, KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(1),
|
||||
|
||||
ALT_T(KC_APP), KC_LGUI, KC_LALT, CTL_T(KC_ESC),
|
||||
KC_HOME, KC_PGUP,
|
||||
KC_SPC, KC_BSPC, KC_END, KC_PGDN, KC_TAB, KC_ENT
|
||||
),
|
||||
|
||||
LAYOUT_ergodox_pretty(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
|
||||
_______, _______, _______, _______,
|
||||
_______, _______,
|
||||
_______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
LAYOUT_ergodox_pretty(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
|
||||
_______, _______, _______, _______,
|
||||
_______, _______,
|
||||
_______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
LAYOUT_ergodox_pretty(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
|
||||
_______, _______, _______, _______,
|
||||
_______, _______,
|
||||
_______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
2
keyboards/ergodox_ez/keymaps/vial/rules.mk
Normal file
2
keyboards/ergodox_ez/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
408
keyboards/ergodox_ez/keymaps/vial/vial.json
Normal file
408
keyboards/ergodox_ez/keymaps/vial/vial.json
Normal file
@ -0,0 +1,408 @@
|
||||
{
|
||||
"name": "ErgoDox EZ",
|
||||
"vendorId": "0x3297",
|
||||
"productId": "0x4974",
|
||||
"lighting": "none",
|
||||
"matrix": { "rows": 14, "cols": 6 },
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[
|
||||
{
|
||||
"x": 3.5
|
||||
},
|
||||
"3,0",
|
||||
{
|
||||
"x": 10.5
|
||||
},
|
||||
"10,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 2.5
|
||||
},
|
||||
"2,0",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"4,0",
|
||||
{
|
||||
"x": 8.5
|
||||
},
|
||||
"9,0",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"11,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 5.5
|
||||
},
|
||||
"5,0",
|
||||
{
|
||||
"c": "#777777"
|
||||
},
|
||||
"6,0",
|
||||
{
|
||||
"x": 4.5,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"7,0",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"8,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"c": "#777777",
|
||||
"w": 1.5
|
||||
},
|
||||
"0,0",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"1,0",
|
||||
{
|
||||
"x": 14.5
|
||||
},
|
||||
"12,0",
|
||||
{
|
||||
"c": "#777777",
|
||||
"w": 1.5
|
||||
},
|
||||
"13,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.375,
|
||||
"x": 3.5,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"3,1",
|
||||
{
|
||||
"x": 10.5
|
||||
},
|
||||
"10,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 2.5
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"4,1",
|
||||
{
|
||||
"x": 8.5
|
||||
},
|
||||
"9,1",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"11,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 5.5
|
||||
},
|
||||
"5,1",
|
||||
{
|
||||
"c": "#aaaaaa",
|
||||
"h": 1.5
|
||||
},
|
||||
"6,1",
|
||||
{
|
||||
"x": 4.5,
|
||||
"h": 1.5
|
||||
},
|
||||
"7,1",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"8,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"c": "#aaaaaa",
|
||||
"w": 1.5
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"x": 14.5
|
||||
},
|
||||
"12,1",
|
||||
{
|
||||
"c": "#aaaaaa",
|
||||
"w": 1.5
|
||||
},
|
||||
"13,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.375,
|
||||
"x": 3.5,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"x": 10.5
|
||||
},
|
||||
"10,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 2.5
|
||||
},
|
||||
"2,2",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"4,2",
|
||||
{
|
||||
"x": 8.5
|
||||
},
|
||||
"9,2",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"11,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 5.5
|
||||
},
|
||||
"5,2",
|
||||
{
|
||||
"x": 6.5
|
||||
},
|
||||
"8,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"c": "#aaaaaa",
|
||||
"w": 1.5
|
||||
},
|
||||
"0,2",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"1,2",
|
||||
{
|
||||
"x": 14.5
|
||||
},
|
||||
"12,2",
|
||||
{
|
||||
"c": "#aaaaaa",
|
||||
"w": 1.5
|
||||
},
|
||||
"13,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.625,
|
||||
"x": 6.5,
|
||||
"h": 1.5
|
||||
},
|
||||
"6,3",
|
||||
{
|
||||
"x": 4.5,
|
||||
"h": 1.5
|
||||
},
|
||||
"7,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 3.5,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"3,3",
|
||||
{
|
||||
"x": 10.5
|
||||
},
|
||||
"10,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 2.5
|
||||
},
|
||||
"2,3",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"4,3",
|
||||
{
|
||||
"x": 8.5
|
||||
},
|
||||
"9,3",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"11,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 5.5
|
||||
},
|
||||
"5,3",
|
||||
{
|
||||
"x": 6.5
|
||||
},
|
||||
"8,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"c": "#aaaaaa",
|
||||
"w": 1.5
|
||||
},
|
||||
"0,3",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"1,3",
|
||||
{
|
||||
"x": 14.5
|
||||
},
|
||||
"12,3",
|
||||
{
|
||||
"c": "#aaaaaa",
|
||||
"w": 1.5
|
||||
},
|
||||
"13,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.375,
|
||||
"x": 3.5
|
||||
},
|
||||
"3,4",
|
||||
{
|
||||
"x": 10.5
|
||||
},
|
||||
"10,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.875,
|
||||
"x": 2.5
|
||||
},
|
||||
"2,4",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"4,4",
|
||||
{
|
||||
"x": 8.5
|
||||
},
|
||||
"9,4",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"11,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 0.5
|
||||
},
|
||||
"0,4",
|
||||
"1,4",
|
||||
{
|
||||
"x": 14.5
|
||||
},
|
||||
"12,4",
|
||||
"13,4"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 30,
|
||||
"rx": 6.5,
|
||||
"ry": 4.25,
|
||||
"y": -1,
|
||||
"x": 1
|
||||
},
|
||||
"5,5",
|
||||
{
|
||||
"c": "#777777"
|
||||
},
|
||||
"6,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"c": "#aaaaaa",
|
||||
"h": 2
|
||||
},
|
||||
"3,5",
|
||||
{
|
||||
"c": "#777777",
|
||||
"h": 2
|
||||
},
|
||||
"2,5",
|
||||
{
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"4,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 2
|
||||
},
|
||||
"1,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -30,
|
||||
"rx": 13,
|
||||
"y": -1,
|
||||
"x": -3,
|
||||
"c": "#777777"
|
||||
},
|
||||
"7,5",
|
||||
{
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"8,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": -3
|
||||
},
|
||||
"9,5",
|
||||
{
|
||||
"c": "#777777",
|
||||
"h": 2
|
||||
},
|
||||
"11,5",
|
||||
{
|
||||
"c": "#aaaaaa",
|
||||
"h": 2
|
||||
},
|
||||
"10,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": -3
|
||||
},
|
||||
"12,5"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user