Skip to content

Commit 3c44653

Browse files
MaiTheSanadophoxia
authored andcommitted
[Keyboard] Add vial for RE65 (vial-kb#585)
* [Keyboard] Add vial for RE65 * Update vial.json Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com> * remove encoder label vial.json --------- Co-authored-by: adophoxia <100170946+adophoxia@users.noreply.github.com>
1 parent 4e677bd commit 3c44653

File tree

11 files changed

+638
-0
lines changed

11 files changed

+638
-0
lines changed
Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
{
2+
"keyboard_name": "RE65",
3+
"maintainer": "Salane",
4+
"manufacturer": "Mai The San",
5+
"url": "",
6+
"processor": "RP2040",
7+
"bootloader": "rp2040",
8+
"usb": {
9+
"vid": "0x534C",
10+
"pid": "0x0C65",
11+
"device_version": "0.0.1"
12+
},
13+
"features": {
14+
"bootmagic": true,
15+
"mousekey": true,
16+
"extrakey": true,
17+
"console": true,
18+
"command": true,
19+
"nkro": true,
20+
"rgblight": true,
21+
"encoder": true
22+
},
23+
"diode_direction": "COL2ROW",
24+
"matrix_pins": {
25+
"rows": ["GP27", "GP26", "GP25", "GP29", "GP4"],
26+
"cols": ["GP20", "GP19", "GP18", "GP24", "GP23", "GP22", "GP17", "GP28", "GP2", "GP3", "GP12", "GP11", "GP10", "GP9", "GP8"]
27+
},
28+
"encoder": {
29+
"rotary": [
30+
{"pin_a": "GP5", "pin_b": "GP6"}
31+
]
32+
},
33+
"rgblight": {
34+
"led_count": 13,
35+
"saturation_steps": 8,
36+
"brightness_steps": 8,
37+
"sleep": true,
38+
"animations": {
39+
"alternating": true,
40+
"breathing": true,
41+
"christmas": true,
42+
"knight": true,
43+
"rainbow_mood": true,
44+
"rainbow_swirl": true,
45+
"rgb_test": true,
46+
"snake": true,
47+
"static_gradient": true,
48+
"twinkle": true
49+
}
50+
},
51+
"ws2812": {
52+
"pin": "GP21",
53+
"driver": "vendor"
54+
},
55+
"community_layouts": ["65_ansi_blocker","65_ansi_blocker_split_bs"],
56+
"layouts": {
57+
"LAYOUT_65_ansi_blocker_split_bs": {
58+
"layout": [
59+
{"matrix": [0, 0], "x": 0, "y": 0},
60+
{"matrix": [0, 1], "x": 1, "y": 0},
61+
{"matrix": [0, 2], "x": 2, "y": 0},
62+
{"matrix": [0, 3], "x": 3, "y": 0},
63+
{"matrix": [0, 4], "x": 4, "y": 0},
64+
{"matrix": [0, 5], "x": 5, "y": 0},
65+
{"matrix": [0, 6], "x": 6, "y": 0},
66+
{"matrix": [0, 7], "x": 7, "y": 0},
67+
{"matrix": [0, 8], "x": 8, "y": 0},
68+
{"matrix": [0, 9], "x": 9, "y": 0},
69+
{"matrix": [0, 10], "x": 10, "y": 0},
70+
{"matrix": [0, 11], "x": 11, "y": 0},
71+
{"matrix": [0, 12], "x": 12, "y": 0},
72+
{"matrix": [0, 13], "x": 13, "y": 0},
73+
{"matrix": [2, 13], "x": 14, "y": 0},
74+
{"matrix": [0, 14], "x": 15, "y": 0},
75+
76+
{"matrix": [1, 0], "w": 1.5, "x": 0, "y": 1},
77+
{"matrix": [1, 1], "x": 1.5, "y": 1},
78+
{"matrix": [1, 2], "x": 2.5, "y": 1},
79+
{"matrix": [1, 3], "x": 3.5, "y": 1},
80+
{"matrix": [1, 4], "x": 4.5, "y": 1},
81+
{"matrix": [1, 5], "x": 5.5, "y": 1},
82+
{"matrix": [1, 6], "x": 6.5, "y": 1},
83+
{"matrix": [1, 7], "x": 7.5, "y": 1},
84+
{"matrix": [1, 8], "x": 8.5, "y": 1},
85+
{"matrix": [1, 9], "x": 9.5, "y": 1},
86+
{"matrix": [1, 10], "x": 10.5, "y": 1},
87+
{"matrix": [1, 11], "x": 11.5, "y": 1},
88+
{"matrix": [1, 12], "x": 12.5, "y": 1},
89+
{"matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1},
90+
{"matrix": [1, 14], "x": 15, "y": 1},
91+
92+
{"matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
93+
{"matrix": [2, 1], "x": 1.75, "y": 2},
94+
{"matrix": [2, 2], "x": 2.75, "y": 2},
95+
{"matrix": [2, 3], "x": 3.75, "y": 2},
96+
{"matrix": [2, 4], "x": 4.75, "y": 2},
97+
{"matrix": [2, 5], "x": 5.75, "y": 2},
98+
{"matrix": [2, 6], "x": 6.75, "y": 2},
99+
{"matrix": [2, 7], "x": 7.75, "y": 2},
100+
{"matrix": [2, 8], "x": 8.75, "y": 2},
101+
{"matrix": [2, 9], "x": 9.75, "y": 2},
102+
{"matrix": [2, 10], "x": 10.75, "y": 2},
103+
{"matrix": [2, 11], "x": 11.75, "y": 2},
104+
{"matrix": [2, 12], "w": 2.25, "x": 12.75, "y": 2},
105+
{"matrix": [2, 14], "x": 15, "y": 2},
106+
107+
{"matrix": [3, 0], "w": 2.25, "x": 0, "y": 3},
108+
{"matrix": [3, 2], "x": 2.25, "y": 3},
109+
{"matrix": [3, 3], "x": 3.25, "y": 3},
110+
{"matrix": [3, 4], "x": 4.25, "y": 3},
111+
{"matrix": [3, 5], "x": 5.25, "y": 3},
112+
{"matrix": [3, 6], "x": 6.25, "y": 3},
113+
{"matrix": [3, 7], "x": 7.25, "y": 3},
114+
{"matrix": [3, 8], "x": 8.25, "y": 3},
115+
{"matrix": [3, 9], "x": 9.25, "y": 3},
116+
{"matrix": [3, 10], "x": 10.25, "y": 3},
117+
{"matrix": [3, 11], "x": 11.25, "y": 3},
118+
{"matrix": [3, 12], "w": 1.75, "x": 12.25, "y": 3},
119+
{"matrix": [3, 13], "x": 14, "y": 3},
120+
{"matrix": [3, 14], "x": 15, "y": 3},
121+
122+
{"matrix": [4, 0], "w": 1.25, "x": 0, "y": 4},
123+
{"matrix": [4, 1], "w": 1.25, "x": 1.25, "y": 4},
124+
{"matrix": [4, 2], "w": 1.25, "x": 2.5, "y": 4},
125+
126+
{"matrix": [4, 6], "w": 6.25, "x": 3.75, "y": 4},
127+
128+
{"matrix": [4, 10], "w": 1.25, "x": 10, "y": 4},
129+
{"matrix": [4, 11], "w": 1.25, "x": 11.25, "y": 4},
130+
131+
{"matrix": [4, 12], "x": 13, "y": 4},
132+
{"matrix": [4, 13], "x": 14, "y": 4},
133+
{"matrix": [4, 14], "x": 15, "y": 4}
134+
]
135+
},
136+
"LAYOUT_65_ansi_blocker": {
137+
"layout": [
138+
{"matrix": [0, 0], "x": 0, "y": 0},
139+
{"matrix": [0, 1], "x": 1, "y": 0},
140+
{"matrix": [0, 2], "x": 2, "y": 0},
141+
{"matrix": [0, 3], "x": 3, "y": 0},
142+
{"matrix": [0, 4], "x": 4, "y": 0},
143+
{"matrix": [0, 5], "x": 5, "y": 0},
144+
{"matrix": [0, 6], "x": 6, "y": 0},
145+
{"matrix": [0, 7], "x": 7, "y": 0},
146+
{"matrix": [0, 8], "x": 8, "y": 0},
147+
{"matrix": [0, 9], "x": 9, "y": 0},
148+
{"matrix": [0, 10], "x": 10, "y": 0},
149+
{"matrix": [0, 11], "x": 11, "y": 0},
150+
{"matrix": [0, 12], "x": 12, "y": 0},
151+
{"matrix": [0, 13], "w": 2, "x": 13, "y": 0},
152+
{"matrix": [0, 14], "x": 15, "y": 0},
153+
154+
{"matrix": [1, 0], "w": 1.5, "x": 0, "y": 1},
155+
{"matrix": [1, 1], "x": 1.5, "y": 1},
156+
{"matrix": [1, 2], "x": 2.5, "y": 1},
157+
{"matrix": [1, 3], "x": 3.5, "y": 1},
158+
{"matrix": [1, 4], "x": 4.5, "y": 1},
159+
{"matrix": [1, 5], "x": 5.5, "y": 1},
160+
{"matrix": [1, 6], "x": 6.5, "y": 1},
161+
{"matrix": [1, 7], "x": 7.5, "y": 1},
162+
{"matrix": [1, 8], "x": 8.5, "y": 1},
163+
{"matrix": [1, 9], "x": 9.5, "y": 1},
164+
{"matrix": [1, 10], "x": 10.5, "y": 1},
165+
{"matrix": [1, 11], "x": 11.5, "y": 1},
166+
{"matrix": [1, 12], "x": 12.5, "y": 1},
167+
{"matrix": [1, 13], "w": 1.5, "x": 13.5, "y": 1},
168+
{"matrix": [1, 14], "x": 15, "y": 1},
169+
170+
{"matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
171+
{"matrix": [2, 1], "x": 1.75, "y": 2},
172+
{"matrix": [2, 2], "x": 2.75, "y": 2},
173+
{"matrix": [2, 3], "x": 3.75, "y": 2},
174+
{"matrix": [2, 4], "x": 4.75, "y": 2},
175+
{"matrix": [2, 5], "x": 5.75, "y": 2},
176+
{"matrix": [2, 6], "x": 6.75, "y": 2},
177+
{"matrix": [2, 7], "x": 7.75, "y": 2},
178+
{"matrix": [2, 8], "x": 8.75, "y": 2},
179+
{"matrix": [2, 9], "x": 9.75, "y": 2},
180+
{"matrix": [2, 10], "x": 10.75, "y": 2},
181+
{"matrix": [2, 11], "x": 11.75, "y": 2},
182+
{"matrix": [2, 12], "w": 2.25, "x": 12.75, "y": 2},
183+
{"matrix": [2, 14], "x": 15, "y": 2},
184+
185+
{"matrix": [3, 0], "w": 2.25, "x": 0, "y": 3},
186+
{"matrix": [3, 2], "x": 2.25, "y": 3},
187+
{"matrix": [3, 3], "x": 3.25, "y": 3},
188+
{"matrix": [3, 4], "x": 4.25, "y": 3},
189+
{"matrix": [3, 5], "x": 5.25, "y": 3},
190+
{"matrix": [3, 6], "x": 6.25, "y": 3},
191+
{"matrix": [3, 7], "x": 7.25, "y": 3},
192+
{"matrix": [3, 8], "x": 8.25, "y": 3},
193+
{"matrix": [3, 9], "x": 9.25, "y": 3},
194+
{"matrix": [3, 10], "x": 10.25, "y": 3},
195+
{"matrix": [3, 11], "x": 11.25, "y": 3},
196+
{"matrix": [3, 12], "w": 1.75, "x": 12.25, "y": 3},
197+
{"matrix": [3, 13], "x": 14, "y": 3},
198+
{"matrix": [3, 14], "x": 15, "y": 3},
199+
200+
{"matrix": [4, 0], "w": 1.25, "x": 0, "y": 4},
201+
{"matrix": [4, 1], "w": 1.25, "x": 1.25, "y": 4},
202+
{"matrix": [4, 2], "w": 1.25, "x": 2.5, "y": 4},
203+
204+
{"matrix": [4, 6], "w": 6.25, "x": 3.75, "y": 4},
205+
206+
{"matrix": [4, 10], "w": 1.25, "x": 10, "y": 4},
207+
{"matrix": [4, 11], "w": 1.25, "x": 11.25, "y": 4},
208+
209+
{"matrix": [4, 12], "x": 13, "y": 4},
210+
{"matrix": [4, 13], "x": 14, "y": 4},
211+
{"matrix": [4, 14], "x": 15, "y": 4}
212+
]
213+
}
214+
}
215+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// Copyright 2023 MaiTheSan (@maithesan)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#include QMK_KEYBOARD_H
5+
enum {
6+
_BASE,
7+
_FN1
8+
};
9+
10+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
11+
/* Base Layer
12+
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
13+
* │Esc│! 1│@ 2│# 3│$ 4│% 5│^ 6│& 7│* 8│( 9│) 0│_ -│+ =│ Bckspc│Hom│
14+
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
15+
* │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │{ [│} ]│| \│PgU│
16+
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
17+
* │HyCaps│ A │ S │ D │ F │ G │ H │ J │ K │ L │: ;│" '│ Enter│PgD│
18+
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
19+
* │Shift │ Z │ X │ C │ V │ B │ N │ M │< ,│> .│? /│ Shift│ Up│End│
20+
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
21+
* │Ctrl│ Opt│ Cmd│ Space │Cmd │FnPy│ │Lef│Dow│Rig│
22+
* └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
23+
*/
24+
[_BASE] = LAYOUT_65_ansi_blocker(
25+
KC_ESC, 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,
26+
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,
27+
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,
28+
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,
29+
KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, KC_RCMD, MO(_FN1), KC_LEFT, KC_DOWN, KC_RGHT
30+
),
31+
/* Function Layer
32+
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
33+
* │` ~│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│ Delete│SlD│
34+
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
35+
* │RMod │RH+│RS+│RV+│AS+│ │ │ │ │ │F13│F14│F15│ LHP │VlU│
36+
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
37+
* │RTgl │RH-│RS-│RV-│AS-│ │ │ │ │ │ │ │ │VlD│
38+
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
39+
* │ │LYR│Thm│ │ │RST│ │Mke│Prv│Nxt│Ply│ │PgU│Mut│
40+
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
41+
* │ │ │ │ │ │ │ │Hom│PgD│End│
42+
* └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
43+
*/
44+
[_FN1] = LAYOUT_65_ansi_blocker(
45+
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_DEL, _______,
46+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F13, KC_F14, KC_F15, _______, KC_VOLU,
47+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD,
48+
_______, _______, _______, _______, _______, QK_BOOT, _______, _______, KC_MPRV, KC_MNXT, KC_MPLY, _______, KC_PGUP, KC_MUTE,
49+
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END
50+
),
51+
};
52+
#if defined(ENCODER_MAP_ENABLE)
53+
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
54+
[_BASE] = { ENCODER_CCW_CW(KC_PGDN, KC_PGUP) },
55+
[_FN1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }
56+
};
57+
#endif // ENCODER_MAP_ENABLE
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ENCODER_MAP_ENABLE = yes
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// Copyright 2023 MaiTheSan (@maithesan)
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#include QMK_KEYBOARD_H
5+
enum {
6+
_BASE,
7+
_FN1,
8+
};
9+
10+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
11+
/* Base Layer
12+
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
13+
* │Esc│! 1│@ 2│# 3│$ 4│% 5│^ 6│& 7│* 8│( 9│) 0│_ -│+ =│Bsp│Bsp│Hom│
14+
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
15+
* │Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │{ [│} ]│| \│PgU│
16+
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
17+
* │HyCaps│ A │ S │ D │ F │ G │ H │ J │ K │ L │: ;│" '│ Enter│PgD│
18+
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
19+
* │Shift │ Z │ X │ C │ V │ B │ N │ M │< ,│> .│? /│ Shift│ Up│End│
20+
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
21+
* │Ctrl│ Opt│ Cmd│ Space │Cmd │FnPy│ │Lef│Dow│Rig│
22+
* └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
23+
*/
24+
[_BASE] = LAYOUT_65_ansi_blocker_split_bs(
25+
KC_ESC, 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_BSPC, KC_HOME,
26+
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,
27+
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,
28+
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,
29+
KC_LCTL, KC_LOPT, KC_LCMD, KC_SPC, KC_RCMD, MO(_FN1), KC_LEFT, KC_DOWN, KC_RGHT
30+
),
31+
/* Function Layer
32+
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
33+
* │` ~│ F1│ F2│ F3│ F4│ F5│ F6│ F7│ F8│ F9│F10│F11│F12│Del│ │ │
34+
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
35+
* │RMod │RH+│RS+│RV+│AS+│ │ │ │ │ │F13│F14│F15│ LHP │VlU│
36+
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
37+
* │RTgl │RH-│RS-│RV-│AS-│ │ │ │ │ │ │ │ │VlD│
38+
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
39+
* │ │LYR│Thm│ │ │RST│ │Mke│Prv│Nxt│Ply│ │PgU│Mut│
40+
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
41+
* │ │ │ │ │ │ │ │Hom│PgD│End│
42+
* └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
43+
*/
44+
[_FN1] = LAYOUT_65_ansi_blocker_split_bs(
45+
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_DEL, _______, _______,
46+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F13, KC_F14, KC_F15, _______, KC_VOLU,
47+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD,
48+
_______, _______, _______, _______, _______, QK_BOOT, _______, _______, KC_MPRV, KC_MNXT, KC_MPLY, _______, KC_PGUP, KC_MUTE,
49+
_______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END
50+
),
51+
};
52+
#if defined(ENCODER_MAP_ENABLE)
53+
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
54+
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
55+
[_FN1] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
56+
};
57+
#endif
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VIA_ENABLE = yes
2+
ENCODER_MAP_ENABLE = yes

0 commit comments

Comments
 (0)