Skip to content

Commit 620be2d

Browse files
yakMMZhol Internet
authored andcommitted
Port herringbone pro to vial (vial-kb#571)
* Add files * Adjust settings * Revert top-level change * revert readme
1 parent 6513a17 commit 620be2d

File tree

4 files changed

+372
-0
lines changed

4 files changed

+372
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
2+
3+
#pragma once
4+
5+
#define VIAL_KEYBOARD_UID {0xA3, 0x05, 0x8B, 0xF1, 0xAA, 0xE9, 0x97, 0xE8}
6+
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
7+
#define VIAL_UNLOCK_COMBO_COLS { 0, 1 }
8+
9+
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* Copyright 2020 Ramon Imbao
2+
*
3+
* This program is free software: you can redistribute it and/or modify
4+
* it under the terms of the GNU General Public License as published by
5+
* the Free Software Foundation, either version 2 of the License, or
6+
* (at your option) any later version.
7+
*
8+
* This program is distributed in the hope that it will be useful,
9+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
* GNU General Public License for more details.
12+
*
13+
* You should have received a copy of the GNU General Public License
14+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
*/
16+
#include QMK_KEYBOARD_H
17+
18+
#include "pattern.h"
19+
20+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21+
[0] = LAYOUT_ansi(
22+
KC_ESC, 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_MUTE,
23+
KC_GRV, 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_HOME,
24+
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_PGUP,
25+
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_ENT, KC_PGDN,
26+
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_UP, KC_END,
27+
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
28+
),
29+
};
30+
31+
#if defined(ENCODER_MAP_ENABLE)
32+
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
33+
[0] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD) }
34+
};
35+
#endif
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
VIA_ENABLE = yes
2+
VIAL_ENABLE = yes
3+
ENCODER_MAP_ENABLE = yes
4+
OLED_ENABLE = no
5+
LTO_ENABLE = yes
Lines changed: 323 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,323 @@
1+
{
2+
"name": "Herringbone Pro",
3+
"vendorId": "0xB16B",
4+
"productId": "0x440B",
5+
"matrix": {"rows": 7, "cols": 15},
6+
"layouts": {
7+
"keymap": [
8+
[
9+
{
10+
"x": 2.5,
11+
"c": "#777777"
12+
},
13+
"0,0",
14+
{
15+
"x": 0.25,
16+
"c": "#aaaaaa"
17+
},
18+
"0,1",
19+
"0,2",
20+
"0,3",
21+
"0,4",
22+
{
23+
"x": 0.25,
24+
"c": "#777777"
25+
},
26+
"0,5",
27+
"0,6",
28+
"0,7",
29+
"0,8",
30+
{
31+
"x": 0.25,
32+
"c": "#aaaaaa"
33+
},
34+
"0,9",
35+
"0,10",
36+
"0,11",
37+
"0,12",
38+
{
39+
"x": 0.25
40+
},
41+
"0,13",
42+
{
43+
"x": 0.5,
44+
"c": "#cccccc"
45+
},
46+
"0,0\n\n\n\n\n\n\n\n\ne",
47+
{
48+
"c": "#777777"
49+
},
50+
"0,14",
51+
{
52+
"c": "#cccccc"
53+
},
54+
"0,1\n\n\n\n\n\n\n\n\ne"
55+
],
56+
[
57+
{
58+
"y": 0.25,
59+
"x": 2.5
60+
},
61+
"1,0",
62+
"1,1",
63+
"1,2",
64+
"1,3",
65+
"1,4",
66+
"1,5",
67+
"1,6",
68+
"1,7",
69+
"1,8",
70+
"1,9",
71+
"1,10",
72+
"1,11",
73+
"1,12",
74+
{
75+
"c": "#aaaaaa",
76+
"w": 2
77+
},
78+
"1,13\n\n\n0,0",
79+
{
80+
"x": 0.5
81+
},
82+
"1,14",
83+
{
84+
"x": 0.5
85+
},
86+
"1,13\n\n\n0,1",
87+
"3,12\n\n\n0,1"
88+
],
89+
[
90+
{
91+
"x": 2.5,
92+
"w": 1.5
93+
},
94+
"2,0",
95+
{
96+
"c": "#cccccc"
97+
},
98+
"2,1",
99+
"2,2",
100+
"2,3",
101+
"2,4",
102+
"2,5",
103+
"2,6",
104+
"2,7",
105+
"2,8",
106+
"2,9",
107+
"2,10",
108+
"2,11",
109+
"2,12",
110+
{
111+
"w": 1.5
112+
},
113+
"2,13\n\n\n1,0",
114+
{
115+
"x": 0.5,
116+
"c": "#aaaaaa"
117+
},
118+
"2,14",
119+
{
120+
"x": 1.25,
121+
"c": "#777777",
122+
"w": 1.25,
123+
"h": 2,
124+
"w2": 1.5,
125+
"h2": 1,
126+
"x2": -0.25
127+
},
128+
"2,13\n\n\n1,1"
129+
],
130+
[
131+
{
132+
"x": 2.5,
133+
"c": "#aaaaaa",
134+
"w": 1.75
135+
},
136+
"3,0",
137+
{
138+
"c": "#cccccc"
139+
},
140+
"3,1",
141+
"3,2",
142+
"3,3",
143+
"3,4",
144+
"3,5",
145+
"3,6",
146+
"3,7",
147+
"3,8",
148+
"3,9",
149+
"3,10",
150+
"3,11",
151+
{
152+
"c": "#777777",
153+
"w": 2.25
154+
},
155+
"3,13\n\n\n1,0",
156+
{
157+
"x": 0.5,
158+
"c": "#aaaaaa"
159+
},
160+
"3,14",
161+
{
162+
"x": 0.25,
163+
"c": "#cccccc"
164+
},
165+
"3,13\n\n\n1,1"
166+
],
167+
[
168+
{
169+
"c": "#aaaaaa",
170+
"w": 1.25
171+
},
172+
"4,0\n\n\n2,1",
173+
{
174+
"c": "#cccccc"
175+
},
176+
"5,1\n\n\n2,1",
177+
{
178+
"x": 0.25,
179+
"c": "#aaaaaa",
180+
"w": 2.25
181+
},
182+
"4,0\n\n\n2,0",
183+
{
184+
"c": "#cccccc"
185+
},
186+
"4,1",
187+
"4,2",
188+
"4,3",
189+
"4,4",
190+
"4,5",
191+
"4,6",
192+
"4,7",
193+
"4,8",
194+
"4,9",
195+
"4,10",
196+
{
197+
"c": "#aaaaaa",
198+
"w": 1.75
199+
},
200+
"4,11",
201+
{
202+
"x": 1.5
203+
},
204+
"4,14"
205+
],
206+
[
207+
{
208+
"y": -0.75,
209+
"x": 16.75,
210+
"c": "#777777"
211+
},
212+
"4,13"
213+
],
214+
[
215+
{
216+
"y": -0.25,
217+
"x": 2.5,
218+
"c": "#aaaaaa",
219+
"w": 1.25
220+
},
221+
"5,0\n\n\n3,0",
222+
{
223+
"w": 1.25
224+
},
225+
"5,2\n\n\n3,0",
226+
{
227+
"w": 1.25
228+
},
229+
"5,3\n\n\n3,0",
230+
{
231+
"c": "#cccccc",
232+
"w": 6.25
233+
},
234+
"5,5\n\n\n3,0",
235+
{
236+
"c": "#aaaaaa",
237+
"w": 1.5
238+
},
239+
"5,9\n\n\n3,0",
240+
{
241+
"w": 1.5
242+
},
243+
"5,10\n\n\n3,0"
244+
],
245+
[
246+
{
247+
"y": -0.75,
248+
"x": 15.75,
249+
"c": "#777777"
250+
},
251+
"5,12",
252+
"5,13",
253+
"5,14"
254+
],
255+
[
256+
{
257+
"x": 2.5,
258+
"c": "#aaaaaa",
259+
"w": 1.5
260+
},
261+
"5,0\n\n\n3,1",
262+
{
263+
"w": 1.5
264+
},
265+
"5,3\n\n\n3,1",
266+
{
267+
"c": "#cccccc",
268+
"w": 7
269+
},
270+
"5,5\n\n\n3,1",
271+
{
272+
"c": "#aaaaaa",
273+
"w": 1.5
274+
},
275+
"5,9\n\n\n3,1",
276+
{
277+
"w": 1.5
278+
},
279+
"5,10\n\n\n3,1"
280+
],
281+
[
282+
{
283+
"x": 2.5,
284+
"w": 1.25
285+
},
286+
"5,0\n\n\n3,2",
287+
{
288+
"w": 1.25
289+
},
290+
"5,2\n\n\n3,2",
291+
{
292+
"w": 1.25
293+
},
294+
"5,3\n\n\n3,2",
295+
{
296+
"c": "#cccccc",
297+
"w": 2.25
298+
},
299+
"5,4\n\n\n3,2",
300+
"5,5\n\n\n3,2",
301+
{
302+
"w": 3
303+
},
304+
"5,7\n\n\n3,2",
305+
{
306+
"c": "#aaaaaa",
307+
"w": 1.5
308+
},
309+
"5,9\n\n\n3,2",
310+
{
311+
"w": 1.5
312+
},
313+
"5,10\n\n\n3,2"
314+
]
315+
],
316+
"labels": [
317+
["Backspace", "Unified", "Split"],
318+
["Enter", "ANSI", "ISO"],
319+
["Left Shift", "Unified", "Split"],
320+
["Bottom Row", "6.25u", "7u", "Split"]
321+
]
322+
}
323+
}

0 commit comments

Comments
 (0)