以前
Ergogenで
基板以外に
Pro Microを
ロープロファイルの
組み立て
ここで
届いたので
ファームウェアはqmk_firmwareのqmk new-keyboard
で
今回はinfo.json
のmatrix_pins.direct
に
"matrix_pins": {
"direct": [
["C6", "D2", "F7", "B2", "F4"],
["D7", "D0", "F6", "B3", "F5"],
["E6", "D4", "D3", "B1", "B6"],
[null, null, null, "B4", "B5"]
]
}
同じくinfo.json
のlayouts
に、とりあえずLAYOUT
とlayout
の
分割レイアウトのmatrix_pins
でのmatrix_pins.direct
の
今回だとmatrix_pins.direct[4]
からmatrix_pins.direct[7]
までが
"layouts": {
"LAYOUT": {
"layout": [
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 0, "y": 0, "matrix": [0, 1]},
{"x": 0, "y": 0, "matrix": [0, 2]},
{"x": 0, "y": 0, "matrix": [0, 3]},
{"x": 0, "y": 0, "matrix": [0, 4]},
{"x": 0, "y": 0, "matrix": [4, 4]},
{"x": 0, "y": 0, "matrix": [4, 3]},
{"x": 0, "y": 0, "matrix": [4, 2]},
{"x": 0, "y": 0, "matrix": [4, 1]},
{"x": 0, "y": 0, "matrix": [4, 0]},
{"x": 0, "y": 0, "matrix": [1, 0]},
{"x": 0, "y": 0, "matrix": [1, 1]},
{"x": 0, "y": 0, "matrix": [1, 2]},
{"x": 0, "y": 0, "matrix": [1, 3]},
{"x": 0, "y": 0, "matrix": [1, 4]},
{"x": 0, "y": 0, "matrix": [5, 4]},
{"x": 0, "y": 0, "matrix": [5, 3]},
{"x": 0, "y": 0, "matrix": [5, 2]},
{"x": 0, "y": 0, "matrix": [5, 1]},
{"x": 0, "y": 0, "matrix": [5, 0]},
{"x": 0, "y": 0, "matrix": [2, 0]},
{"x": 0, "y": 0, "matrix": [2, 1]},
{"x": 0, "y": 0, "matrix": [2, 2]},
{"x": 0, "y": 0, "matrix": [2, 3]},
{"x": 0, "y": 0, "matrix": [2, 4]},
{"x": 0, "y": 0, "matrix": [6, 4]},
{"x": 0, "y": 0, "matrix": [6, 3]},
{"x": 0, "y": 0, "matrix": [6, 2]},
{"x": 0, "y": 0, "matrix": [6, 1]},
{"x": 0, "y": 0, "matrix": [6, 0]},
{"x": 0, "y": 0, "matrix": [3, 3]},
{"x": 0, "y": 0, "matrix": [3, 4]},
{"x": 0, "y": 0, "matrix": [7, 4]},
{"x": 0, "y": 0, "matrix": [7, 3]},
]
}
}
キーマップは
あと、update_tri_layer_state
を
layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, 1, 2, 3);
}
自分で
おわりに、
ただレポジトリの