Skip to content

Commit 5ccefc3

Browse files
committed
miryoku
1 parent 2ec6e50 commit 5ccefc3

18 files changed

Lines changed: 1918 additions & 0 deletions

File tree

.github/workflows/build_binaries.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
with:
1313
qmk_repo: qmk/qmk_firmware
1414
qmk_ref: master
15+
preparation_command: 'for KB in "$GITHUB_WORKSPACE/keyboards/*/"; do ln -s $KB qmk_firmware/keyboards/ ; done'
1516

1617
publish:
1718
name: 'QMK Userspace Publish'

keyboards/kyria_mini/keyboard.json

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"manufacturer": "VeyPatch",
3+
"keyboard_name": "Kyria mini",
4+
"maintainer": "VeyPatch",
5+
"development_board": "helios",
6+
"diode_direction": "COL2ROW",
7+
"features": {
8+
"bootmagic": true,
9+
"command": false,
10+
"console": false,
11+
"extrakey": true,
12+
"mousekey": true,
13+
"nkro": true
14+
},
15+
"matrix_pins": {
16+
"direct": [
17+
["GP0", "GP1", "GP29", "GP28", "GP27"],
18+
["GP26", "GP22", "GP20", "GP23", "GP21"],
19+
["GP11", "GP4", "GP2", "GP10", "GP5"],
20+
["GP9", "GP8", "GP7"]
21+
]
22+
},
23+
"split": {
24+
"enabled": true,
25+
"transport": {
26+
"watchdog": true
27+
},
28+
"serial": {
29+
"driver": "vendor",
30+
"pin": "GP3"
31+
},
32+
"usb_detect": {
33+
"enabled": true
34+
},
35+
"matrix_pins": {
36+
"right": {
37+
"direct": [
38+
["GP0", "GP1", "GP29", "GP28", "GP27"],
39+
["GP26", "GP22", "GP20", "GP23", "GP21"],
40+
["GP11", "GP4", "GP2", "GP10", "GP5"],
41+
["GP9", "GP8", "GP7"]
42+
]
43+
}
44+
}
45+
},
46+
"processor": "RP2040",
47+
"url": "",
48+
"usb": {
49+
"device_version": "1.0.0",
50+
"pid": "0x79CE",
51+
"vid": "0xD3CC"
52+
},
53+
"community_layouts": ["split_3x5_3"],
54+
"layouts": {
55+
"LAYOUT_split_3x5_3": {
56+
"layout": [
57+
{"matrix": [0, 4], "x": 0, "y": 0},
58+
{"matrix": [0, 3], "x": 1, "y": 0},
59+
{"matrix": [0, 2], "x": 2, "y": 0},
60+
{"matrix": [0, 1], "x": 3, "y": 0},
61+
{"matrix": [0, 0], "x": 4, "y": 0},
62+
63+
{"matrix": [4, 0], "x": 6, "y": 0},
64+
{"matrix": [4, 1], "x": 7, "y": 0},
65+
{"matrix": [4, 2], "x": 8, "y": 0},
66+
{"matrix": [4, 3], "x": 9, "y": 0},
67+
{"matrix": [4, 4], "x": 10, "y": 0},
68+
69+
{"matrix": [1, 4], "x": 0, "y": 1},
70+
{"matrix": [1, 3], "x": 1, "y": 1},
71+
{"matrix": [1, 2], "x": 2, "y": 1},
72+
{"matrix": [1, 1], "x": 3, "y": 1},
73+
{"matrix": [1, 0], "x": 4, "y": 1},
74+
75+
{"matrix": [5, 0], "x": 6, "y": 1},
76+
{"matrix": [5, 1], "x": 7, "y": 1},
77+
{"matrix": [5, 2], "x": 8, "y": 1},
78+
{"matrix": [5, 3], "x": 9, "y": 1},
79+
{"matrix": [5, 4], "x": 10, "y": 1},
80+
81+
{"matrix": [2, 4], "x": 0, "y": 2},
82+
{"matrix": [2, 3], "x": 1, "y": 2},
83+
{"matrix": [2, 2], "x": 2, "y": 2},
84+
{"matrix": [2, 1], "x": 3, "y": 2},
85+
{"matrix": [2, 0], "x": 4, "y": 2},
86+
87+
{"matrix": [6, 0], "x": 6, "y": 2},
88+
{"matrix": [6, 1], "x": 7, "y": 2},
89+
{"matrix": [6, 2], "x": 8, "y": 2},
90+
{"matrix": [6, 3], "x": 9, "y": 2},
91+
{"matrix": [6, 4], "x": 10, "y": 2},
92+
93+
{"matrix": [3, 2], "x": 1, "y": 3},
94+
{"matrix": [3, 1], "x": 2, "y": 3},
95+
{"matrix": [3, 0], "x": 3, "y": 3},
96+
97+
{"matrix": [7, 0], "x": 6, "y": 3},
98+
{"matrix": [7, 1], "x": 7, "y": 3},
99+
{"matrix": [7, 2], "x": 8, "y": 3}
100+
]
101+
}
102+
}
103+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Copyright 2023 QMK
2+
// SPDX-License-Identifier: GPL-2.0-or-later
3+
4+
#include QMK_KEYBOARD_H
5+
6+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
7+
/*
8+
* ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
9+
* │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │
10+
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
11+
* │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │
12+
* ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
13+
* │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │
14+
* └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
15+
* ┌───┐ ┌───┐
16+
* │Del├───┐ ┌───┤BkS│
17+
* └───┤Tab├───┐ ┌───┤Esc├───┘
18+
* └───┤Spc│ │Ent├───┘
19+
* └───┘ └───┘
20+
* Home-row mods,
21+
* ASDF are Left-GUI, Left-Alt, Left-Ctrl, Left-Shift
22+
* JKL; are Right-Shift, Left-Ctrl, Left-Alt, Left-GUI
23+
*/
24+
[0] = LAYOUT_split_3x5_3(
25+
KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
26+
MT(MOD_LGUI, KC_A), MT(MOD_LALT, KC_S), MT(MOD_LCTL, KC_D), MT(MOD_LSFT, KC_F), KC_G, KC_H, MT(MOD_RSFT, KC_J), MT(MOD_LCTL, KC_K), MT(MOD_LALT, KC_L), MT(MOD_LGUI, KC_SCLN),
27+
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
28+
KC_DEL, KC_TAB, KC_SPC, KC_ENT, KC_ESC, KC_BSPC
29+
)
30+
};

keyboards/kyria_mini/rules.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
ifdef HANDS_LEFT
3+
OPT_DEFS += -DINIT_EE_HANDS_LEFT
4+
endif
5+
6+
ifdef HANDS_RIGHT
7+
OPT_DEFS += -DINIT_EE_HANDS_RIGHT
8+
endif
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright 2019 Manna Harbour
2+
// https://github.com/manna-harbour/miryoku
3+
4+
// 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/>.
5+
6+
#pragma once
7+
8+
#define LAYOUT_miryoku(\
9+
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
10+
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
11+
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
12+
N30, N31, K32, K33, K34, K35, K36, K37, N38, N39\
13+
)\
14+
LAYOUT_split_3x5_3(\
15+
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
16+
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
17+
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
18+
K32, K33, K34, K35, K36, K37\
19+
)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Copyright 2019 Manna Harbour
2+
// https://github.com/manna-harbour/miryoku
3+
4+
// 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/>.

qmk.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88
{
99
"CONVERT_TO": "liatris"
1010
}
11+
],
12+
[
13+
"kyria_mini",
14+
"miryoku",
15+
{
16+
"TARGET": "kyria_mini_helios_left",
17+
"HANDS_LEFT": "1"
18+
}
19+
],
20+
[
21+
"kyria_mini",
22+
"miryoku",
23+
{
24+
"TARGET": "kyria_mini_helios_right",
25+
"HANDS_RIGHT": "1"
26+
}
1127
]
1228
]
1329
}

users/miryoku/config.h

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Copyright 2019 Manna Harbour
2+
// https://github.com/manna-harbour/miryoku
3+
4+
// 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/>.
5+
6+
#pragma once
7+
8+
#include "custom_config.h"
9+
10+
// default but used in macros
11+
#undef TAPPING_TERM
12+
#define TAPPING_TERM 200
13+
14+
15+
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
16+
#define QUICK_TAP_TERM 0
17+
18+
// Auto Shift
19+
#define NO_AUTO_SHIFT_ALPHA
20+
#define AUTO_SHIFT_TIMEOUT TAPPING_TERM
21+
#define AUTO_SHIFT_NO_SETUP
22+
23+
// Mouse key speed and acceleration.
24+
#undef MOUSEKEY_DELAY
25+
#define MOUSEKEY_DELAY 0
26+
#undef MOUSEKEY_INTERVAL
27+
#define MOUSEKEY_INTERVAL 16
28+
#undef MOUSEKEY_WHEEL_DELAY
29+
#define MOUSEKEY_WHEEL_DELAY 0
30+
#undef MOUSEKEY_MAX_SPEED
31+
#define MOUSEKEY_MAX_SPEED 6
32+
#undef MOUSEKEY_TIME_TO_MAX
33+
#define MOUSEKEY_TIME_TO_MAX 64
34+
35+
// Thumb Combos
36+
#if defined (MIRYOKU_KLUDGE_THUMBCOMBOS)
37+
#define COMBO_TERM 200
38+
#define EXTRA_SHORT_COMBOS
39+
#endif

users/miryoku/custom_config.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright 2019 Manna Harbour
2+
// https://github.com/manna-harbour/miryoku
3+
4+
// 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/>.
5+
6+
#pragma once
7+

users/miryoku/custom_rules.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Copyright 2019 Manna Harbour
2+
# https://github.com/manna-harbour/miryoku
3+

0 commit comments

Comments
 (0)