Merge remote-tracking branch 'upstream/master' into fl16-july-merge
This commit is contained in:
@@ -1 +0,0 @@
|
||||
#include "108key_trackpoint.h"
|
||||
@@ -1,23 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K000, K002, K003, K004, K005, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, K017, K019, K020, K021, K022, \
|
||||
\
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, K215, K216, K217, K219, K220, K221, K222, \
|
||||
K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, K316, K317, K319, K320, K321, \
|
||||
K400, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K419, K420, K421, K422, \
|
||||
K501, K502, K503, K504, K505, K506, K507, K508, K509, K510, K511, K513, K516, K519, K520, K521, \
|
||||
K600, K601, K603, K606, K610, K611, K613, K614, K615, K616, K617, K619, K621, K622, \
|
||||
K705, K706, K707 \
|
||||
) { \
|
||||
{ K000, KC_NO, K002, K003, K004, K005, KC_NO, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, K017, KC_NO, K019, K020, K021, K022 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, K214, K215, K216, K217, KC_NO, K219, K220, K221, K222 }, \
|
||||
{ K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, K316, K317, KC_NO, K319, K320, K321, KC_NO }, \
|
||||
{ K400, KC_NO, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K419, K420, K421, K422 }, \
|
||||
{ KC_NO, K501, K502, K503, K504, K505, K506, K507, K508, K509, K510, K511, KC_NO, K513, KC_NO, KC_NO, K516, KC_NO, KC_NO, K519, K520, K521, KC_NO }, \
|
||||
{ K600, K601, KC_NO, K603, KC_NO, KC_NO, K606, KC_NO, KC_NO, KC_NO, K610, K611, KC_NO, K613, K614, K615, K616, K617, KC_NO, K619, KC_NO, K621, K622 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K705, K706, K707, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \
|
||||
}
|
||||
@@ -37,11 +37,5 @@
|
||||
#define PS2_USART_RX_VECT USART1_RX_vect
|
||||
#endif
|
||||
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B5, B6, B7 }
|
||||
#define MATRIX_COL_PINS { C0, C1, C2, C3, C4, C5, C6, C7, D0, D1, F0, D3, D4, F1, D6, D7, E0, E1, E2, E3, E4, E5, E6 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
@@ -8,122 +8,147 @@
|
||||
"pid": "0x5678",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7", "D0", "D1", "F0", "D3", "D4", "F1", "D6", "D7", "E0", "E1", "E2", "E3", "E4", "E5", "E6"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "halfkay",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"Esc", "x":0, "y":0},
|
||||
{"label":"F1", "x":2, "y":0},
|
||||
{"label":"F2", "x":3, "y":0},
|
||||
{"label":"F3", "x":4, "y":0},
|
||||
{"label":"F4", "x":5, "y":0},
|
||||
{"label":"F5", "x":6.5, "y":0},
|
||||
{"label":"F6", "x":7.5, "y":0},
|
||||
{"label":"F7", "x":8.5, "y":0},
|
||||
{"label":"F8", "x":9.5, "y":0},
|
||||
{"label":"F9", "x":11, "y":0},
|
||||
{"label":"F10", "x":12, "y":0},
|
||||
{"label":"F11", "x":13, "y":0},
|
||||
{"label":"F12", "x":14, "y":0},
|
||||
{"label":"Print Screen", "x":15.25, "y":0},
|
||||
{"label":"Scroll Lock", "x":16.25, "y":0},
|
||||
{"label":"Pause", "x":17.25, "y":0},
|
||||
{"label":"Mute", "x":18.5, "y":0},
|
||||
{"label":"Previous", "x":19.5, "y":0},
|
||||
{"label":"Next", "x":20.5, "y":0},
|
||||
{"label":"Play", "x":21.5, "y":0},
|
||||
{"label":"`", "x":0, "y":1.5},
|
||||
{"label":"1", "x":1, "y":1.5},
|
||||
{"label":"2", "x":2, "y":1.5},
|
||||
{"label":"3", "x":3, "y":1.5},
|
||||
{"label":"4", "x":4, "y":1.5},
|
||||
{"label":"5", "x":5, "y":1.5},
|
||||
{"label":"6", "x":6, "y":1.5},
|
||||
{"label":"7", "x":7, "y":1.5},
|
||||
{"label":"8", "x":8, "y":1.5},
|
||||
{"label":"9", "x":9, "y":1.5},
|
||||
{"label":"0", "x":10, "y":1.5},
|
||||
{"label":"-", "x":11, "y":1.5},
|
||||
{"label":"=", "x":12, "y":1.5},
|
||||
{"label":"Backspace", "x":13, "y":1.5, "w":2},
|
||||
{"label":"Insert", "x":15.25, "y":1.5},
|
||||
{"label":"Home", "x":16.25, "y":1.5},
|
||||
{"label":"Page Up", "x":17.25, "y":1.5},
|
||||
{"label":"Num Lock", "x":18.5, "y":1.5},
|
||||
{"label":"/", "x":19.5, "y":1.5},
|
||||
{"label":"*", "x":20.5, "y":1.5},
|
||||
{"label":"-", "x":21.5, "y":1.5},
|
||||
{"label":"Tab", "x":0, "y":2.5, "w":1.5},
|
||||
{"label":"Q", "x":1.5, "y":2.5},
|
||||
{"label":"W", "x":2.5, "y":2.5},
|
||||
{"label":"E", "x":3.5, "y":2.5},
|
||||
{"label":"R", "x":4.5, "y":2.5},
|
||||
{"label":"T", "x":5.5, "y":2.5},
|
||||
{"label":"Y", "x":6.5, "y":2.5},
|
||||
{"label":"U", "x":7.5, "y":2.5},
|
||||
{"label":"I", "x":8.5, "y":2.5},
|
||||
{"label":"O", "x":9.5, "y":2.5},
|
||||
{"label":"P", "x":10.5, "y":2.5},
|
||||
{"label":"[", "x":11.5, "y":2.5},
|
||||
{"label":"]", "x":12.5, "y":2.5},
|
||||
{"label":"\\", "x":13.5, "y":2.5, "w":1.5},
|
||||
{"label":"Delete", "x":15.25, "y":2.5},
|
||||
{"label":"End", "x":16.25, "y":2.5},
|
||||
{"label":"Page Down", "x":17.25, "y":2.5},
|
||||
{"label":"7", "x":18.5, "y":2.5},
|
||||
{"label":"8", "x":19.5, "y":2.5},
|
||||
{"label":"9", "x":20.5, "y":2.5},
|
||||
{"label":"Caps Lock", "x":0, "y":3.5, "w":1.75},
|
||||
{"label":"A", "x":1.75, "y":3.5},
|
||||
{"label":"S", "x":2.75, "y":3.5},
|
||||
{"label":"D", "x":3.75, "y":3.5},
|
||||
{"label":"F", "x":4.75, "y":3.5},
|
||||
{"label":"G", "x":5.75, "y":3.5},
|
||||
{"label":"H", "x":6.75, "y":3.5},
|
||||
{"label":"J", "x":7.75, "y":3.5},
|
||||
{"label":"K", "x":8.75, "y":3.5},
|
||||
{"label":"L", "x":9.75, "y":3.5},
|
||||
{"label":";", "x":10.75, "y":3.5},
|
||||
{"label":"'", "x":11.75, "y":3.5},
|
||||
{"label":"Enter", "x":12.75, "y":3.5, "w":2.25},
|
||||
{"label":"4", "x":18.5, "y":3.5},
|
||||
{"label":"5", "x":19.5, "y":3.5},
|
||||
{"label":"6", "x":20.5, "y":3.5},
|
||||
{"label":"+", "x":21.5, "y":2.5, "h":2},
|
||||
{"label":"Shift", "x":0, "y":4.5, "w":2.25},
|
||||
{"label":"Z", "x":2.25, "y":4.5},
|
||||
{"label":"X", "x":3.25, "y":4.5},
|
||||
{"label":"C", "x":4.25, "y":4.5},
|
||||
{"label":"V", "x":5.25, "y":4.5},
|
||||
{"label":"B", "x":6.25, "y":4.5},
|
||||
{"label":"N", "x":7.25, "y":4.5},
|
||||
{"label":"M", "x":8.25, "y":4.5},
|
||||
{"label":",", "x":9.25, "y":4.5},
|
||||
{"label":".", "x":10.25, "y":4.5},
|
||||
{"label":"/", "x":11.25, "y":4.5},
|
||||
{"label":"Shift", "x":12.25, "y":4.5, "w":2.75},
|
||||
{"label":"Up", "x":16.25, "y":4.5},
|
||||
{"label":"1", "x":18.5, "y":4.5},
|
||||
{"label":"2", "x":19.5, "y":4.5},
|
||||
{"label":"3", "x":20.5, "y":4.5},
|
||||
{"label":"Ctrl", "x":0, "y":5.5, "w":1.25},
|
||||
{"label":"LGUI", "x":1.25, "y":5.5, "w":1.25},
|
||||
{"label":"Alt", "x":2.5, "y":5.5, "w":1.25},
|
||||
{"label":"Space", "x":3.75, "y":5.5, "w":6.25},
|
||||
{"label":"Alt", "x":10, "y":5.5, "w":1.25},
|
||||
{"label":"RGUI", "x":11.25, "y":5.5, "w":1.25},
|
||||
{"label":"Menu", "x":12.5, "y":5.5, "w":1.25},
|
||||
{"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25},
|
||||
{"label":"Left", "x":15.25, "y":5.5},
|
||||
{"label":"Down", "x":16.25, "y":5.5},
|
||||
{"label":"Right", "x":17.25, "y":5.5},
|
||||
{"label":"0", "x":18.5, "y":5.5, "w":2},
|
||||
{"label":".", "x":20.5, "y":5.5},
|
||||
{"label":"Enter", "x":21.5, "y":4.5, "h":2},
|
||||
{"label":"Mouse1", "x":5.25, "y":6.5},
|
||||
{"label":"Mouse3", "x":6.25, "y":6.5},
|
||||
{"label":"Mouse2", "x":7.25, "y":6.5}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
|
||||
{"matrix": [0, 7], "x": 6.5, "y": 0},
|
||||
{"matrix": [0, 8], "x": 7.5, "y": 0},
|
||||
{"matrix": [0, 9], "x": 8.5, "y": 0},
|
||||
{"matrix": [0, 10], "x": 9.5, "y": 0},
|
||||
|
||||
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||
{"matrix": [0, 14], "x": 14, "y": 0},
|
||||
|
||||
{"matrix": [0, 15], "x": 15.25, "y": 0},
|
||||
{"matrix": [0, 16], "x": 16.25, "y": 0},
|
||||
{"matrix": [0, 17], "x": 17.25, "y": 0},
|
||||
|
||||
{"matrix": [0, 19], "x": 18.5, "y": 0},
|
||||
{"matrix": [0, 20], "x": 19.5, "y": 0},
|
||||
{"matrix": [0, 21], "x": 20.5, "y": 0},
|
||||
{"matrix": [0, 22], "x": 21.5, "y": 0},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 1.5},
|
||||
{"matrix": [2, 1], "x": 1, "y": 1.5},
|
||||
{"matrix": [2, 2], "x": 2, "y": 1.5},
|
||||
{"matrix": [2, 3], "x": 3, "y": 1.5},
|
||||
{"matrix": [2, 4], "x": 4, "y": 1.5},
|
||||
{"matrix": [2, 5], "x": 5, "y": 1.5},
|
||||
{"matrix": [2, 6], "x": 6, "y": 1.5},
|
||||
{"matrix": [2, 7], "x": 7, "y": 1.5},
|
||||
{"matrix": [2, 8], "x": 8, "y": 1.5},
|
||||
{"matrix": [2, 9], "x": 9, "y": 1.5},
|
||||
{"matrix": [2, 10], "x": 10, "y": 1.5},
|
||||
{"matrix": [2, 11], "x": 11, "y": 1.5},
|
||||
{"matrix": [2, 12], "x": 12, "y": 1.5},
|
||||
{"matrix": [2, 14], "x": 13, "y": 1.5, "w": 2},
|
||||
|
||||
{"matrix": [2, 15], "x": 15.25, "y": 1.5},
|
||||
{"matrix": [2, 16], "x": 16.25, "y": 1.5},
|
||||
{"matrix": [2, 17], "x": 17.25, "y": 1.5},
|
||||
|
||||
{"matrix": [2, 19], "x": 18.5, "y": 1.5},
|
||||
{"matrix": [2, 20], "x": 19.5, "y": 1.5},
|
||||
{"matrix": [2, 21], "x": 20.5, "y": 1.5},
|
||||
{"matrix": [2, 22], "x": 21.5, "y": 1.5},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 2.5, "w": 1.5},
|
||||
{"matrix": [3, 2], "x": 1.5, "y": 2.5},
|
||||
{"matrix": [3, 3], "x": 2.5, "y": 2.5},
|
||||
{"matrix": [3, 4], "x": 3.5, "y": 2.5},
|
||||
{"matrix": [3, 5], "x": 4.5, "y": 2.5},
|
||||
{"matrix": [3, 6], "x": 5.5, "y": 2.5},
|
||||
{"matrix": [3, 7], "x": 6.5, "y": 2.5},
|
||||
{"matrix": [3, 8], "x": 7.5, "y": 2.5},
|
||||
{"matrix": [3, 9], "x": 8.5, "y": 2.5},
|
||||
{"matrix": [3, 10], "x": 9.5, "y": 2.5},
|
||||
{"matrix": [3, 11], "x": 10.5, "y": 2.5},
|
||||
{"matrix": [3, 12], "x": 11.5, "y": 2.5},
|
||||
{"matrix": [3, 13], "x": 12.5, "y": 2.5},
|
||||
{"matrix": [3, 14], "x": 13.5, "y": 2.5, "w": 1.5},
|
||||
|
||||
{"matrix": [3, 15], "x": 15.25, "y": 2.5},
|
||||
{"matrix": [3, 16], "x": 16.25, "y": 2.5},
|
||||
{"matrix": [3, 17], "x": 17.25, "y": 2.5},
|
||||
|
||||
{"matrix": [3, 19], "x": 18.5, "y": 2.5},
|
||||
{"matrix": [3, 20], "x": 19.5, "y": 2.5},
|
||||
{"matrix": [3, 21], "x": 20.5, "y": 2.5},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 3.5, "w": 1.75},
|
||||
{"matrix": [4, 2], "x": 1.75, "y": 3.5},
|
||||
{"matrix": [4, 3], "x": 2.75, "y": 3.5},
|
||||
{"matrix": [4, 4], "x": 3.75, "y": 3.5},
|
||||
{"matrix": [4, 5], "x": 4.75, "y": 3.5},
|
||||
{"matrix": [4, 6], "x": 5.75, "y": 3.5},
|
||||
{"matrix": [4, 7], "x": 6.75, "y": 3.5},
|
||||
{"matrix": [4, 8], "x": 7.75, "y": 3.5},
|
||||
{"matrix": [4, 9], "x": 8.75, "y": 3.5},
|
||||
{"matrix": [4, 10], "x": 9.75, "y": 3.5},
|
||||
{"matrix": [4, 11], "x": 10.75, "y": 3.5},
|
||||
{"matrix": [4, 12], "x": 11.75, "y": 3.5},
|
||||
{"matrix": [4, 13], "x": 12.75, "y": 3.5, "w": 2.25},
|
||||
|
||||
{"matrix": [4, 19], "x": 18.5, "y": 3.5},
|
||||
{"matrix": [4, 20], "x": 19.5, "y": 3.5},
|
||||
{"matrix": [4, 21], "x": 20.5, "y": 3.5},
|
||||
{"matrix": [4, 22], "x": 21.5, "y": 2.5, "h": 2},
|
||||
|
||||
{"matrix": [5, 1], "x": 0, "y": 4.5, "w": 2.25},
|
||||
{"matrix": [5, 2], "x": 2.25, "y": 4.5},
|
||||
{"matrix": [5, 3], "x": 3.25, "y": 4.5},
|
||||
{"matrix": [5, 4], "x": 4.25, "y": 4.5},
|
||||
{"matrix": [5, 5], "x": 5.25, "y": 4.5},
|
||||
{"matrix": [5, 6], "x": 6.25, "y": 4.5},
|
||||
{"matrix": [5, 7], "x": 7.25, "y": 4.5},
|
||||
{"matrix": [5, 8], "x": 8.25, "y": 4.5},
|
||||
{"matrix": [5, 9], "x": 9.25, "y": 4.5},
|
||||
{"matrix": [5, 10], "x": 10.25, "y": 4.5},
|
||||
{"matrix": [5, 11], "x": 11.25, "y": 4.5},
|
||||
{"matrix": [5, 13], "x": 12.25, "y": 4.5, "w": 2.75},
|
||||
|
||||
{"matrix": [5, 16], "x": 16.25, "y": 4.5},
|
||||
|
||||
{"matrix": [5, 19], "x": 18.5, "y": 4.5},
|
||||
{"matrix": [5, 20], "x": 19.5, "y": 4.5},
|
||||
{"matrix": [5, 21], "x": 20.5, "y": 4.5},
|
||||
|
||||
{"matrix": [6, 0], "x": 0, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [6, 1], "x": 1.25, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [6, 3], "x": 2.5, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [6, 6], "x": 3.75, "y": 5.5, "w": 6.25},
|
||||
{"matrix": [6, 10], "x": 10, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [6, 11], "x": 11.25, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [6, 13], "x": 12.5, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [6, 14], "x": 13.75, "y": 5.5, "w": 1.25},
|
||||
|
||||
{"matrix": [6, 15], "x": 15.25, "y": 5.5},
|
||||
{"matrix": [6, 16], "x": 16.25, "y": 5.5},
|
||||
{"matrix": [6, 17], "x": 17.25, "y": 5.5},
|
||||
|
||||
{"matrix": [6, 19], "x": 18.5, "y": 5.5, "w": 2},
|
||||
{"matrix": [6, 21], "x": 20.5, "y": 5.5},
|
||||
{"matrix": [6, 22], "x": 21.5, "y": 4.5, "h": 2},
|
||||
|
||||
{"matrix": [7, 5], "x": 5.25, "y": 6.5},
|
||||
{"matrix": [7, 6], "x": 6.25, "y": 6.5},
|
||||
{"matrix": [7, 7], "x": 7.25, "y": 6.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
/*
|
||||
Copyright 2022 Nabos <nabos at glargh dot fr>
|
||||
|
||||
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 "10k.h"
|
||||
|
||||
@@ -31,16 +31,17 @@
|
||||
"layouts": {
|
||||
"LAYOUT_split_1x5": {
|
||||
"layout": [
|
||||
{"label": "L00", "matrix": [0, 0], "x":0.4295, "y":1.011},
|
||||
{"label": "L01", "matrix": [0, 1], "x":1.445, "y":0.819},
|
||||
{"label": "L02", "matrix": [0, 2], "x":2.5385, "y":0.7555},
|
||||
{"label": "L03", "matrix": [0, 3], "x":3.568, "y":1.3745},
|
||||
{"label": "L04", "matrix": [0, 4], "x":4.2, "y":3.987},
|
||||
{"label": "R00", "matrix": [1, 0], "x":5.2, "y":3.987},
|
||||
{"label": "R01", "matrix": [1, 1], "x":5.832, "y":1.3745},
|
||||
{"label": "R02", "matrix": [1, 2], "x":6.8615, "y":0.7555},
|
||||
{"label": "R03", "matrix": [1, 3], "x":7.955, "y":0.819},
|
||||
{"label": "R04", "matrix": [1, 4], "x":8.9705, "y":1.011}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.25},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.125},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0.5},
|
||||
{"matrix": [0, 4], "x": 3.75, "y": 2.75},
|
||||
|
||||
{"matrix": [1, 0], "x": 5.75, "y": 2.75},
|
||||
{"matrix": [1, 1], "x": 6.5, "y": 0.5},
|
||||
{"matrix": [1, 2], "x": 7.5, "y": 0},
|
||||
{"matrix": [1, 3], "x": 8.5, "y": 0.125},
|
||||
{"matrix": [1, 4], "x": 9.5, "y": 0.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,16 +6,5 @@
|
||||
#define BLUE_LED B5
|
||||
#define GREEN_LED B6
|
||||
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, \
|
||||
K10, K11, K12, K13, K14 \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04 }, \
|
||||
{ K10, K11, K12, K13, K14 } \
|
||||
}
|
||||
|
||||
|
||||
|
||||
void turn_off_leds(void);
|
||||
void turn_on_led(pin_t pin);
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { B3, B2 }
|
||||
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
@@ -16,20 +8,3 @@
|
||||
|
||||
/* Tap dancing params */
|
||||
#define TAPPING_TERM 250
|
||||
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLIGHT_EFFECT_SNAKE
|
||||
#define RGBLIGHT_EFFECT_KNIGHT
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 0
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#endif
|
||||
|
||||
@@ -8,22 +8,27 @@
|
||||
"pid": "0x2020",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4"],
|
||||
"rows": ["B3", "B2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"x":2, "y":1},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1}
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
|
||||
*
|
||||
* 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 "3dfoxc.h"
|
||||
@@ -1,38 +0,0 @@
|
||||
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define XXX KC_NO
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \
|
||||
K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \
|
||||
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \
|
||||
K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \
|
||||
K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
|
||||
{ K10, XXX, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
|
||||
{ K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, XXX, K2F }, \
|
||||
{ XXX, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D, K3E, K3F }, \
|
||||
{ K40, K41, XXX, K43, XXX, XXX, K46, XXX, XXX, XXX, K4A, K4B, XXX, K4D, K4E, K4F }, \
|
||||
}
|
||||
|
||||
// generated by KBFirmware JSON to QMK Parser
|
||||
// https://noroadsleft.github.io/kbf_qmk_converter/
|
||||
@@ -1,33 +0,0 @@
|
||||
/* Copyright 2022 david l goodrich <dlg@dsrw.org>
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { F0, F1, C7, D5, B7 }
|
||||
#define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4, B5, B6, B2, B3, B1, F7, F6, F5, F4 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
@@ -8,365 +8,91 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
|
||||
"rows": ["F0", "F1", "C7", "D5", "B7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{
|
||||
"label": "K00 (B0,B5)",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K01 (B0,B6)",
|
||||
"x": 1,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K02 (B0,B7)",
|
||||
"x": 2,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K03 (B0,C0)",
|
||||
"x": 3,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K04 (B0,C1)",
|
||||
"x": 4,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K05 (B0,C2)",
|
||||
"x": 5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K06 (B0,C3)",
|
||||
"x": 6,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K07 (B0,C4)",
|
||||
"x": 7,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K08 (B0,C5)",
|
||||
"x": 8,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K09 (B0,C6)",
|
||||
"x": 9,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K0A (B0,C7)",
|
||||
"x": 10,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K0B (B0,D0)",
|
||||
"x": 11,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K0C (B0,D1)",
|
||||
"x": 12,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K0D (B0,D2)",
|
||||
"x": 13,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K0E (B0,D3)",
|
||||
"x": 14,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K0F (B0,D4)",
|
||||
"x": 15,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"label": "K10 (B1,B5)",
|
||||
"x": 0,
|
||||
"y": 1,
|
||||
"w": 1.5
|
||||
},
|
||||
{
|
||||
"label": "K12 (B1,B7)",
|
||||
"x": 1.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K13 (B1,C0)",
|
||||
"x": 2.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K14 (B1,C1)",
|
||||
"x": 3.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K15 (B1,C2)",
|
||||
"x": 4.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K16 (B1,C3)",
|
||||
"x": 5.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K17 (B1,C4)",
|
||||
"x": 6.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K18 (B1,C5)",
|
||||
"x": 7.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K19 (B1,C6)",
|
||||
"x": 8.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K1A (B1,C7)",
|
||||
"x": 9.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K1B (B1,D0)",
|
||||
"x": 10.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K1C (B1,D1)",
|
||||
"x": 11.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K1D (B1,D2)",
|
||||
"x": 12.5,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K1E (B1,D3)",
|
||||
"x": 13.5,
|
||||
"y": 1,
|
||||
"w": 1.5
|
||||
},
|
||||
{
|
||||
"label": "K1F (B1,D4)",
|
||||
"x": 15,
|
||||
"y": 1
|
||||
},
|
||||
{
|
||||
"label": "K20 (B2,B5)",
|
||||
"x": 0,
|
||||
"y": 2,
|
||||
"w": 1.75
|
||||
},
|
||||
{
|
||||
"label": "K22 (B2,B7)",
|
||||
"x": 1.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K23 (B2,C0)",
|
||||
"x": 2.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K24 (B2,C1)",
|
||||
"x": 3.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K25 (B2,C2)",
|
||||
"x": 4.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K26 (B2,C3)",
|
||||
"x": 5.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K27 (B2,C4)",
|
||||
"x": 6.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K28 (B2,C5)",
|
||||
"x": 7.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K29 (B2,C6)",
|
||||
"x": 8.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K2A (B2,C7)",
|
||||
"x": 9.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K2B (B2,D0)",
|
||||
"x": 10.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K2C (B2,D1)",
|
||||
"x": 11.75,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K2D (B2,D2)",
|
||||
"x": 12.75,
|
||||
"y": 2,
|
||||
"w": 2.25
|
||||
},
|
||||
{
|
||||
"label": "K2F (B2,D4)",
|
||||
"x": 15,
|
||||
"y": 2
|
||||
},
|
||||
{
|
||||
"label": "K31 (B3,B6)",
|
||||
"x": 0,
|
||||
"y": 3,
|
||||
"w": 2.25
|
||||
},
|
||||
{
|
||||
"label": "K32 (B3,B7)",
|
||||
"x": 2.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K33 (B3,C0)",
|
||||
"x": 3.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K34 (B3,C1)",
|
||||
"x": 4.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K35 (B3,C2)",
|
||||
"x": 5.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K36 (B3,C3)",
|
||||
"x": 6.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K37 (B3,C4)",
|
||||
"x": 7.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K38 (B3,C5)",
|
||||
"x": 8.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K39 (B3,C6)",
|
||||
"x": 9.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K3A (B3,C7)",
|
||||
"x": 10.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K3B (B3,D0)",
|
||||
"x": 11.25,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K3D (B3,D2)",
|
||||
"x": 12.25,
|
||||
"y": 3,
|
||||
"w": 1.75
|
||||
},
|
||||
{
|
||||
"label": "K3E (B3,D3)",
|
||||
"x": 14,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K3F (B3,D4)",
|
||||
"x": 15,
|
||||
"y": 3
|
||||
},
|
||||
{
|
||||
"label": "K40 (B4,B5)",
|
||||
"x": 0,
|
||||
"y": 4,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"label": "K41 (B4,B6)",
|
||||
"x": 1.25,
|
||||
"y": 4,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"label": "K43 (B4,C0)",
|
||||
"x": 2.5,
|
||||
"y": 4,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"label": "K46 (B4,C3)",
|
||||
"x": 3.75,
|
||||
"y": 4,
|
||||
"w": 6.25
|
||||
},
|
||||
{
|
||||
"label": "K4A (B4,C7)",
|
||||
"x": 10,
|
||||
"y": 4,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"label": "K4B (B4,D0)",
|
||||
"x": 11.25,
|
||||
"y": 4,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"label": "K4D (B4,D2)",
|
||||
"x": 13,
|
||||
"y": 4
|
||||
},
|
||||
{
|
||||
"label": "K4E (B4,D3)",
|
||||
"x": 14,
|
||||
"y": 4
|
||||
},
|
||||
{
|
||||
"label": "K4F (B4,D4)",
|
||||
"x": 15,
|
||||
"y": 4
|
||||
}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||
{"matrix": [0, 14], "x": 14, "y": 0},
|
||||
{"matrix": [0, 15], "x": 15, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||
{"matrix": [1, 2], "x": 1.5, "y": 1},
|
||||
{"matrix": [1, 3], "x": 2.5, "y": 1},
|
||||
{"matrix": [1, 4], "x": 3.5, "y": 1},
|
||||
{"matrix": [1, 5], "x": 4.5, "y": 1},
|
||||
{"matrix": [1, 6], "x": 5.5, "y": 1},
|
||||
{"matrix": [1, 7], "x": 6.5, "y": 1},
|
||||
{"matrix": [1, 8], "x": 7.5, "y": 1},
|
||||
{"matrix": [1, 9], "x": 8.5, "y": 1},
|
||||
{"matrix": [1, 10], "x": 9.5, "y": 1},
|
||||
{"matrix": [1, 11], "x": 10.5, "y": 1},
|
||||
{"matrix": [1, 12], "x": 11.5, "y": 1},
|
||||
{"matrix": [1, 13], "x": 12.5, "y": 1},
|
||||
{"matrix": [1, 14], "x": 13.5, "y": 1, "w": 1.5},
|
||||
{"matrix": [1, 15], "x": 15, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 2], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 2.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 4.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 6.75, "y": 2},
|
||||
{"matrix": [2, 8], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 9], "x": 8.75, "y": 2},
|
||||
{"matrix": [2, 10], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 11], "x": 10.75, "y": 2},
|
||||
{"matrix": [2, 12], "x": 11.75, "y": 2},
|
||||
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
|
||||
{"matrix": [2, 15], "x": 15, "y": 2},
|
||||
|
||||
{"matrix": [3, 1], "x": 0, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 2], "x": 2.25, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3.25, "y": 3},
|
||||
{"matrix": [3, 4], "x": 4.25, "y": 3},
|
||||
{"matrix": [3, 5], "x": 5.25, "y": 3},
|
||||
{"matrix": [3, 6], "x": 6.25, "y": 3},
|
||||
{"matrix": [3, 7], "x": 7.25, "y": 3},
|
||||
{"matrix": [3, 8], "x": 8.25, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9.25, "y": 3},
|
||||
{"matrix": [3, 10], "x": 10.25, "y": 3},
|
||||
{"matrix": [3, 11], "x": 11.25, "y": 3},
|
||||
{"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75},
|
||||
{"matrix": [3, 14], "x": 14, "y": 3},
|
||||
{"matrix": [3, 15], "x": 15, "y": 3},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
|
||||
{"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25},
|
||||
|
||||
{"matrix": [4, 13], "x": 13, "y": 4},
|
||||
{"matrix": [4, 14], "x": 14, "y": 4},
|
||||
{"matrix": [4, 15], "x": 15, "y": 4}
|
||||
]
|
||||
}
|
||||
},
|
||||
"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
// Copyright 2022 Xiao (@xia0)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "rev1.h"
|
||||
@@ -1,6 +0,0 @@
|
||||
// Copyright 2022 Xiao (@xia0)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
@@ -1,4 +0,0 @@
|
||||
// Copyright 2022 Xiao (@xia0)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "rev2.h"
|
||||
@@ -1,6 +0,0 @@
|
||||
// Copyright 2022 Xiao (@xia0)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
@@ -1,17 +0,0 @@
|
||||
/* Copyright 2020 gooberpsycho
|
||||
*
|
||||
* 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 "3dp660.h"
|
||||
@@ -1,35 +0,0 @@
|
||||
/* Copyright 2020 gooberpsycho
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "quantum.h"
|
||||
|
||||
// The first section contains all of the arguments
|
||||
// The second converts the arguments into a two-dimensional array
|
||||
#define LAYOUT_66_ansi( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3C, k3D, \
|
||||
k40, k41, k42, k45, k49, k4A, k4B, k4C, k4D, k4E \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, KC_NO, KC_NO}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, KC_NO, k3C, k3D, KC_NO}, \
|
||||
{k40, k41, k42, KC_NO, KC_NO, k45, KC_NO, KC_NO, KC_NO, k49, k4A, k4B, k4C, k4D, k4E} \
|
||||
}
|
||||
@@ -20,14 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define TAPPING_TERM 400
|
||||
|
||||
// ROWS: Top to bottom, COLS: Left to right
|
||||
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
|
||||
#define MATRIX_COL_PINS { D2, D3, C6, C7, D5, D4, D7, B4, B5, B6, F7, F6, F5, F4, F1 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
||||
@@ -8,78 +8,88 @@
|
||||
"pid": "0x3660",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D2", "D3", "C6", "C7", "D5", "D4", "D7", "B4", "B5", "B6", "F7", "F6", "F5", "F4", "F1"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "B7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "halfkay",
|
||||
"layouts": {
|
||||
"LAYOUT_66_ansi": {
|
||||
|
||||
"layout": [
|
||||
{"label":"Esc", "x":0, "y":0},
|
||||
{"label":"1", "x":1, "y":0},
|
||||
{"label":"2", "x":2, "y":0},
|
||||
{"label":"3", "x":3, "y":0},
|
||||
{"label":"4", "x":4, "y":0},
|
||||
{"label":"5", "x":5, "y":0},
|
||||
{"label":"6", "x":6, "y":0},
|
||||
{"label":"7", "x":7, "y":0},
|
||||
{"label":"8", "x":8, "y":0},
|
||||
{"label":"9", "x":9, "y":0},
|
||||
{"label":"0", "x":10, "y":0},
|
||||
{"label":"-", "x":11, "y":0},
|
||||
{"label":"=", "x":12, "y":0},
|
||||
{"label":"BKSP", "x":13, "y":0, "w":2},
|
||||
{"label":"Insert", "x":15.5, "y":0},
|
||||
{"label":"Tab", "x":0, "y":1, "w":1.5},
|
||||
{"label":"Q", "x":1.5, "y":1},
|
||||
{"label":"W", "x":2.5, "y":1},
|
||||
{"label":"E", "x":3.5, "y":1},
|
||||
{"label":"R", "x":4.5, "y":1},
|
||||
{"label":"T", "x":5.5, "y":1},
|
||||
{"label":"Y", "x":6.5, "y":1},
|
||||
{"label":"U", "x":7.5, "y":1},
|
||||
{"label":"I", "x":8.5, "y":1},
|
||||
{"label":"O", "x":9.5, "y":1},
|
||||
{"label":"P", "x":10.5, "y":1},
|
||||
{"label":"[", "x":11.5, "y":1},
|
||||
{"label":"]", "x":12.5, "y":1},
|
||||
{"label":"|", "x":13.5, "y":1, "w":1.5},
|
||||
{"label":"Del", "x":15.5, "y":1},
|
||||
{"label":"Caps Lock", "x":0, "y":2, "w":1.75},
|
||||
{"label":"A", "x":1.75, "y":2},
|
||||
{"label":"S", "x":2.75, "y":2},
|
||||
{"label":"D", "x":3.75, "y":2},
|
||||
{"label":"F", "x":4.75, "y":2},
|
||||
{"label":"G", "x":5.75, "y":2},
|
||||
{"label":"H", "x":6.75, "y":2},
|
||||
{"label":"J", "x":7.75, "y":2},
|
||||
{"label":"K", "x":8.75, "y":2},
|
||||
{"label":"L", "x":9.75, "y":2},
|
||||
{"label":";", "x":10.75, "y":2},
|
||||
{"label":"'", "x":11.75, "y":2},
|
||||
{"label":"Enter", "x":12.75, "y":2, "w":2.25},
|
||||
{"label":"Shift", "x":0, "y":3, "w":2.25},
|
||||
{"label":"Z", "x":2.25, "y":3},
|
||||
{"label":"X", "x":3.25, "y":3},
|
||||
{"label":"C", "x":4.25, "y":3},
|
||||
{"label":"V", "x":5.25, "y":3},
|
||||
{"label":"B", "x":6.25, "y":3},
|
||||
{"label":"N", "x":7.25, "y":3},
|
||||
{"label":"M", "x":8.25, "y":3},
|
||||
{"label":",", "x":9.25, "y":3},
|
||||
{"label":".", "x":10.25, "y":3},
|
||||
{"label":"/", "x":11.25, "y":3},
|
||||
{"label":"Shift", "x":12.25, "y":3, "w":2.25},
|
||||
{"label":"Up", "x":14.5, "y":3},
|
||||
{"label":"CTRL", "x":0, "y":4, "w":1.25},
|
||||
{"label":"GUI", "x":1.25, "y":4, "w":1.25},
|
||||
{"label":"Alt", "x":2.5, "y":4, "w":1.25},
|
||||
{"label":"Space", "x":3.75, "y":4, "w":6.25},
|
||||
{"label":"Alt", "x":10, "y":4, "w":1.25},
|
||||
{"label":"MO(1)", "x":11.25, "y":4},
|
||||
{"label":"CTRL", "x":12.25, "y":4, "w":1.25},
|
||||
{"label":"Left", "x":13.5, "y":4},
|
||||
{"label":"Down", "x":14.5, "y":4},
|
||||
{"label":"Right", "x":15.5, "y":4}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
|
||||
|
||||
{"matrix": [0, 14], "x": 15.5, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||
|
||||
{"matrix": [1, 14], "x": 15.5, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 13], "x": 14.5, "y": 3},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
|
||||
{"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 10], "x": 11.25, "y": 4},
|
||||
{"matrix": [4, 11], "x": 12.25, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 12], "x": 13.5, "y": 4},
|
||||
{"matrix": [4, 13], "x": 14.5, "y": 4},
|
||||
{"matrix": [4, 14], "x": 15.5, "y": 4}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
#include "412_64.h"
|
||||
@@ -1,23 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
// This a shortcut to help you visually see your layout.
|
||||
// The first section contains all of the arguments
|
||||
// The second converts the arguments into a two-dimensional array
|
||||
|
||||
#define LAYOUT_ortho_4x16( \
|
||||
k00, k10, k01, k11, k02, k12, k03, k13, k04, k14, k05, k15, k06, k16, k07, k17, \
|
||||
k20, k30, k21, k31, k22, k32, k23, k33, k24, k34, k25, k35, k26, k36, k27, k37, \
|
||||
k40, k50, k41, k51, k42, k52, k43, k53, k44, k54, k45, k55, k46, k56, k47, k57, \
|
||||
k60, k70, k61, k71, k62, k72, k63, k73, k64, k74, k65, k75, k66, k76, k67, k77 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07 }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17 }, \
|
||||
{ k20, k21, k22, k23, k24, k25, k26, k27 }, \
|
||||
{ k30, k31, k32, k33, k34, k35, k36, k37 }, \
|
||||
{ k40, k41, k42, k43, k44, k45, k46, k47 }, \
|
||||
{ k50, k51, k52, k53, k54, k55, k56, k57 }, \
|
||||
{ k60, k61, k62, k63, k64, k65, k66, k67 }, \
|
||||
{ k70, k71, k72, k73, k74, k75, k76, k77 } \
|
||||
}
|
||||
@@ -2,23 +2,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { D3, F4, F5, F6, F7, B1, B3, B2 }
|
||||
#define MATRIX_COL_PINS { B0, D2, D0, D1, D4, C6, D7, E6 }
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
||||
@@ -8,78 +8,83 @@
|
||||
"pid": "0x0412",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B0", "D2", "D0", "D1", "D4", "C6", "D7", "E6"],
|
||||
"rows": ["D3", "F4", "F5", "F6", "F7", "B1", "B3", "B2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_4x16": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0},
|
||||
{"x":5, "y":0},
|
||||
{"x":6, "y":0},
|
||||
{"x":7, "y":0},
|
||||
{"x":8, "y":0},
|
||||
{"x":9, "y":0},
|
||||
{"x":10, "y":0},
|
||||
{"x":11, "y":0},
|
||||
{"x":12, "y":0},
|
||||
{"x":13, "y":0},
|
||||
{"x":14, "y":0},
|
||||
{"x":15, "y":0},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [1, 0], "x": 1, "y": 0},
|
||||
{"matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"matrix": [1, 1], "x": 3, "y": 0},
|
||||
{"matrix": [0, 2], "x": 4, "y": 0},
|
||||
{"matrix": [1, 2], "x": 5, "y": 0},
|
||||
{"matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"matrix": [1, 3], "x": 7, "y": 0},
|
||||
{"matrix": [0, 4], "x": 8, "y": 0},
|
||||
{"matrix": [1, 4], "x": 9, "y": 0},
|
||||
{"matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"matrix": [1, 5], "x": 11, "y": 0},
|
||||
{"matrix": [0, 6], "x": 12, "y": 0},
|
||||
{"matrix": [1, 6], "x": 13, "y": 0},
|
||||
{"matrix": [0, 7], "x": 14, "y": 0},
|
||||
{"matrix": [1, 7], "x": 15, "y": 0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"x":2, "y":1},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1},
|
||||
{"x":5, "y":1},
|
||||
{"x":6, "y":1},
|
||||
{"x":7, "y":1},
|
||||
{"x":8, "y":1},
|
||||
{"x":9, "y":1},
|
||||
{"x":10, "y":1},
|
||||
{"x":11, "y":1},
|
||||
{"x":12, "y":1},
|
||||
{"x":13, "y":1},
|
||||
{"x":14, "y":1},
|
||||
{"x":15, "y":1},
|
||||
{"matrix": [2, 0], "x": 0, "y": 1},
|
||||
{"matrix": [3, 0], "x": 1, "y": 1},
|
||||
{"matrix": [2, 1], "x": 2, "y": 1},
|
||||
{"matrix": [3, 1], "x": 3, "y": 1},
|
||||
{"matrix": [2, 2], "x": 4, "y": 1},
|
||||
{"matrix": [3, 2], "x": 5, "y": 1},
|
||||
{"matrix": [2, 3], "x": 6, "y": 1},
|
||||
{"matrix": [3, 3], "x": 7, "y": 1},
|
||||
{"matrix": [2, 4], "x": 8, "y": 1},
|
||||
{"matrix": [3, 4], "x": 9, "y": 1},
|
||||
{"matrix": [2, 5], "x": 10, "y": 1},
|
||||
{"matrix": [3, 5], "x": 11, "y": 1},
|
||||
{"matrix": [2, 6], "x": 12, "y": 1},
|
||||
{"matrix": [3, 6], "x": 13, "y": 1},
|
||||
{"matrix": [2, 7], "x": 14, "y": 1},
|
||||
{"matrix": [3, 7], "x": 15, "y": 1},
|
||||
|
||||
{"x":0, "y":2},
|
||||
{"x":1, "y":2},
|
||||
{"x":2, "y":2},
|
||||
{"x":3, "y":2},
|
||||
{"x":4, "y":2},
|
||||
{"x":5, "y":2},
|
||||
{"x":6, "y":2},
|
||||
{"x":7, "y":2},
|
||||
{"x":8, "y":2},
|
||||
{"x":9, "y":2},
|
||||
{"x":10, "y":2},
|
||||
{"x":11, "y":2},
|
||||
{"x":12, "y":2},
|
||||
{"x":13, "y":2},
|
||||
{"x":14, "y":2},
|
||||
{"x":15, "y":2},
|
||||
{"matrix": [4, 0], "x": 0, "y": 2},
|
||||
{"matrix": [5, 0], "x": 1, "y": 2},
|
||||
{"matrix": [4, 1], "x": 2, "y": 2},
|
||||
{"matrix": [5, 1], "x": 3, "y": 2},
|
||||
{"matrix": [4, 2], "x": 4, "y": 2},
|
||||
{"matrix": [5, 2], "x": 5, "y": 2},
|
||||
{"matrix": [4, 3], "x": 6, "y": 2},
|
||||
{"matrix": [5, 3], "x": 7, "y": 2},
|
||||
{"matrix": [4, 4], "x": 8, "y": 2},
|
||||
{"matrix": [5, 4], "x": 9, "y": 2},
|
||||
{"matrix": [4, 5], "x": 10, "y": 2},
|
||||
{"matrix": [5, 5], "x": 11, "y": 2},
|
||||
{"matrix": [4, 6], "x": 12, "y": 2},
|
||||
{"matrix": [5, 6], "x": 13, "y": 2},
|
||||
{"matrix": [4, 7], "x": 14, "y": 2},
|
||||
{"matrix": [5, 7], "x": 15, "y": 2},
|
||||
|
||||
{"x":0, "y":3},
|
||||
{"x":1, "y":3},
|
||||
{"x":2, "y":3},
|
||||
{"x":3, "y":3},
|
||||
{"x":4, "y":3},
|
||||
{"x":5, "y":3},
|
||||
{"x":6, "y":3},
|
||||
{"x":7, "y":3},
|
||||
{"x":8, "y":3},
|
||||
{"x":9, "y":3},
|
||||
{"x":10, "y":3},
|
||||
{"x":11, "y":3},
|
||||
{"x":12, "y":3},
|
||||
{"x":13, "y":3},
|
||||
{"x":14, "y":3},
|
||||
{"x":15, "y":3}
|
||||
{"matrix": [6, 0], "x": 0, "y": 3},
|
||||
{"matrix": [7, 0], "x": 1, "y": 3},
|
||||
{"matrix": [6, 1], "x": 2, "y": 3},
|
||||
{"matrix": [7, 1], "x": 3, "y": 3},
|
||||
{"matrix": [6, 2], "x": 4, "y": 3},
|
||||
{"matrix": [7, 2], "x": 5, "y": 3},
|
||||
{"matrix": [6, 3], "x": 6, "y": 3},
|
||||
{"matrix": [7, 3], "x": 7, "y": 3},
|
||||
{"matrix": [6, 4], "x": 8, "y": 3},
|
||||
{"matrix": [7, 4], "x": 9, "y": 3},
|
||||
{"matrix": [6, 5], "x": 10, "y": 3},
|
||||
{"matrix": [7, 5], "x": 11, "y": 3},
|
||||
{"matrix": [6, 6], "x": 12, "y": 3},
|
||||
{"matrix": [7, 6], "x": 13, "y": 3},
|
||||
{"matrix": [6, 7], "x": 14, "y": 3},
|
||||
{"matrix": [7, 7], "x": 15, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
/* Copyright 2019 Angelo Gazzola (nglgzz)
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define ___ KC_NO
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
|
||||
K33, K34, K35, K36, K37, K38 \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
|
||||
{ ___, ___, ___, K33, K34, K35, K36, K37, K38, ___, ___, ___ } \
|
||||
}
|
||||
@@ -1,22 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_COL_PINS { F5, F6, F7, F0, F1, F4, B6, B5, D7, C7, D6, B7 }
|
||||
#define MATRIX_ROW_PINS { D2, D3, D0, D1 }
|
||||
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
||||
@@ -8,56 +8,65 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F5", "F6", "F7", "F0", "F1", "F4", "B6", "B5", "D7", "C7", "D6", "B7"],
|
||||
"rows": ["D2", "D3", "D0", "D1"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0.625},
|
||||
{"x":1, "y":0.417},
|
||||
{"x":2, "y":0.208},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0.208},
|
||||
{"x":5, "y":0.417},
|
||||
{"x":8.5, "y":0.417},
|
||||
{"x":9.5, "y":0.208},
|
||||
{"x":10.5, "y":0},
|
||||
{"x":11.5, "y":0.208},
|
||||
{"x":12.5, "y":0.417},
|
||||
{"x":13.5, "y":0.625},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.625},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.417},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0.208},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.208},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0.417},
|
||||
|
||||
{"x":0, "y":1.625},
|
||||
{"x":1, "y":1.417},
|
||||
{"x":2, "y":1.208},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1.208},
|
||||
{"x":5, "y":1.417},
|
||||
{"x":8.5, "y":1.417},
|
||||
{"x":9.5, "y":1.208},
|
||||
{"x":10.5, "y":1},
|
||||
{"x":11.5, "y":1.208},
|
||||
{"x":12.5, "y":1.417},
|
||||
{"x":13.5, "y":1.625},
|
||||
{"matrix": [0, 6], "x": 8.5, "y": 0.417},
|
||||
{"matrix": [0, 7], "x": 9.5, "y": 0.208},
|
||||
{"matrix": [0, 8], "x": 10.5, "y": 0},
|
||||
{"matrix": [0, 9], "x": 11.5, "y": 0.208},
|
||||
{"matrix": [0, 10], "x": 12.5, "y": 0.417},
|
||||
{"matrix": [0, 11], "x": 13.5, "y": 0.625},
|
||||
|
||||
{"x":0, "y":2.625},
|
||||
{"x":1, "y":2.417},
|
||||
{"x":2, "y":2.208},
|
||||
{"x":3, "y":2},
|
||||
{"x":4, "y":2.208},
|
||||
{"x":5, "y":2.417},
|
||||
{"x":8.5, "y":2.417},
|
||||
{"x":9.5, "y":2.208},
|
||||
{"x":10.5, "y":2},
|
||||
{"x":11.5, "y":2.208},
|
||||
{"x":12.5, "y":2.417},
|
||||
{"x":13.5, "y":2.625},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.625},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.417},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.208},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.208},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.417},
|
||||
|
||||
{"x":4, "y":3.208},
|
||||
{"x":5, "y":3.417},
|
||||
{"x":5.75, "y":4.417},
|
||||
{"x":7.75, "y":4.417},
|
||||
{"x":8.5, "y":3.417},
|
||||
{"x":9.5, "y":3.208}
|
||||
{"matrix": [1, 6], "x": 8.5, "y": 1.417},
|
||||
{"matrix": [1, 7], "x": 9.5, "y": 1.208},
|
||||
{"matrix": [1, 8], "x": 10.5, "y": 1},
|
||||
{"matrix": [1, 9], "x": 11.5, "y": 1.208},
|
||||
{"matrix": [1, 10], "x": 12.5, "y": 1.417},
|
||||
{"matrix": [1, 11], "x": 13.5, "y": 1.625},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.625},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.417},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2.208},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.208},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2.417},
|
||||
|
||||
{"matrix": [2, 6], "x": 8.5, "y": 2.417},
|
||||
{"matrix": [2, 7], "x": 9.5, "y": 2.208},
|
||||
{"matrix": [2, 8], "x": 10.5, "y": 2},
|
||||
{"matrix": [2, 9], "x": 11.5, "y": 2.208},
|
||||
{"matrix": [2, 10], "x": 12.5, "y": 2.417},
|
||||
{"matrix": [2, 11], "x": 13.5, "y": 2.625},
|
||||
|
||||
{"matrix": [3, 3], "x": 4, "y": 3.208},
|
||||
{"matrix": [3, 4], "x": 5, "y": 3.417},
|
||||
{"matrix": [3, 5], "x": 5.75, "y": 4.417},
|
||||
|
||||
{"matrix": [3, 6], "x": 7.75, "y": 4.417},
|
||||
{"matrix": [3, 7], "x": 8.5, "y": 3.417},
|
||||
{"matrix": [3, 8], "x": 9.5, "y": 3.208}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* 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 "6key.h"
|
||||
#include "quantum.h"
|
||||
|
||||
bool dip_switch_update_kb(uint8_t index, bool active) {
|
||||
if (!dip_switch_update_user(index, active)) { return false; }
|
||||
|
||||
@@ -16,13 +16,5 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* pin-out */
|
||||
#define MATRIX_ROW_PINS { B4, D0 }
|
||||
#define MATRIX_COL_PINS { D3, D2, D1 }
|
||||
|
||||
/* dip switch */
|
||||
#define DIP_SWITCH_PINS { C6 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
@@ -8,13 +8,23 @@
|
||||
"pid": "0x0007",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D3", "D2", "D1"],
|
||||
"rows": ["B4", "D0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0},
|
||||
{"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
/* Copyright 2019 joaofbmaia
|
||||
*
|
||||
* 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 "6macro.h"
|
||||
@@ -1,35 +0,0 @@
|
||||
/* Copyright 2019 joaofbmaia
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* This a shortcut to help you visually see your layout.
|
||||
*
|
||||
* The first section contains all of the arguments representing the physical
|
||||
* layout of the board and position of the keys.
|
||||
*
|
||||
* The second converts the arguments into a two-dimensional array which
|
||||
* represents the switch matrix.
|
||||
*/
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, \
|
||||
k10, k11, k12 \
|
||||
) \
|
||||
{ \
|
||||
{ k00, k01, k02 }, \
|
||||
{ k10, k11, k12 }, \
|
||||
}
|
||||
@@ -17,21 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* pinout - DON'T CHANGE */
|
||||
#define MATRIX_ROW_PINS { B3, B4 }
|
||||
#define MATRIX_COL_PINS { B0, B1, B2 }
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define RGB_DI_PIN D2
|
||||
#define RGBLED_NUM 10
|
||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
#define RGBLIGHT_VAL_STEP 17
|
||||
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||
// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
|
||||
@@ -8,11 +8,30 @@
|
||||
"pid": "0x0037",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D2"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B0", "B1", "B2"],
|
||||
"rows": ["B3", "B4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u2",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}]
|
||||
"layout": [
|
||||
{"label": "k00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "k01", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "k02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
|
||||
{"label": "k10", "matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"label": "k11", "matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"label": "k12", "matrix": [1, 2], "x": 2, "y": 1}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
UNICODE_ENABLE = yes # Unicode
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0, "matrix": [0, 0]}
|
||||
{"x": 0, "y": 0, "matrix": [0, 0]}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/* Copyright 2022 Jens Peter Secher <jpsecher@gmail.com>
|
||||
*
|
||||
* 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 "acacia.h"
|
||||
@@ -1,49 +0,0 @@
|
||||
/* Copyright 2022 Jens Peter Secher <jpsecher@gmail.com>
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/*
|
||||
* ┌───┐ ┌───┐
|
||||
* ┌───┤02 ├───┐ ┌───┤07 ├───┐
|
||||
* ┌───┤01 ├───┤03 ├───┐ ┌───┤06 ├───┤08 ├───┐
|
||||
* ┌───┤00 ├───┤12 ├───┤33 │ │36 ├───┤17 ├───┤09 ├───┐
|
||||
* │30 ├───┤11 ├───┤13 ├───┤ ├───┤16 ├───┤18 ├───┤39 │
|
||||
* ├───┤10 ├───┤22 ├───┤43 │ │46 ├───┤27 ├───┤19 ├───┤
|
||||
* │40 ├───┤21 ├───┤23 ├───┘ └───┤26 ├───┤28 ├───┤49 │
|
||||
* └───┤20 ├───┘ └───┘ └───┘ └───┤29 ├───┘
|
||||
* └───┘ ┌───┐ ┌───┬───┐ ┌───┬───┐ ┌───┐ └───┘
|
||||
* │04 │ │14 │24 ├───┐ ┌───┤25 │15 │ │05 │
|
||||
* └───┘ └───┤ │34 ├───┐ ┌───┤35 │ ├───┘ └───┘ ┌───┐
|
||||
* └───┤ │44 │ │45 │ ├───┘ │38+│
|
||||
* └───┤ │ │ ├───┘ └───┘
|
||||
* └───┘ └───┘
|
||||
* + K38 is hidden.
|
||||
*/
|
||||
#define LAYOUT( \
|
||||
K30, K00, K01, K02, K03, K33, K36, K06, K07, K08, K09, K39, \
|
||||
K40, K10, K11, K12, K13, K43, K46, K16, K17, K18, K19, K49, \
|
||||
K20, K21, K22, K23, K26, K27, K28, K29, \
|
||||
K04, K14, K24, K34, K44, K45, K35, K25, K15, K05, K38 \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \
|
||||
{ K30, KC_NO, KC_NO, K33, K34, K35, K36, KC_NO, K38, K39 }, \
|
||||
{ K40, KC_NO, KC_NO, K43, K44, K45, K46, KC_NO, KC_NO, K49 }, \
|
||||
}
|
||||
@@ -20,57 +20,56 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"B", "x":0, "y":0.5},
|
||||
{"label":"Q", "x":1, "y":0},
|
||||
{"label":"W", "x":2, "y":0},
|
||||
{"label":"E", "x":3, "y":0},
|
||||
{"label":"R", "x":4, "y":0},
|
||||
{"label":"T", "x":5, "y":0.5},
|
||||
{"matrix": [3, 0], "x": 0, "y": 0.5},
|
||||
{"matrix": [0, 0], "x": 1, "y": 0},
|
||||
{"matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"matrix": [0, 3], "x": 4, "y": 0},
|
||||
{"matrix": [3, 3], "x": 5, "y": 0.5},
|
||||
|
||||
{"label":"H", "x":10.5, "y":0.5},
|
||||
{"label":"U", "x":11.5, "y":0},
|
||||
{"label":"I", "x":12.5, "y":0},
|
||||
{"label":"O", "x":13.5, "y":0},
|
||||
{"label":"P", "x":14.5, "y":0},
|
||||
{"label":"Y", "x":15.5, "y":0.5},
|
||||
{"matrix": [3, 6], "x": 10.5, "y": 0.5},
|
||||
{"matrix": [0, 6], "x": 11.5, "y": 0},
|
||||
{"matrix": [0, 7], "x": 12.5, "y": 0},
|
||||
{"matrix": [0, 8], "x": 13.5, "y": 0},
|
||||
{"matrix": [0, 9], "x": 14.5, "y": 0},
|
||||
{"matrix": [3, 9], "x": 15.5, "y": 0.5},
|
||||
|
||||
{"label":"Tab", "x":0, "y":1.5},
|
||||
{"label":"A", "x":1, "y":1},
|
||||
{"label":"S", "x":2, "y":1},
|
||||
{"label":"D", "x":3, "y":1},
|
||||
{"label":"F", "x":4, "y":1},
|
||||
{"label":"G", "x":5, "y":1.5},
|
||||
{"matrix": [4, 0], "x": 0, "y": 1.5},
|
||||
{"matrix": [1, 0], "x": 1, "y": 1},
|
||||
{"matrix": [1, 1], "x": 2, "y": 1},
|
||||
{"matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"matrix": [1, 3], "x": 4, "y": 1},
|
||||
{"matrix": [4, 3], "x": 5, "y": 1.5},
|
||||
|
||||
{"label":"N", "x":10.5, "y":1.5},
|
||||
{"label":"J", "x":11.5, "y":1},
|
||||
{"label":"K", "x":12.5, "y":1},
|
||||
{"label":"L", "x":13.5, "y":1},
|
||||
{"label":":", "x":14.5, "y":1},
|
||||
{"label":"Enter", "x":15.5, "y":1.5},
|
||||
{"matrix": [4, 6], "x": 10.5, "y": 1.5},
|
||||
{"matrix": [1, 6], "x": 11.5, "y": 1},
|
||||
{"matrix": [1, 7], "x": 12.5, "y": 1},
|
||||
{"matrix": [1, 8], "x": 13.5, "y": 1},
|
||||
{"matrix": [1, 9], "x": 14.5, "y": 1},
|
||||
{"matrix": [4, 9], "x": 15.5, "y": 1.5},
|
||||
|
||||
{"label":"Z", "x":1, "y":2},
|
||||
{"label":"X", "x":2, "y":2},
|
||||
{"label":"C", "x":3, "y":2},
|
||||
{"label":"V", "x":4, "y":2},
|
||||
{"matrix": [2, 0], "x": 1, "y": 2},
|
||||
{"matrix": [2, 1], "x": 2, "y": 2},
|
||||
{"matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"matrix": [2, 3], "x": 4, "y": 2},
|
||||
|
||||
{"label":"M", "x":11.5, "y":2},
|
||||
{"label":"<", "x":12.5, "y":2},
|
||||
{"label":">", "x":13.5, "y":2},
|
||||
{"label":"'", "x":14.5, "y":2},
|
||||
{"matrix": [2, 6], "x": 11.5, "y": 2},
|
||||
{"matrix": [2, 7], "x": 12.5, "y": 2},
|
||||
{"matrix": [2, 8], "x": 13.5, "y": 2},
|
||||
{"matrix": [2, 9], "x": 14.5, "y": 2},
|
||||
|
||||
{"label":"Next", "x":2.25, "y":3},
|
||||
{"label":"Alt", "x":3.5, "y":3},
|
||||
{"label":"BS", "x":4.5, "y":3},
|
||||
{"label":"Esc", "x":5.5, "y":3},
|
||||
{"label":"Shift", "x":6.5, "y":3},
|
||||
{"matrix": [0, 4], "x": 2.25, "y": 3},
|
||||
{"matrix": [1, 4], "x": 3.5, "y": 3},
|
||||
{"matrix": [2, 4], "x": 4.5, "y": 3},
|
||||
{"matrix": [3, 4], "x": 5.5, "y": 3},
|
||||
{"matrix": [4, 4], "x": 6.5, "y": 3},
|
||||
{"matrix": [4, 5], "x": 9.25, "y": 3},
|
||||
|
||||
{"label":"RAlt", "x":9.25, "y":3},
|
||||
{"label":"Space", "x":10.25, "y":3},
|
||||
{"label":"Del", "x":11.25, "y":3},
|
||||
{"label":"Alt", "x":12.25, "y":3},
|
||||
{"label":"Play", "x":13.5, "y":3},
|
||||
|
||||
{"label":"Debug", "x":8, "y":1}
|
||||
{"matrix": [3, 5], "x": 10.25, "y": 3},
|
||||
{"matrix": [2, 5], "x": 11.25, "y": 3},
|
||||
{"matrix": [1, 5], "x": 12.25, "y": 3},
|
||||
{"matrix": [0, 5], "x": 13.5, "y": 3},
|
||||
{"matrix": [3, 8], "x": 8, "y": 1}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
/*
|
||||
Copyright 2012,2013 Jun Wako <wakojun@gmail.com> <4sStylZ@protonmail.ch>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* Alps64 physical definition macro */
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03 , k04 , k05 , k06, k07 , k08 , k09 , k010 , k011, k012, k013 , \
|
||||
k10, k11, k12, k13 , k14 , k15 , k16, k17 , k18 , k19 , k110 , k111, k112, \
|
||||
k20, k21, k22, k23 , k24 , k25 , k26, k27 , k28 , k29 , k210 , k211, k212, k213 , \
|
||||
k30, k31, k32, k33 , k34 , k35 , k36, k37 , k38 , k39 , k310 , k311, k312, \
|
||||
k40, k41, k42, k46, k411, k412, k413 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03 , k04 , k05 , k06, k07 , k08 , k09 , k010 , k011, k012, k013 }, \
|
||||
{ k10, k11, k12, k13 , k14 , k15 , k16, k17 , k18 , k19 , k110 , k111, k112, KC_NO }, \
|
||||
{ k20, k21, k22, k23 , k24 , k25 , k26, k27 , k28 , k29 , k210 , k211, k212, k213 }, \
|
||||
{ k30, k31, k32, k33 , k34 , k35 , k36, k37 , k38 , k39 , k310 , k311, k312, KC_NO }, \
|
||||
{ k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, KC_NO, k411, k412, k413 }, \
|
||||
}
|
||||
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// Originally made for a Teensy 2++
|
||||
#define MATRIX_COL_PINS { F0, E6, E7, B0, B1, B2, B3, B4, B5, B6, D3, D0, D1, D2 }
|
||||
#define MATRIX_ROW_PINS { E0, E1, C0, C1, C2 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Enable the space-cadet options */
|
||||
#define RSPC_KEYS KC_RSFT, KC_TRNS, KC_PGUP
|
||||
#define RCPC_KEYS KC_RCTL, KC_TRNS, KC_PGDN
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
"pid": "0x6464",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F0", "E6", "E7", "B0", "B1", "B2", "B3", "B4", "B5", "B6", "D3", "D0", "D1", "D2"],
|
||||
"rows": ["E0", "E1", "C0", "C1", "C2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"backlight": {
|
||||
"pin": "B7",
|
||||
"levels": 5,
|
||||
@@ -16,8 +21,74 @@
|
||||
"processor": "at90usb1286",
|
||||
"bootloader": "halfkay",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"label":"Esc", "x":0, "y":0, "w":1.25}, {"label":"1", "x":1.25, "y":0}, {"label":"2", "x":2.25, "y":0}, {"label":"3", "x":3.25, "y":0}, {"label":"4", "x":4.25, "y":0}, {"label":"5", "x":5.25, "y":0}, {"label":"6", "x":6.25, "y":0}, {"label":"7", "x":7.25, "y":0}, {"label":"8", "x":8.25, "y":0}, {"label":"9", "x":9.25, "y":0}, {"label":"0", "x":10.25, "y":0}, {"label":"\u00b0", "x":11.25, "y":0}, {"label":"+", "x":12.25, "y":0}, {"label":"Backspace", "x":13.25, "y":0, "w":1.75}, {"label":"Tab", "x":0, "y":1, "w":1.75}, {"label":"A", "x":1.75, "y":1}, {"label":"Z", "x":2.75, "y":1}, {"label":"E", "x":3.75, "y":1}, {"label":"R", "x":4.75, "y":1}, {"label":"T", "x":5.75, "y":1}, {"label":"Y", "x":6.75, "y":1}, {"label":"U", "x":7.75, "y":1}, {"label":"I", "x":8.75, "y":1}, {"label":"O", "x":9.75, "y":1}, {"label":"P", "x":10.75, "y":1}, {"label":"{", "x":11.75, "y":1}, {"label":"}", "x":12.75, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":2}, {"label":"Q", "x":2, "y":2}, {"label":"S", "x":3, "y":2}, {"label":"D", "x":4, "y":2}, {"label":"F", "x":5, "y":2}, {"label":"G", "x":6, "y":2}, {"label":"H", "x":7, "y":2}, {"label":"J", "x":8, "y":2}, {"label":"K", "x":9, "y":2}, {"label":"L", "x":10, "y":2}, {"label":"M", "x":11, "y":2}, {"label":"%", "x":12, "y":2}, {"label":"µ", "x":13, "y":2}, {"label":"Enter", "x":14, "y":1, "h":2}, {"label":"Shift", "x":0, "y":3, "w":1.5}, {"label":">", "x":1.5, "y":3}, {"label":"W", "x":2.5, "y":3}, {"label":"X", "x":3.5, "y":3}, {"label":"C", "x":4.5, "y":3}, {"label":"V", "x":5.5, "y":3}, {"label":"B", "x":6.5, "y":3}, {"label":"N", "x":7.5, "y":3}, {"label":"?", "x":8.5, "y":3}, {"label":".", "x":9.5, "y":3}, {"label":"/", "x":10.5, "y":3}, {"label":"§", "x":11.5, "y":3}, {"label":"Shift", "x":12.5, "y":3, "w":2.5}, {"label":"Ctrl", "x":0, "y":4, "w":1.5}, {"label":"Opt", "x":1.5, "y":4, "w":1.25}, {"label":"Cmd", "x":2.75, "y":4, "w":1.5}, {"label":"Space", "x":4.25, "y":4, "w":6.5}, {"label":"Cmd", "x":10.75, "y":4, "w":1.5}, {"label":"Opt", "x":12.25, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.5, "y":4, "w":1.5}]
|
||||
}
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "w": 1.25},
|
||||
{"matrix": [0, 1], "x": 1.25, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2.25, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3.25, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4.25, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5.25, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6.25, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7.25, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8.25, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9.25, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10.25, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11.25, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12.25, "y": 0},
|
||||
{"matrix": [0, 13], "x": 13.25, "y": 0, "w": 1.75},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.75},
|
||||
{"matrix": [1, 1], "x": 1.75, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.75, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.75, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.75, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.75, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.75, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.75, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.75, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.75, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.75, "y": 1},
|
||||
{"matrix": [1, 11], "x": 11.75, "y": 1},
|
||||
{"matrix": [1, 12], "x": 12.75, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 2},
|
||||
{"matrix": [2, 1], "x": 2, "y": 2},
|
||||
{"matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"matrix": [2, 3], "x": 4, "y": 2},
|
||||
{"matrix": [2, 4], "x": 5, "y": 2},
|
||||
{"matrix": [2, 5], "x": 6, "y": 2},
|
||||
{"matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"matrix": [2, 7], "x": 8, "y": 2},
|
||||
{"matrix": [2, 8], "x": 9, "y": 2},
|
||||
{"matrix": [2, 9], "x": 10, "y": 2},
|
||||
{"matrix": [2, 10], "x": 11, "y": 2},
|
||||
{"matrix": [2, 11], "x": 12, "y": 2},
|
||||
{"matrix": [2, 12], "x": 13, "y": 2},
|
||||
{"matrix": [2, 13], "x": 14, "y": 1, "h": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.5},
|
||||
{"matrix": [3, 1], "x": 1.5, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 3},
|
||||
{"matrix": [3, 4], "x": 4.5, "y": 3},
|
||||
{"matrix": [3, 5], "x": 5.5, "y": 3},
|
||||
{"matrix": [3, 6], "x": 6.5, "y": 3},
|
||||
{"matrix": [3, 7], "x": 7.5, "y": 3},
|
||||
{"matrix": [3, 8], "x": 8.5, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9.5, "y": 3},
|
||||
{"matrix": [3, 10], "x": 10.5, "y": 3},
|
||||
{"matrix": [3, 11], "x": 11.5, "y": 3},
|
||||
{"matrix": [3, 12], "x": 12.5, "y": 3, "w": 2.5},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 2], "x": 2.75, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 6], "x": 4.25, "y": 4, "w": 6.5},
|
||||
{"matrix": [4, 11], "x": 10.75, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 12], "x": 12.25, "y": 4, "w": 1.25},
|
||||
{"matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#define COMBO_COUNT 1
|
||||
@@ -15,7 +15,7 @@ enum custom_keycodes {
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM lock_combo[] = {KC_J, KC_K, KC_L, KC_SCLN, COMBO_END};
|
||||
combo_t key_combos[COMBO_COUNT] = {COMBO(lock_combo, LGUI(KC_O))};
|
||||
combo_t key_combos[] = {COMBO(lock_combo, LGUI(KC_O))};
|
||||
|
||||
// Define the keycodes for one qwerty layer and one Fn layer.
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
@@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
* │ Ctrl │ Alt │↯ATab │ Space │ Gui │ Alt │ Ctrl │
|
||||
* └──────┴──────┴──────┴──────────────────────────────────────────────────────────────┴──────┴──────┴──────┘
|
||||
*
|
||||
* Hidden features :
|
||||
* Hidden features :
|
||||
* - Left Shift is also Home on a single tap.
|
||||
* - Left Ctrl is also End on a single tap.
|
||||
* - Right Shift is also page-up on a single tap.
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/* Copyright 2021 Matteo Bonora
|
||||
*
|
||||
* 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 "aim65.h"
|
||||
@@ -1,36 +0,0 @@
|
||||
/* Copyright 2021 Matteo Bonora
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K62, K71, K61, K74, K64, K75, K65, K76, K66, K77, K67, K72, K53, \
|
||||
K52, K42, K51, K41, K54, K44, K55, K45, K56, K46, K57, K47, K22, K40, \
|
||||
K60, K31, K21, K34, K24, K35, K25, K36, K26, K37, K27, K33, K12, K23,\
|
||||
K70, K01, K11, K04, K14, K05, K15, K06, K16, K07, K17, K20, \
|
||||
K00 \
|
||||
) { \
|
||||
{ K00, K01, KC_NO, KC_NO, K04, K05, K06, K07 }, \
|
||||
{ KC_NO, K11, K12, KC_NO, K14, K15, K16, K17 }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27 }, \
|
||||
{ KC_NO, K31, KC_NO, K33, K34, K35, K36, K37 }, \
|
||||
{ K40, K41, K42, KC_NO, K44, K45, K46, K47 }, \
|
||||
{ KC_NO, K51, K52, K53, K54, K55, K56, K57 }, \
|
||||
{ K60, K61, K62, KC_NO, K64, K65, K66, K67 }, \
|
||||
{ K70, K71, K72, KC_NO, K74, K75, K76, K77 }, \
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
/* Copyright 2021 Matteo Bonora
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { D0, D4, D7, E6, B4, B5, B3, B1 }
|
||||
#define MATRIX_COL_PINS { D1, C6, B6, B2, F7, F6, F5, F4 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0F34",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D1", "C6", "B6", "B2", "F7", "F6", "F5", "F4"],
|
||||
"rows": ["D0", "D4", "D7", "E6", "B4", "B5", "B3", "B1"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"indicators": {
|
||||
"caps_lock": "B0",
|
||||
"on_state": 0
|
||||
@@ -17,60 +22,64 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"K62 (B3,B6)", "x":1, "y":0},
|
||||
{"label":"K71 (B1,C6)", "x":2, "y":0},
|
||||
{"label":"K61 (B3,C6)", "x":3, "y":0},
|
||||
{"label":"K74 (B1,F7)", "x":4, "y":0},
|
||||
{"label":"K64 (B3,F7)", "x":5, "y":0},
|
||||
{"label":"K75 (B1,F6)", "x":6, "y":0},
|
||||
{"label":"K65 (B3,F6)", "x":7, "y":0},
|
||||
{"label":"K76 (B1,F5)", "x":8, "y":0},
|
||||
{"label":"K66 (B3,F5)", "x":9, "y":0},
|
||||
{"label":"K77 (B1,F4)", "x":10, "y":0},
|
||||
{"label":"K67 (B3,F4)", "x":11, "y":0},
|
||||
{"label":"K72 (B1,B6)", "x":12, "y":0},
|
||||
{"label":"K53 (B5,B2)", "x":13, "y":0},
|
||||
{"label":"K52 (B5,B6)", "x":0, "y":1, "w":1.5},
|
||||
{"label":"K42 (B4,B6)", "x":1.5, "y":1},
|
||||
{"label":"K51 (B5,C6)", "x":2.5, "y":1},
|
||||
{"label":"K41 (B4,C6)", "x":3.5, "y":1},
|
||||
{"label":"K54 (B5,F7)", "x":4.5, "y":1},
|
||||
{"label":"K44 (B4,F7)", "x":5.5, "y":1},
|
||||
{"label":"K55 (B5,F6)", "x":6.5, "y":1},
|
||||
{"label":"K45 (B4,F6)", "x":7.5, "y":1},
|
||||
{"label":"K56 (B5,F5)", "x":8.5, "y":1},
|
||||
{"label":"K46 (B4,F5)", "x":9.5, "y":1},
|
||||
{"label":"K57 (B5,F4)", "x":10.5, "y":1},
|
||||
{"label":"K47 (B4,F4)", "x":11.5, "y":1},
|
||||
{"label":"K22 (D7,B6)", "x":12.5, "y":1},
|
||||
{"label":"K40 (B4,D1)", "x":13.5, "y":1},
|
||||
{"label":"K60 (B3,D1)", "x":0.75, "y":2},
|
||||
{"label":"K31 (E6,C6)", "x":1.75, "y":2},
|
||||
{"label":"K21 (D7,C6)", "x":2.75, "y":2},
|
||||
{"label":"K34 (E6,F7)", "x":3.75, "y":2},
|
||||
{"label":"K24 (D7,F7)", "x":4.75, "y":2},
|
||||
{"label":"K35 (E6,F6)", "x":5.75, "y":2},
|
||||
{"label":"K25 (D7,F6)", "x":6.75, "y":2},
|
||||
{"label":"K36 (E6,F5)", "x":7.75, "y":2},
|
||||
{"label":"K26 (D7,F5)", "x":8.75, "y":2},
|
||||
{"label":"K37 (E6,F4)", "x":9.75, "y":2},
|
||||
{"label":"K27 (D7,F4)", "x":10.75, "y":2},
|
||||
{"label":"K33 (E6,B2)", "x":11.75, "y":2},
|
||||
{"label":"K12 (D4,B6)", "x":12.75, "y":2},
|
||||
{"label":"K23 (D7,B2)", "x":13.75, "y":2, "w":1.5},
|
||||
{"label":"K70 (B1,D1)", "x":0.75, "y":3, "w":1.5},
|
||||
{"label":"K01 (D0,C6)", "x":2.25, "y":3},
|
||||
{"label":"K11 (D4,C6)", "x":3.25, "y":3},
|
||||
{"label":"K04 (D0,F7)", "x":4.25, "y":3},
|
||||
{"label":"K14 (D4,F7)", "x":5.25, "y":3},
|
||||
{"label":"K05 (D0,F6)", "x":6.25, "y":3},
|
||||
{"label":"K15 (D4,F6)", "x":7.25, "y":3},
|
||||
{"label":"K06 (D0,F5)", "x":8.25, "y":3},
|
||||
{"label":"K16 (D4,F5)", "x":9.25, "y":3},
|
||||
{"label":"K07 (D0,F4)", "x":10.25, "y":3},
|
||||
{"label":"K17 (D4,F4)", "x":11.25, "y":3},
|
||||
{"label":"K20 (D7,D1)", "x":12.25, "y":3, "w":1.5},
|
||||
{"label":"K00 (D0,D1)", "x":3.25, "y":4, "w":8}
|
||||
{"matrix": [6, 2], "x": 1, "y": 0},
|
||||
{"matrix": [7, 1], "x": 2, "y": 0},
|
||||
{"matrix": [6, 1], "x": 3, "y": 0},
|
||||
{"matrix": [7, 4], "x": 4, "y": 0},
|
||||
{"matrix": [6, 4], "x": 5, "y": 0},
|
||||
{"matrix": [7, 5], "x": 6, "y": 0},
|
||||
{"matrix": [6, 5], "x": 7, "y": 0},
|
||||
{"matrix": [7, 6], "x": 8, "y": 0},
|
||||
{"matrix": [6, 6], "x": 9, "y": 0},
|
||||
{"matrix": [7, 7], "x": 10, "y": 0},
|
||||
{"matrix": [6, 7], "x": 11, "y": 0},
|
||||
{"matrix": [7, 2], "x": 12, "y": 0},
|
||||
{"matrix": [5, 3], "x": 13, "y": 0},
|
||||
|
||||
{"matrix": [5, 2], "x": 0, "y": 1, "w": 1.5},
|
||||
{"matrix": [4, 2], "x": 1.5, "y": 1},
|
||||
{"matrix": [5, 1], "x": 2.5, "y": 1},
|
||||
{"matrix": [4, 1], "x": 3.5, "y": 1},
|
||||
{"matrix": [5, 4], "x": 4.5, "y": 1},
|
||||
{"matrix": [4, 4], "x": 5.5, "y": 1},
|
||||
{"matrix": [5, 5], "x": 6.5, "y": 1},
|
||||
{"matrix": [4, 5], "x": 7.5, "y": 1},
|
||||
{"matrix": [5, 6], "x": 8.5, "y": 1},
|
||||
{"matrix": [4, 6], "x": 9.5, "y": 1},
|
||||
{"matrix": [5, 7], "x": 10.5, "y": 1},
|
||||
{"matrix": [4, 7], "x": 11.5, "y": 1},
|
||||
{"matrix": [2, 2], "x": 12.5, "y": 1},
|
||||
{"matrix": [4, 0], "x": 13.5, "y": 1},
|
||||
|
||||
{"matrix": [6, 0], "x": 0.75, "y": 2},
|
||||
{"matrix": [3, 1], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 1], "x": 2.75, "y": 2},
|
||||
{"matrix": [3, 4], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"matrix": [3, 5], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 6.75, "y": 2},
|
||||
{"matrix": [3, 6], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 8.75, "y": 2},
|
||||
{"matrix": [3, 7], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 10.75, "y": 2},
|
||||
{"matrix": [3, 3], "x": 11.75, "y": 2},
|
||||
{"matrix": [1, 2], "x": 12.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 13.75, "y": 2, "w": 1.5},
|
||||
|
||||
{"matrix": [7, 0], "x": 0.75, "y": 3, "w": 1.5},
|
||||
{"matrix": [0, 1], "x": 2.25, "y": 3},
|
||||
{"matrix": [1, 1], "x": 3.25, "y": 3},
|
||||
{"matrix": [0, 4], "x": 4.25, "y": 3},
|
||||
{"matrix": [1, 4], "x": 5.25, "y": 3},
|
||||
{"matrix": [0, 5], "x": 6.25, "y": 3},
|
||||
{"matrix": [1, 5], "x": 7.25, "y": 3},
|
||||
{"matrix": [0, 6], "x": 8.25, "y": 3},
|
||||
{"matrix": [1, 6], "x": 9.25, "y": 3},
|
||||
{"matrix": [0, 7], "x": 10.25, "y": 3},
|
||||
{"matrix": [1, 7], "x": 11.25, "y": 3},
|
||||
{"matrix": [2, 0], "x": 12.25, "y": 3, "w": 1.5},
|
||||
|
||||
{"matrix": [0, 0], "x": 3.25, "y": 4, "w": 8}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#define SERIAL_USART_FULL_DUPLEX
|
||||
#define SERIAL_USART_TX_PIN GP10
|
||||
#define SERIAL_USART_RX_PIN GP9
|
||||
#define RGB_DI_PIN GP16
|
||||
#define RGB_MATRIX_LED_COUNT 2
|
||||
#define RGB_MATRIX_SPLIT { 1, 1 }
|
||||
#define EE_HANDS
|
||||
|
||||
@@ -29,101 +29,105 @@
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812",
|
||||
"layout": [
|
||||
{"x":0, "y":0.375},
|
||||
{"x":16.5, "y":0.38}
|
||||
{"x": 0, "y": 0.375},
|
||||
{"x": 16.5, "y": 0.38}
|
||||
]
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "GP16",
|
||||
"driver": "vendor"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT":{
|
||||
"layout":[
|
||||
{"matrix":[0,0], "x":0, "y":0.375, "w":1.5},
|
||||
{"matrix":[0,1], "x":1.5, "y":0.38},
|
||||
{"matrix":[0,2], "x":2.5, "y":0.125},
|
||||
{"matrix":[0,3], "x":3.5, "y":0.25},
|
||||
{"matrix":[0,4], "x":4.5, "y":0.25},
|
||||
{"matrix":[0,5], "x":5.5, "y":0.25},
|
||||
{"matrix":[0,6], "x":6.5, "y":0.25},
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.25, "w": 1.5},
|
||||
{"matrix": [0, 1], "x": 1.5, "y": 0.25},
|
||||
{"matrix": [0, 2], "x": 2.5, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3.5, "y": 0.125},
|
||||
{"matrix": [0, 4], "x": 4.5, "y": 0.125},
|
||||
{"matrix": [0, 5], "x": 5.5, "y": 0.125},
|
||||
{"matrix": [0, 6], "x": 6.5, "y": 0.125},
|
||||
|
||||
{"matrix":[6,6], "x":10.5, "y":0.25},
|
||||
{"matrix":[6,5], "x":11.5, "y":0.25},
|
||||
{"matrix":[6,4], "x":12.5, "y":0.25},
|
||||
{"matrix":[6,3], "x":13.5, "y":0.25},
|
||||
{"matrix":[6,2], "x":14.5, "y":0.13},
|
||||
{"matrix":[6,1], "x":15.5, "y":0.38},
|
||||
{"matrix":[6,0], "x":16.5, "y":0.38, "w":1.5},
|
||||
{"matrix": [6, 6], "x": 10.5, "y": 0.125},
|
||||
{"matrix": [6, 5], "x": 11.5, "y": 0.125},
|
||||
{"matrix": [6, 4], "x": 12.5, "y": 0.125},
|
||||
{"matrix": [6, 3], "x": 13.5, "y": 0.125},
|
||||
{"matrix": [6, 2], "x": 14.5, "y": 0},
|
||||
{"matrix": [6, 1], "x": 15.5, "y": 0.25},
|
||||
{"matrix": [6, 0], "x": 16.5, "y": 0.25, "w": 1.5},
|
||||
|
||||
{"matrix":[1,0], "x":0, "y":1.375, "w":1.5},
|
||||
{"matrix":[1,1], "x":1.5, "y":1.375},
|
||||
{"matrix":[1,2], "x":2.5, "y":1.125},
|
||||
{"matrix":[1,3], "x":3.5, "y":1.25},
|
||||
{"matrix":[1,4], "x":4.5, "y":1.25},
|
||||
{"matrix":[1,5], "x":5.5, "y":1.25},
|
||||
{"matrix":[1,6], "x":6.5, "y":1.25},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.25, "w": 1.5},
|
||||
{"matrix": [1, 1], "x": 1.5, "y": 1.25},
|
||||
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.5, "y": 1.125},
|
||||
{"matrix": [1, 4], "x": 4.5, "y": 1.125},
|
||||
{"matrix": [1, 5], "x": 5.5, "y": 1.125},
|
||||
{"matrix": [1, 6], "x": 6.5, "y": 1.125},
|
||||
|
||||
{"matrix":[7,6], "x":10.5, "y":1.25},
|
||||
{"matrix":[7,5], "x":11.5, "y":1.25},
|
||||
{"matrix":[7,4], "x":12.5, "y":1.25},
|
||||
{"matrix":[7,3], "x":13.5, "y":1.25},
|
||||
{"matrix":[7,2], "x":14.5, "y":1.13},
|
||||
{"matrix":[7,1], "x":15.5, "y":1.38},
|
||||
{"matrix":[7,0], "x":16.5, "y":1.38, "w":1.5},
|
||||
{"matrix": [7, 6], "x": 10.5, "y": 1.125},
|
||||
{"matrix": [7, 5], "x": 11.5, "y": 1.125},
|
||||
{"matrix": [7, 4], "x": 12.5, "y": 1.125},
|
||||
{"matrix": [7, 3], "x": 13.5, "y": 1.125},
|
||||
{"matrix": [7, 2], "x": 14.5, "y": 1},
|
||||
{"matrix": [7, 1], "x": 15.5, "y": 1.25},
|
||||
{"matrix": [7, 0], "x": 16.5, "y": 1.25, "w": 1.5},
|
||||
|
||||
{"matrix":[2,0], "x":0, "y":2.375, "w":1.5},
|
||||
{"matrix":[2,1], "x":1.5, "y":2.375},
|
||||
{"matrix":[2,2], "x":2.5, "y":2.125},
|
||||
{"matrix":[2,3], "x":3.5, "y":2.25},
|
||||
{"matrix":[2,4], "x":4.5, "y":2.25},
|
||||
{"matrix":[2,5], "x":5.5, "y":2.25},
|
||||
{"matrix":[2,6], "x":6.5, "y":2.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [2, 1], "x": 1.5, "y": 2.25},
|
||||
{"matrix": [2, 2], "x": 2.5, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.5, "y": 2.125},
|
||||
{"matrix": [2, 4], "x": 4.5, "y": 2.125},
|
||||
{"matrix": [2, 5], "x": 5.5, "y": 2.125},
|
||||
{"matrix": [2, 6], "x": 6.5, "y": 2.125},
|
||||
|
||||
{"matrix":[8,6], "x":10.5, "y":2.25},
|
||||
{"matrix":[8,5], "x":11.5, "y":2.25},
|
||||
{"matrix":[8,4], "x":12.5, "y":2.25},
|
||||
{"matrix":[8,3], "x":13.5, "y":2.25},
|
||||
{"matrix":[8,2], "x":14.5, "y":2.13},
|
||||
{"matrix":[8,1], "x":15.5, "y":2.38},
|
||||
{"matrix":[8,0], "x":16.5, "y":2.38, "w":1.5},
|
||||
{"matrix": [8, 6], "x": 10.5, "y": 2.125},
|
||||
{"matrix": [8, 5], "x": 11.5, "y": 2.125},
|
||||
{"matrix": [8, 4], "x": 12.5, "y": 2.125},
|
||||
{"matrix": [8, 3], "x": 13.5, "y": 2.125},
|
||||
{"matrix": [8, 2], "x": 14.5, "y": 2},
|
||||
{"matrix": [8, 1], "x": 15.5, "y": 2.25},
|
||||
{"matrix": [8, 0], "x": 16.5, "y": 2.25, "w": 1.5},
|
||||
|
||||
{"matrix":[3,0], "x":0, "y":3.375, "w":1.5},
|
||||
{"matrix":[3,1], "x":1.5, "y":3.375},
|
||||
{"matrix":[3,2], "x":2.5, "y":3.125},
|
||||
{"matrix":[3,3], "x":3.5, "y":3.25},
|
||||
{"matrix":[3,4], "x":4.5, "y":3.25},
|
||||
{"matrix":[3,5], "x":5.5, "y":3.25},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.5},
|
||||
{"matrix": [3, 1], "x": 1.5, "y": 3.25},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 3.125},
|
||||
{"matrix": [3, 4], "x": 4.5, "y": 3.125},
|
||||
{"matrix": [3, 5], "x": 5.5, "y": 3.125},
|
||||
|
||||
{"matrix":[9,5], "x":11.5, "y":3.25},
|
||||
{"matrix":[9,4], "x":12.5, "y":3.25},
|
||||
{"matrix":[9,3], "x":13.5, "y":3.25},
|
||||
{"matrix":[9,2], "x":14.5, "y":3.13},
|
||||
{"matrix":[9,1], "x":15.5, "y":3.38},
|
||||
{"matrix":[9,0], "x":16.5, "y":3.38, "w":1.5},
|
||||
{"matrix": [9, 5], "x": 11.5, "y": 3.125},
|
||||
{"matrix": [9, 4], "x": 12.5, "y": 3.125},
|
||||
{"matrix": [9, 3], "x": 13.5, "y": 3.125},
|
||||
{"matrix": [9, 2], "x": 14.5, "y": 3},
|
||||
{"matrix": [9, 1], "x": 15.5, "y": 3.25},
|
||||
{"matrix": [9, 0], "x": 16.5, "y": 3.25, "w": 1.5},
|
||||
|
||||
{"matrix":[4,0], "x":0.5, "y":4.375},
|
||||
{"matrix":[4,1], "x":1.5, "y":4.375},
|
||||
{"matrix":[4,2], "x":2.5, "y":4.125},
|
||||
{"matrix":[4,3], "x":3.5, "y":4.25},
|
||||
{"matrix": [4, 0], "x": 0.5, "y": 4.25},
|
||||
{"matrix": [4, 1], "x": 1.5, "y": 4.25},
|
||||
{"matrix": [4, 2], "x": 2.5, "y": 4},
|
||||
{"matrix": [4, 3], "x": 3.5, "y": 4.125},
|
||||
|
||||
{"matrix":[10,3], "x":13.5, "y":4.25},
|
||||
{"matrix":[10,2], "x":14.5, "y":4.13},
|
||||
{"matrix":[10,1], "x":15.5, "y":4.38},
|
||||
{"matrix":[10,0], "x":16.5, "y":4.38},
|
||||
{"matrix": [10, 3], "x": 13.5, "y": 4.125},
|
||||
{"matrix": [10, 2], "x": 14.5, "y": 4},
|
||||
{"matrix": [10, 1], "x": 15.5, "y": 4.25},
|
||||
{"matrix": [10, 0], "x": 16.5, "y": 4.25},
|
||||
|
||||
{"matrix":[4,4], "x":5, "y":4.5, "h":2},
|
||||
{"matrix":[4,5], "x":6.25, "y":4.5, "h":1.5},
|
||||
{"matrix":[10,5], "x":10.75, "y":4.5, "h":1.5},
|
||||
{"matrix":[10,4], "x":12, "y":4.5, "h":2},
|
||||
{"matrix": [4, 4], "x": 5, "y": 4.375, "h": 2},
|
||||
{"matrix": [4, 5], "x": 6.25, "y": 4.375, "h": 1.5},
|
||||
{"matrix": [10, 5], "x": 10.75, "y": 4.375, "h": 1.5},
|
||||
{"matrix": [10, 4], "x": 12, "y": 4.375, "h": 2},
|
||||
|
||||
{"matrix":[5,4], "x":6.25, "y":6.25},
|
||||
{"matrix":[5,5], "x":7.5, "y":6.25},
|
||||
{"matrix": [5, 4], "x": 6.25, "y": 6.125},
|
||||
{"matrix": [5, 5], "x": 7.5, "y": 6.125},
|
||||
|
||||
{"matrix":[11,5], "x":9.5, "y":6.25},
|
||||
{"matrix":[11,4], "x":10.75, "y":6.25},
|
||||
{"matrix": [11, 5], "x": 9.5, "y": 6.125},
|
||||
{"matrix": [11, 4], "x": 10.75, "y": 6.125},
|
||||
|
||||
{"matrix":[5,2], "x":6.25, "y":7.25},
|
||||
{"matrix":[5,3], "x":7.25, "y":7.25},
|
||||
{"matrix": [5, 2], "x": 6.25, "y": 7.125},
|
||||
{"matrix": [5, 3], "x": 7.25, "y": 7.125},
|
||||
|
||||
{"matrix":[11,3], "x":9.75, "y":7.25},
|
||||
{"matrix":[11,2], "x":10.75, "y":7.25}
|
||||
{"matrix": [11, 3], "x": 9.75, "y": 7.125},
|
||||
{"matrix": [11, 2], "x": 10.75, "y": 7.125}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Christiano Haesbaert <haesbaert@haesbaert.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "amigopunk.h"
|
||||
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Christiano Haesbaert <haesbaert@haesbaert.org>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0G, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, K1F, \
|
||||
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, \
|
||||
K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, \
|
||||
K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4D, K4F, \
|
||||
K51, K53, K57, K5B, K5D, K5E, K5F, K5G \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, KC_NO, K0G }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, KC_NO, K1E, K1F, KC_NO }, \
|
||||
{ K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, KC_NO }, \
|
||||
{ K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, KC_NO, KC_NO, KC_NO }, \
|
||||
{ KC_NO, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, KC_NO, K4D, KC_NO, K4F, KC_NO }, \
|
||||
{ KC_NO, K51, KC_NO, K53, KC_NO, KC_NO, KC_NO, K57, KC_NO, KC_NO, KC_NO, K5B, KC_NO, K5D, K5E, K5F, K5G }, \
|
||||
}
|
||||
@@ -16,14 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Key matrix pins */
|
||||
#define MATRIX_ROW_PINS { C0, C1, C2, C3, C4, C5 }
|
||||
#define MATRIX_COL_PINS { B6, B5, B4, B3, B2, B1, B0, E7, E6, F0, F1, F2, F3, F4, F5, F6, F7 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
"pid": "0x1805",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B6", "B5", "B4", "B3", "B2", "B1", "B0", "E7", "E6", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"],
|
||||
"rows": ["C0", "C1", "C2", "C3", "C4", "C5"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "E0", "pin_b": "E1"}
|
||||
@@ -18,86 +23,92 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"K00 (C0,B6)", "x":0, "y":0.25},
|
||||
{"label":"K01 (C0,B5)", "x":1, "y":0.25},
|
||||
{"label":"K02 (C0,B4)", "x":2, "y":0.25},
|
||||
{"label":"K03 (C0,B3)", "x":3, "y":0.25},
|
||||
{"label":"K04 (C0,B2)", "x":4, "y":0.25},
|
||||
{"label":"K05 (C0,B1)", "x":5, "y":0.25},
|
||||
{"label":"K06 (C0,B0)", "x":6, "y":0.25},
|
||||
{"label":"K07 (C0,E7)", "x":7, "y":0.25},
|
||||
{"label":"K08 (C0,E6)", "x":8, "y":0.25},
|
||||
{"label":"K09 (C0,F0)", "x":9, "y":0.25},
|
||||
{"label":"K0A (C0,F1)", "x":10, "y":0.25},
|
||||
{"label":"K0B (C0,F2)", "x":11, "y":0.25},
|
||||
{"label":"K0C (C0,F3)", "x":12, "y":0.25},
|
||||
{"label":"K0D (C0,F4)", "x":13, "y":0.25},
|
||||
{"label":"K0E (C0,F5)", "x":14, "y":0.25},
|
||||
{"label":"K0G (C0,F7)", "x":16, "y":0.25},
|
||||
{"label":"K10 (C1,B6)", "x":0, "y":1.25},
|
||||
{"label":"K11 (C1,B5)", "x":1, "y":1.25},
|
||||
{"label":"K12 (C1,B4)", "x":2, "y":1.25},
|
||||
{"label":"K13 (C1,B3)", "x":3, "y":1.25},
|
||||
{"label":"K14 (C1,B2)", "x":4, "y":1.25},
|
||||
{"label":"K15 (C1,B1)", "x":5, "y":1.25},
|
||||
{"label":"K16 (C1,B0)", "x":6, "y":1.25},
|
||||
{"label":"K17 (C1,E7)", "x":7, "y":1.25},
|
||||
{"label":"K18 (C1,E6)", "x":8, "y":1.25},
|
||||
{"label":"K19 (C1,F0)", "x":9, "y":1.25},
|
||||
{"label":"K1A (C1,F1)", "x":10, "y":1.25},
|
||||
{"label":"K1B (C1,F2)", "x":11, "y":1.25},
|
||||
{"label":"K1C (C1,F3)", "x":12, "y":1.25},
|
||||
{"label":"K1E (C1,F5)", "x":13, "y":1.25, "w":2},
|
||||
{"label":"K1F (C1,F6)", "x":15, "y":1.25},
|
||||
{"label":"K20 (C2,B6)", "x":0, "y":2.25, "w":1.5},
|
||||
{"label":"K22 (C2,B4)", "x":1.5, "y":2.25},
|
||||
{"label":"K23 (C2,B3)", "x":2.5, "y":2.25},
|
||||
{"label":"K24 (C2,B2)", "x":3.5, "y":2.25},
|
||||
{"label":"K25 (C2,B1)", "x":4.5, "y":2.25},
|
||||
{"label":"K26 (C2,B0)", "x":5.5, "y":2.25},
|
||||
{"label":"K27 (C2,E7)", "x":6.5, "y":2.25},
|
||||
{"label":"K28 (C2,E6)", "x":7.5, "y":2.25},
|
||||
{"label":"K29 (C2,F0)", "x":8.5, "y":2.25},
|
||||
{"label":"K2A (C2,F1)", "x":9.5, "y":2.25},
|
||||
{"label":"K2B (C2,F2)", "x":10.5, "y":2.25},
|
||||
{"label":"K2C (C2,F3)", "x":11.5, "y":2.25},
|
||||
{"label":"K2D (C2,F4)", "x":12.5, "y":2.25},
|
||||
{"label":"K2E (C2,F5)", "x":13.5, "y":2.25, "w":1.5},
|
||||
{"label":"K2F (C2,F6)", "x":15, "y":2.25},
|
||||
{"label":"K30 (C3,B6)", "x":0, "y":3.25, "w":1.75},
|
||||
{"label":"K32 (C3,B4)", "x":1.75, "y":3.25},
|
||||
{"label":"K33 (C3,B3)", "x":2.75, "y":3.25},
|
||||
{"label":"K34 (C3,B2)", "x":3.75, "y":3.25},
|
||||
{"label":"K35 (C3,B1)", "x":4.75, "y":3.25},
|
||||
{"label":"K36 (C3,B0)", "x":5.75, "y":3.25},
|
||||
{"label":"K37 (C3,E7)", "x":6.75, "y":3.25},
|
||||
{"label":"K38 (C3,E6)", "x":7.75, "y":3.25},
|
||||
{"label":"K39 (C3,F0)", "x":8.75, "y":3.25},
|
||||
{"label":"K3A (C3,F1)", "x":9.75, "y":3.25},
|
||||
{"label":"K3B (C3,F2)", "x":10.75, "y":3.25},
|
||||
{"label":"K3C (C3,F3)", "x":11.75, "y":3.25},
|
||||
{"label":"K3D (C3,F4)", "x":12.75, "y":3.25, "w":2.25},
|
||||
{"label":"K41 (C4,B5)", "x":0, "y":4.25, "w":2.25},
|
||||
{"label":"K42 (C4,B4)", "x":2.25, "y":4.25},
|
||||
{"label":"K43 (C4,B3)", "x":3.25, "y":4.25},
|
||||
{"label":"K44 (C4,B2)", "x":4.25, "y":4.25},
|
||||
{"label":"K45 (C4,B1)", "x":5.25, "y":4.25},
|
||||
{"label":"K46 (C4,B0)", "x":6.25, "y":4.25},
|
||||
{"label":"K47 (C4,E7)", "x":7.25, "y":4.25},
|
||||
{"label":"K48 (C4,E6)", "x":8.25, "y":4.25},
|
||||
{"label":"K49 (C4,F0)", "x":9.25, "y":4.25},
|
||||
{"label":"K4A (C4,F1)", "x":10.25, "y":4.25},
|
||||
{"label":"K4B (C4,F2)", "x":11.25, "y":4.25},
|
||||
{"label":"K4D (C4,F4)", "x":12.25, "y":4.25, "w":2.75},
|
||||
{"label":"K4F (C4,F6)", "x":15, "y":4.25},
|
||||
{"label":"K51 (C5,B5)", "x":1, "y":5.25, "w":1.5},
|
||||
{"label":"K53 (C5,B3)", "x":2.5, "y":5.25, "w":1.5},
|
||||
{"label":"K57 (C5,E7)", "x":4, "y":5.25, "w":7},
|
||||
{"label":"K5B (C5,F2)", "x":11, "y":5.25, "w":1.5},
|
||||
{"label":"K5D (C5,F4)", "x":12.5, "y":5.25, "w":1.5},
|
||||
{"label":"K5E (C5,F5)", "x":14, "y":5.25},
|
||||
{"label":"K5F (C5,F6)", "x":15, "y":5.25},
|
||||
{"label":"K5G (C5,F7)", "x":16, "y":5.25}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||
{"matrix": [0, 14], "x": 14, "y": 0},
|
||||
|
||||
{"matrix": [0, 16], "x": 16, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10, "y": 1},
|
||||
{"matrix": [1, 11], "x": 11, "y": 1},
|
||||
{"matrix": [1, 12], "x": 12, "y": 1},
|
||||
{"matrix": [1, 14], "x": 13, "y": 1, "w": 2},
|
||||
{"matrix": [1, 15], "x": 15, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5},
|
||||
{"matrix": [2, 2], "x": 1.5, "y": 2},
|
||||
{"matrix": [2, 3], "x": 2.5, "y": 2},
|
||||
{"matrix": [2, 4], "x": 3.5, "y": 2},
|
||||
{"matrix": [2, 5], "x": 4.5, "y": 2},
|
||||
{"matrix": [2, 6], "x": 5.5, "y": 2},
|
||||
{"matrix": [2, 7], "x": 6.5, "y": 2},
|
||||
{"matrix": [2, 8], "x": 7.5, "y": 2},
|
||||
{"matrix": [2, 9], "x": 8.5, "y": 2},
|
||||
{"matrix": [2, 10], "x": 9.5, "y": 2},
|
||||
{"matrix": [2, 11], "x": 10.5, "y": 2},
|
||||
{"matrix": [2, 12], "x": 11.5, "y": 2},
|
||||
{"matrix": [2, 13], "x": 12.5, "y": 2},
|
||||
{"matrix": [2, 14], "x": 13.5, "y": 2, "w": 1.5},
|
||||
{"matrix": [2, 15], "x": 15, "y": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.75},
|
||||
{"matrix": [3, 2], "x": 1.75, "y": 3},
|
||||
{"matrix": [3, 3], "x": 2.75, "y": 3},
|
||||
{"matrix": [3, 4], "x": 3.75, "y": 3},
|
||||
{"matrix": [3, 5], "x": 4.75, "y": 3},
|
||||
{"matrix": [3, 6], "x": 5.75, "y": 3},
|
||||
{"matrix": [3, 7], "x": 6.75, "y": 3},
|
||||
{"matrix": [3, 8], "x": 7.75, "y": 3},
|
||||
{"matrix": [3, 9], "x": 8.75, "y": 3},
|
||||
{"matrix": [3, 10], "x": 9.75, "y": 3},
|
||||
{"matrix": [3, 11], "x": 10.75, "y": 3},
|
||||
{"matrix": [3, 12], "x": 11.75, "y": 3},
|
||||
{"matrix": [3, 13], "x": 12.75, "y": 3, "w": 2.25},
|
||||
|
||||
{"matrix": [4, 1], "x": 0, "y": 4, "w": 2.25},
|
||||
{"matrix": [4, 2], "x": 2.25, "y": 4},
|
||||
{"matrix": [4, 3], "x": 3.25, "y": 4},
|
||||
{"matrix": [4, 4], "x": 4.25, "y": 4},
|
||||
{"matrix": [4, 5], "x": 5.25, "y": 4},
|
||||
{"matrix": [4, 6], "x": 6.25, "y": 4},
|
||||
{"matrix": [4, 7], "x": 7.25, "y": 4},
|
||||
{"matrix": [4, 8], "x": 8.25, "y": 4},
|
||||
{"matrix": [4, 9], "x": 9.25, "y": 4},
|
||||
{"matrix": [4, 10], "x": 10.25, "y": 4},
|
||||
{"matrix": [4, 11], "x": 11.25, "y": 4},
|
||||
{"matrix": [4, 13], "x": 12.25, "y": 4, "w": 2.75},
|
||||
{"matrix": [4, 15], "x": 15, "y": 4},
|
||||
|
||||
{"matrix": [5, 1], "x": 1, "y": 5, "w": 1.5},
|
||||
{"matrix": [5, 3], "x": 2.5, "y": 5, "w": 1.5},
|
||||
{"matrix": [5, 7], "x": 4, "y": 5, "w": 7},
|
||||
{"matrix": [5, 11], "x": 11, "y": 5, "w": 1.5},
|
||||
{"matrix": [5, 13], "x": 12.5, "y": 5, "w": 1.5},
|
||||
{"matrix": [5, 14], "x": 14, "y": 5},
|
||||
{"matrix": [5, 15], "x": 15, "y": 5},
|
||||
{"matrix": [5, 16], "x": 16, "y": 5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
/* Copyright 2021 James Sa <james.sa.2013@gmail.com>
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* This is a shortcut to help you visually see your layout.
|
||||
*
|
||||
* The first section contains all of the arguments representing the physical
|
||||
* layout of the board and position of the keys.
|
||||
*
|
||||
* The second converts the arguments into a two-dimensional array which
|
||||
* represents the switch matrix.
|
||||
*/
|
||||
#define LAYOUT( \
|
||||
k11 , k12 , k13 , k14 , k15 , k16 , k17 , k18 , k19 , k1a , k1b ,\
|
||||
k21 , k22 , k23 , k24 , k25 , k26 , k27 , k28 , k29 , k2a , k2b , k2c ,\
|
||||
k31 , k32 , k33 , k34 , k35 , k36 , k37 , k38 , k39 , k3a , k3b , k3c , k3d ,\
|
||||
k41 , k42 , k43 , k44 , k45 , k46 , k47 , k48 , k49 , k4a , k4b \
|
||||
) \
|
||||
{ \
|
||||
{ k11, k12, k13, k14, k15,KC_NO,KC_NO, k16, k17, k18, k19, k1a, k1b }, \
|
||||
{ k21, k22, k23, k24, k25, k26, KC_NO, k27, k28, k29, k2a, k2b, k2c }, \
|
||||
{ k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d }, \
|
||||
{ KC_NO,k41,k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, KC_NO} \
|
||||
}
|
||||
@@ -17,20 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { B6, B2, B5, B4 }
|
||||
#define MATRIX_COL_PINS { D3, D2, D1, D0, D4, C6, D7, E6, B3, B1, F7, F6, F5 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// https://docs.qmk.fm/using-qmk/software-features/tap_hold
|
||||
#define TAPPING_TERM 200
|
||||
#define IGNORE_MOD_TAP_INTERRUPT
|
||||
|
||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
|
||||
#define MATRIX_HAS_GHOST
|
||||
|
||||
@@ -8,11 +8,67 @@
|
||||
"pid": "0x0805",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B3", "B1", "F7", "F6", "F5"],
|
||||
"rows": ["B6", "B2", "B5", "B4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":0.5, "y":1}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":0.5, "y":3}, {"x":1.5, "y":3}, {"x":2.5, "y":3}, {"x":3.5, "y":3}, {"x":4.5, "y":3, "w":1.25}, {"x":5.75, "y":3, "w":1.5}, {"x":7.25, "y":3, "w":1.25}, {"x":8.5, "y":3}, {"x":9.5, "y":3}, {"x":10.5, "y":3}, {"x":11.5, "y":3}]
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 1, "y": 0},
|
||||
{"matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"matrix": [0, 3], "x": 4, "y": 0},
|
||||
{"matrix": [0, 4], "x": 5, "y": 0},
|
||||
{"matrix": [0, 7], "x": 6, "y": 0},
|
||||
{"matrix": [0, 8], "x": 7, "y": 0},
|
||||
{"matrix": [0, 9], "x": 8, "y": 0},
|
||||
{"matrix": [0, 10], "x": 9, "y": 0},
|
||||
{"matrix": [0, 11], "x": 10, "y": 0},
|
||||
{"matrix": [0, 12], "x": 11, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0.5, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||
{"matrix": [1, 7], "x": 6.5, "y": 1},
|
||||
{"matrix": [1, 8], "x": 7.5, "y": 1},
|
||||
{"matrix": [1, 9], "x": 8.5, "y": 1},
|
||||
{"matrix": [1, 10], "x": 9.5, "y": 1},
|
||||
{"matrix": [1, 11], "x": 10.5, "y": 1},
|
||||
{"matrix": [1, 12], "x": 11.5, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10, "y": 2},
|
||||
{"matrix": [2, 11], "x": 11, "y": 2},
|
||||
{"matrix": [2, 12], "x": 12, "y": 2},
|
||||
|
||||
{"matrix": [3, 1], "x": 0.5, "y": 3},
|
||||
{"matrix": [3, 2], "x": 1.5, "y": 3},
|
||||
{"matrix": [3, 3], "x": 2.5, "y": 3},
|
||||
{"matrix": [3, 4], "x": 3.5, "y": 3},
|
||||
{"matrix": [3, 5], "x": 4.5, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 6], "x": 5.75, "y": 3, "w": 1.5},
|
||||
{"matrix": [3, 7], "x": 7.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 8], "x": 8.5, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9.5, "y": 3},
|
||||
{"matrix": [3, 10], "x": 10.5, "y": 3},
|
||||
{"matrix": [3, 11], "x": 11.5, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,13 +8,18 @@
|
||||
"pid": "0x0030",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "D3"],
|
||||
"rows": ["D1"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
/* Copyright 2019 Arda Kilicdagi
|
||||
*
|
||||
* 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 "aranck.h"
|
||||
@@ -1,39 +0,0 @@
|
||||
/* Copyright 2019 Arda Kilicdagi
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* This a shortcut to help you visually see your layout.
|
||||
*
|
||||
* The first section contains all of the arguments representing the physical
|
||||
* layout of the board and position of the keys.
|
||||
*
|
||||
* The second converts the arguments into a two-dimensional array which
|
||||
* represents the switch matrix.
|
||||
*/
|
||||
#define LAYOUT_planck_mit(\
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a \
|
||||
) \
|
||||
{ \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \
|
||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \
|
||||
{ k30, k31, k32, k33, k34, KC_NO, k35, k36, k37, k38, k39, k3a } \
|
||||
}
|
||||
@@ -17,25 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ D3, D2, D1, D0 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ C6, D7, E6, B4, B6, B2, B3, B1, F7, F6, F5, F4 }
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
||||
@@ -8,59 +8,67 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C6", "D7", "E6", "B4", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
|
||||
"rows": ["D3", "D2", "D1", "D0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"community_layouts": ["planck_mit"],
|
||||
"layouts": {
|
||||
"LAYOUT_planck_mit": {
|
||||
"layout": [
|
||||
{ "x": 0, "y": 0 },
|
||||
{ "x": 1, "y": 0 },
|
||||
{ "x": 2, "y": 0 },
|
||||
{ "x": 3, "y": 0 },
|
||||
{ "x": 4, "y": 0 },
|
||||
{ "x": 5, "y": 0 },
|
||||
{ "x": 6, "y": 0 },
|
||||
{ "x": 7, "y": 0 },
|
||||
{ "x": 8, "y": 0 },
|
||||
{ "x": 9, "y": 0 },
|
||||
{ "x": 10, "y": 0 },
|
||||
{ "x": 11, "y": 0 },
|
||||
{ "x": 0, "y": 1 },
|
||||
{ "x": 1, "y": 1 },
|
||||
{ "x": 2, "y": 1 },
|
||||
{ "x": 3, "y": 1 },
|
||||
{ "x": 4, "y": 1 },
|
||||
{ "x": 5, "y": 1 },
|
||||
{ "x": 6, "y": 1 },
|
||||
{ "x": 7, "y": 1 },
|
||||
{ "x": 8, "y": 1 },
|
||||
{ "x": 9, "y": 1 },
|
||||
{ "x": 10, "y": 1 },
|
||||
{ "x": 11, "y": 1 },
|
||||
{ "x": 0, "y": 2 },
|
||||
{ "x": 1, "y": 2 },
|
||||
{ "x": 2, "y": 2 },
|
||||
{ "x": 3, "y": 2 },
|
||||
{ "x": 4, "y": 2 },
|
||||
{ "x": 5, "y": 2 },
|
||||
{ "x": 6, "y": 2 },
|
||||
{ "x": 7, "y": 2 },
|
||||
{ "x": 8, "y": 2 },
|
||||
{ "x": 9, "y": 2 },
|
||||
{ "x": 10, "y": 2 },
|
||||
{ "x": 11, "y": 2 },
|
||||
{ "x": 0, "y": 3 },
|
||||
{ "x": 1, "y": 3 },
|
||||
{ "x": 2, "y": 3 },
|
||||
{ "x": 3, "y": 3 },
|
||||
{ "x": 4, "y": 3 },
|
||||
{ "x": 5, "y": 3, "w": 2 },
|
||||
{ "x": 7, "y": 3 },
|
||||
{ "x": 8, "y": 3 },
|
||||
{ "x": 9, "y": 3 },
|
||||
{ "x": 10, "y": 3 },
|
||||
{ "x": 11, "y": 3 }
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10, "y": 1},
|
||||
{"matrix": [1, 11], "x": 11, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10, "y": 2},
|
||||
{"matrix": [2, 11], "x": 11, "y": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||
{"matrix": [3, 4], "x": 4, "y": 3},
|
||||
{"matrix": [3, 6], "x": 5, "y": 3, "w": 2},
|
||||
{"matrix": [3, 7], "x": 7, "y": 3},
|
||||
{"matrix": [3, 8], "x": 8, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9, "y": 3},
|
||||
{"matrix": [3, 10], "x": 10, "y": 3},
|
||||
{"matrix": [3, 11], "x": 11, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,5 +20,4 @@
|
||||
|
||||
#define RETRO_TAPPING
|
||||
#define PERMISSIVE_HOLD
|
||||
#define IGNORE_MOD_TAP_INTERRUPT
|
||||
#define QUICK_TAP_TERM 0
|
||||
#define QUICK_TAP_TERM 0
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
#include "arrow_pad.h"
|
||||
@@ -1,42 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
#include "matrix.h"
|
||||
#include "keymap.h"
|
||||
#ifdef BACKLIGHT_ENABLE
|
||||
#include "backlight.h"
|
||||
#endif
|
||||
#include <avr/io.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#define XXX KC_NO
|
||||
|
||||
// This is the 21-key keypad to 4x6 element matrix mapping
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, \
|
||||
k10, k11, k12, k13, \
|
||||
k20, k21, k22, k23, \
|
||||
k30, k31, k32, k33, \
|
||||
k40, k41, k42, k43, \
|
||||
k50, k51, k52, k53 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03 }, \
|
||||
{ k10, k11, k12, k13 }, \
|
||||
{ k20, k21, k22, k23 }, \
|
||||
{ k30, k31, k32, k33 }, \
|
||||
{ k40, k41, k42, k43 }, \
|
||||
{ k50, k51, k52, k53 } \
|
||||
}
|
||||
|
||||
// This is the 21-key keypad to 2x11 element matrix mapping
|
||||
#define LAYOUT_pad21( \
|
||||
k00, k01, k02, k03, \
|
||||
k10, k11, k12, k13, \
|
||||
k04, k05, k06, \
|
||||
k14, k15, k16, k07, \
|
||||
k08, k09, k0A, \
|
||||
k19, k1A, k17 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, XXX, k19, k1A } \
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 }
|
||||
#define MATRIX_COL_PINS { B0, B1, B2, B3 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define FORCE_NKRO
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
@@ -6,8 +6,14 @@
|
||||
"usb": {
|
||||
"vid": "0xFEED",
|
||||
"pid": "0x4096",
|
||||
"device_version": "0.0.1"
|
||||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B0", "B1", "B2", "B3"],
|
||||
"rows": ["F0", "F1", "F4", "F5", "F6", "F7"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"backlight": {
|
||||
"pin": "B7"
|
||||
},
|
||||
@@ -16,55 +22,35 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"KM_ESC", "x":0, "y":0},
|
||||
{"label":"KM_TAB", "x":1, "y":0},
|
||||
{"label":"KM_BSL", "x":2, "y":0},
|
||||
{"label":"KM_ARR", "x":3, "y":0},
|
||||
{"label":"KM_NUM", "x":0, "y":1},
|
||||
{"label":"KM_FSL", "x":1, "y":1},
|
||||
{"label":"KM_AST", "x":2, "y":1},
|
||||
{"label":"KM_MIN", "x":3, "y":1},
|
||||
{"label":"KM___7", "x":0, "y":2},
|
||||
{"label":"KM___8", "x":1, "y":2},
|
||||
{"label":"KM___9", "x":2, "y":2},
|
||||
{"label":"KM_EQU", "x":3, "y":2},
|
||||
{"label":"KM___4", "x":0, "y":3},
|
||||
{"label":"KM___5", "x":1, "y":3},
|
||||
{"label":"KM___6", "x":2, "y":3},
|
||||
{"label":"KM_PLS", "x":3, "y":3},
|
||||
{"label":"KM___1", "x":0, "y":4},
|
||||
{"label":"KM___2", "x":1, "y":4},
|
||||
{"label":"KM___3", "x":2, "y":4},
|
||||
{"label":"___ENT", "x":3, "y":4},
|
||||
{"label":"KM___0", "x":0, "y":5},
|
||||
{"label":"_____0", "x":1, "y":5},
|
||||
{"label":"KM_DOT", "x":2, "y":5},
|
||||
{"label":"KM_ENT", "x":3, "y":5}
|
||||
]
|
||||
},
|
||||
"LAYOUT_pad21": {
|
||||
"layout": [
|
||||
{"label":"KM_ESC", "x":0, "y":0},
|
||||
{"label":"KM_TAB", "x":1, "y":0},
|
||||
{"label":"KM_BSL", "x":2, "y":0},
|
||||
{"label":"KM_ARR", "x":3, "y":0},
|
||||
{"label":"KM_NUM", "x":0, "y":1},
|
||||
{"label":"KM_FSL", "x":1, "y":1},
|
||||
{"label":"KM_AST", "x":2, "y":1},
|
||||
{"label":"KM_MIN", "x":3, "y":1},
|
||||
{"label":"KM___7", "x":0, "y":2},
|
||||
{"label":"KM___8", "x":1, "y":2},
|
||||
{"label":"KM___9", "x":2, "y":2},
|
||||
{"label":"KM___4", "x":0, "y":3},
|
||||
{"label":"KM___5", "x":1, "y":3},
|
||||
{"label":"KM___6", "x":2, "y":3},
|
||||
{"label":"KM_PLS", "x":3, "y":2, "h":2},
|
||||
{"label":"KM___1", "x":0, "y":4},
|
||||
{"label":"KM___2", "x":1, "y":4},
|
||||
{"label":"KM___3", "x":2, "y":4},
|
||||
{"label":"KM___0", "x":0, "y":5, "w":2},
|
||||
{"label":"KM_DOT", "x":2, "y":5},
|
||||
{"label":"KM_ENT", "x":3, "y":4, "h":2}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4},
|
||||
{"matrix": [4, 1], "x": 1, "y": 4},
|
||||
{"matrix": [4, 2], "x": 2, "y": 4},
|
||||
{"matrix": [4, 3], "x": 3, "y": 4},
|
||||
|
||||
{"matrix": [5, 0], "x": 0, "y": 5},
|
||||
{"matrix": [5, 1], "x": 1, "y": 5},
|
||||
{"matrix": [5, 2], "x": 2, "y": 5},
|
||||
{"matrix": [5, 3], "x": 3, "y": 5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,19 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "led.h"
|
||||
|
||||
// This is the 21-key keypad to 2x11 element matrix mapping
|
||||
#define LAYOUT_pad21( \
|
||||
k00, k01, k02, k03, \
|
||||
k10, k11, k12, k13, \
|
||||
k04, k05, k06, \
|
||||
k14, k15, k16, k07, \
|
||||
k08, k09, k0A, \
|
||||
k19, k1A, k17 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, XXX, k19, k1A } \
|
||||
}
|
||||
|
||||
enum layers {
|
||||
LAYER_BASE,
|
||||
LAYER_EDIT,
|
||||
|
||||
@@ -93,21 +93,6 @@ More info can be found on [GeekHack](https://geekhack.org/index.php?topic=73632.
|
||||
|
||||
The second ArrowPad was a conversion from a 21-key Genovation keypad. It used a 2 row x 11 column matrix.
|
||||
|
||||
```
|
||||
#define LAYOUT_pad21( \
|
||||
KM_ESC, KM_TAB, KM_BSL, KM_ARR, \
|
||||
KM_NUM, KM_FSL, KM_AST, KM_MIN, \
|
||||
KM___7, KM___8, KM___9, \
|
||||
KM___4, KM___5, KM___6, KM_PLS, \
|
||||
KM___1, KM___2, KM___3, \
|
||||
KM___0, KM_DOT, KM_ENT \
|
||||
) { \
|
||||
{ KM_ESC, KM_TAB, KM_BSL, KM_ARR, KM___7, KM___8, KM___9, KM_PLS, KM___1, KM___2, KM___3, }, \
|
||||
{ KM_NUM, KM_FSL, KM_AST, KM_MIN, KM___4, KM___5, KM___6, KM_ENT, KC_NO, KM___0, KM_DOT, }, \
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Quantum MK Firmware
|
||||
|
||||
For the full Quantum feature list, see [the parent readme.md](/readme.md).
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "atreus50.h"
|
||||
#include "quantum.h"
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define XXX KC_NO
|
||||
|
||||
// The first section contains all of the arguments
|
||||
// The second converts the arguments into a two-dimensional array
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \
|
||||
k30, k31, k32, k33, k34, k35, kM0, kM1, k36, k37, k38, k39, k3A, k3B \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, XXX, k06, k07, k08, k09, k0A, k0B }, \
|
||||
{ k10, k11, k12, k13, k14, k15, XXX, k16, k17, k18, k19, k1A, k1B }, \
|
||||
{ k20, k21, k22, k23, k24, k25, kM0, k26, k27, k28, k29, k2A, k2B }, \
|
||||
{ k30, k31, k32, k33, k34, k35, kM1, k36, k37, k38, k39, k3A, k3B } \
|
||||
}
|
||||
|
||||
#define KC_ KC_TRNS
|
||||
@@ -17,21 +17,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Planck PCB default pin-out */
|
||||
#define MATRIX_ROW_PINS { D3, D2, D1, D0 }
|
||||
#define MATRIX_COL_PINS { D4, D7, E6, B4, B5, B6, B2, B3, B1, F7, F6, F5, F4 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN C6
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
|
||||
@@ -8,68 +8,76 @@
|
||||
"pid": "0x040D",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "C6"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "D7", "E6", "B4", "B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
|
||||
"rows": ["D3", "D2", "D1", "D0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"Tab", "x":0, "y":0.5},
|
||||
{"label":"Q", "x":1, "y":0.5},
|
||||
{"label":"W", "x":2, "y":0.25},
|
||||
{"label":"E", "x":3, "y":0},
|
||||
{"label":"R", "x":4, "y":0.25},
|
||||
{"label":"T", "x":5, "y":0.5},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.5},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.5},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0.25},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.25},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0.5},
|
||||
|
||||
{"label":"Y", "x":9, "y":0.5},
|
||||
{"label":"U", "x":10, "y":0.25},
|
||||
{"label":"I", "x":11, "y":0},
|
||||
{"label":"O", "x":12, "y":0.25},
|
||||
{"label":"P", "x":13, "y":0.5},
|
||||
{"label":"-", "x":14, "y":0.5},
|
||||
{"matrix": [0, 7], "x": 9, "y": 0.5},
|
||||
{"matrix": [0, 8], "x": 10, "y": 0.25},
|
||||
{"matrix": [0, 9], "x": 11, "y": 0},
|
||||
{"matrix": [0, 10], "x": 12, "y": 0.25},
|
||||
{"matrix": [0, 11], "x": 13, "y": 0.5},
|
||||
{"matrix": [0, 12], "x": 14, "y": 0.5},
|
||||
|
||||
{"label":"Ctrl/Esc", "x":0, "y":1.5},
|
||||
{"label":"A", "x":1, "y":1.5},
|
||||
{"label":"S", "x":2, "y":1.25},
|
||||
{"label":"D", "x":3, "y":1},
|
||||
{"label":"F", "x":4, "y":1.25},
|
||||
{"label":"G", "x":5, "y":1.5},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.5},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.5},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.25},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.5},
|
||||
|
||||
{"label":"H", "x":9, "y":1.5},
|
||||
{"label":"J", "x":10, "y":1.25},
|
||||
{"label":"K", "x":11, "y":1},
|
||||
{"label":"L", "x":12, "y":1.25},
|
||||
{"label":";", "x":13, "y":1.5},
|
||||
{"label":"'", "x":14, "y":1.5},
|
||||
{"matrix": [1, 7], "x": 9, "y": 1.5},
|
||||
{"matrix": [1, 8], "x": 10, "y": 1.25},
|
||||
{"matrix": [1, 9], "x": 11, "y": 1},
|
||||
{"matrix": [1, 10], "x": 12, "y": 1.25},
|
||||
{"matrix": [1, 11], "x": 13, "y": 1.5},
|
||||
{"matrix": [1, 12], "x": 14, "y": 1.5},
|
||||
|
||||
{"label":"LShift", "x":0, "y":2.5},
|
||||
{"label":"Z", "x":1, "y":2.5},
|
||||
{"label":"X", "x":2, "y":2.25},
|
||||
{"label":"C", "x":3, "y":2},
|
||||
{"label":"V", "x":4, "y":2.25},
|
||||
{"label":"B", "x":5, "y":2.5},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.5},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.5},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.25},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2.5},
|
||||
|
||||
{"label":"N", "x":9, "y":2.5},
|
||||
{"label":"M", "x":10, "y":2.25},
|
||||
{"label":",", "x":11, "y":2},
|
||||
{"label":".", "x":12, "y":2.25},
|
||||
{"label":"/", "x":13, "y":2.5},
|
||||
{"label":"Shift/Enter", "x":14, "y":2.5},
|
||||
{"matrix": [2, 7], "x": 9, "y": 2.5},
|
||||
{"matrix": [2, 8], "x": 10, "y": 2.25},
|
||||
{"matrix": [2, 9], "x": 11, "y": 2},
|
||||
{"matrix": [2, 10], "x": 12, "y": 2.25},
|
||||
{"matrix": [2, 11], "x": 13, "y": 2.5},
|
||||
{"matrix": [2, 12], "x": 14, "y": 2.5},
|
||||
|
||||
{"label":"`", "x":0, "y":3.5},
|
||||
{"label":"LCtrl", "x":1, "y":3.5},
|
||||
{"label":"LAlt", "x":2, "y":3.25},
|
||||
{"label":"LGUI", "x":3, "y":3},
|
||||
{"label":"Lower", "x":4, "y":3.25},
|
||||
{"label":"Space", "x":5, "y":3.5},
|
||||
{"label":"Fn", "x":6, "y":2.75, "h":1.5},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.5},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3.5},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||
{"matrix": [3, 4], "x": 4, "y": 3.25},
|
||||
{"matrix": [3, 5], "x": 5, "y": 3.5},
|
||||
{"matrix": [2, 6], "x": 6, "y": 2.75, "h": 1.5},
|
||||
|
||||
{"label":"RShift", "x":8, "y":2.75, "h":1.5},
|
||||
{"label":"Back Space", "x":9, "y":3.5},
|
||||
{"label":"Raise", "x":10, "y":3.25},
|
||||
{"label":"Left", "x":11, "y":3},
|
||||
{"label":"Down", "x":12, "y":3.25},
|
||||
{"label":"Up", "x":13, "y":3.5},
|
||||
{"label":"Right", "x":14, "y":3.5}
|
||||
{"matrix": [3, 6], "x": 8, "y": 2.75, "h": 1.5},
|
||||
{"matrix": [3, 7], "x": 9, "y": 3.5},
|
||||
{"matrix": [3, 8], "x": 10, "y": 3.25},
|
||||
{"matrix": [3, 9], "x": 11, "y": 3},
|
||||
{"matrix": [3, 10], "x": 12, "y": 3.25},
|
||||
{"matrix": [3, 11], "x": 13, "y": 3.5},
|
||||
{"matrix": [3, 12], "x": 14, "y": 3.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,85 +0,0 @@
|
||||
/*
|
||||
Copyright 2021 Robin Liu
|
||||
|
||||
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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/*
|
||||
* Default layout:
|
||||
* 2.75u - 2.25u spacebar
|
||||
*/
|
||||
#define LAYOUT_default( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
|
||||
K301, K302, K304, K306, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \
|
||||
{ KC_NO, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310 } \
|
||||
}
|
||||
|
||||
/*
|
||||
* Spaceswap layout:
|
||||
* Electrically identical to default
|
||||
* 2.25u - 2.75u spacebar
|
||||
*/
|
||||
#define LAYOUT_spaceswap( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
|
||||
K301, K302, K304, K306, K308, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \
|
||||
{ KC_NO, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310 } \
|
||||
}
|
||||
|
||||
/*
|
||||
* 6.25u spacebar layout:
|
||||
* 6.25u spacebar
|
||||
*/
|
||||
#define LAYOUT_space6p25u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
|
||||
K301, K302, K306, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \
|
||||
{ KC_NO, K301, K302, KC_NO, KC_NO, KC_NO, K306, KC_NO, KC_NO, K309, K310 } \
|
||||
}
|
||||
|
||||
/*
|
||||
* 7u spacebar layout:
|
||||
* 7u spacebar
|
||||
*/
|
||||
#define LAYOUT_space7u( \
|
||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K310, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, \
|
||||
K301, K304, K309 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \
|
||||
{ KC_NO, K301, KC_NO, KC_NO, K304, KC_NO, KC_NO, KC_NO, KC_NO, K309, K310 } \
|
||||
}
|
||||
@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { D5, D6, D4, D0 }
|
||||
#define MATRIX_COL_PINS { B0, D7, B1, B2, C0, C1, C2, C3, C4, C5, D1 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
||||
@@ -8,190 +8,195 @@
|
||||
"pid": "0x6060",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B0", "D7", "B1", "B2", "C0", "C1", "C2", "C3", "C4", "C5", "D1"],
|
||||
"rows": ["D5", "D6", "D4", "D0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega328p",
|
||||
"bootloader": "usbasploader",
|
||||
"layouts": {
|
||||
"LAYOUT_default": {
|
||||
"layout": [
|
||||
{"x": 0, "y": 0},
|
||||
{"x": 1, "y": 0},
|
||||
{"x": 2, "y": 0},
|
||||
{"x": 3, "y": 0},
|
||||
{"x": 4, "y": 0},
|
||||
{"x": 5, "y": 0},
|
||||
{"x": 6, "y": 0},
|
||||
{"x": 7, "y": 0},
|
||||
{"x": 8, "y": 0},
|
||||
{"x": 9, "y": 0},
|
||||
{"x": 10, "y": 0},
|
||||
{"x": 11, "y": 0},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [3, 10], "x": 11, "y": 0},
|
||||
|
||||
{"x": 0, "y": 1, "w": 1.25},
|
||||
{"x": 1.25, "y": 1},
|
||||
{"x": 2.25, "y": 1},
|
||||
{"x": 3.25, "y": 1},
|
||||
{"x": 4.25, "y": 1},
|
||||
{"x": 5.25, "y": 1},
|
||||
{"x": 6.25, "y": 1},
|
||||
{"x": 7.25, "y": 1},
|
||||
{"x": 8.25, "y": 1},
|
||||
{"x": 9.25, "y": 1},
|
||||
{"x": 10.25, "y": 1, "w": 1.75},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
|
||||
{"matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.25, "y": 1, "w": 1.75},
|
||||
|
||||
{"x": 0, "y": 2, "w": 1.75},
|
||||
{"x": 1.75, "y": 2},
|
||||
{"x": 2.75, "y": 2},
|
||||
{"x": 3.75, "y": 2},
|
||||
{"x": 4.75, "y": 2},
|
||||
{"x": 5.75, "y": 2},
|
||||
{"x": 6.75, "y": 2},
|
||||
{"x": 7.75, "y": 2},
|
||||
{"x": 8.75, "y": 2},
|
||||
{"x": 9.75, "y": 2},
|
||||
{"x": 10.75, "y": 2, "w": 1.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10.75, "y": 2, "w": 1.25},
|
||||
|
||||
{"x": 1.25, "y": 3, "w": 1.25},
|
||||
{"x": 2.5, "y": 3, "w": 1.25},
|
||||
{"x": 3.75, "y": 3, "w": 2.75},
|
||||
{"x": 6.5, "y": 3, "w": 2.25},
|
||||
{"x": 8.75, "y": 3},
|
||||
{"x": 9.75, "y": 3}
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 4], "x": 3.75, "y": 3, "w": 2.75},
|
||||
{"matrix": [3, 6], "x": 6.5, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 8], "x": 8.75, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9.75, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_spaceswap": {
|
||||
"layout": [
|
||||
{"x": 0, "y": 0},
|
||||
{"x": 1, "y": 0},
|
||||
{"x": 2, "y": 0},
|
||||
{"x": 3, "y": 0},
|
||||
{"x": 4, "y": 0},
|
||||
{"x": 5, "y": 0},
|
||||
{"x": 6, "y": 0},
|
||||
{"x": 7, "y": 0},
|
||||
{"x": 8, "y": 0},
|
||||
{"x": 9, "y": 0},
|
||||
{"x": 10, "y": 0},
|
||||
{"x": 11, "y": 0},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [3, 10], "x": 11, "y": 0},
|
||||
|
||||
{"x": 0, "y": 1, "w": 1.25},
|
||||
{"x": 1.25, "y": 1},
|
||||
{"x": 2.25, "y": 1},
|
||||
{"x": 3.25, "y": 1},
|
||||
{"x": 4.25, "y": 1},
|
||||
{"x": 5.25, "y": 1},
|
||||
{"x": 6.25, "y": 1},
|
||||
{"x": 7.25, "y": 1},
|
||||
{"x": 8.25, "y": 1},
|
||||
{"x": 9.25, "y": 1},
|
||||
{"x": 10.25, "y": 1, "w": 1.75},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
|
||||
{"matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.25, "y": 1, "w": 1.75},
|
||||
|
||||
{"x": 0, "y": 2, "w": 1.75},
|
||||
{"x": 1.75, "y": 2},
|
||||
{"x": 2.75, "y": 2},
|
||||
{"x": 3.75, "y": 2},
|
||||
{"x": 4.75, "y": 2},
|
||||
{"x": 5.75, "y": 2},
|
||||
{"x": 6.75, "y": 2},
|
||||
{"x": 7.75, "y": 2},
|
||||
{"x": 8.75, "y": 2},
|
||||
{"x": 9.75, "y": 2},
|
||||
{"x": 10.75, "y": 2, "w": 1.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10.75, "y": 2, "w": 1.25},
|
||||
|
||||
{"x": 1.25, "y": 3, "w": 1.25},
|
||||
{"x": 2.5, "y": 3, "w": 1.25},
|
||||
{"x": 3.75, "y": 3, "w": 2.25},
|
||||
{"x": 6, "y": 3, "w": 2.75},
|
||||
{"x": 8.75, "y": 3},
|
||||
{"x": 9.75, "y": 3}
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 4], "x": 3.75, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 6], "x": 6, "y": 3, "w": 2.75},
|
||||
{"matrix": [3, 8], "x": 8.75, "y": 3},
|
||||
{"matrix": [3, 9], "x": 9.75, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_space6p25u": {
|
||||
"layout": [
|
||||
{"x": 0, "y": 0},
|
||||
{"x": 1, "y": 0},
|
||||
{"x": 2, "y": 0},
|
||||
{"x": 3, "y": 0},
|
||||
{"x": 4, "y": 0},
|
||||
{"x": 5, "y": 0},
|
||||
{"x": 6, "y": 0},
|
||||
{"x": 7, "y": 0},
|
||||
{"x": 8, "y": 0},
|
||||
{"x": 9, "y": 0},
|
||||
{"x": 10, "y": 0},
|
||||
{"x": 11, "y": 0},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [3, 10], "x": 11, "y": 0},
|
||||
|
||||
{"x": 0, "y": 1, "w": 1.25},
|
||||
{"x": 1.25, "y": 1},
|
||||
{"x": 2.25, "y": 1},
|
||||
{"x": 3.25, "y": 1},
|
||||
{"x": 4.25, "y": 1},
|
||||
{"x": 5.25, "y": 1},
|
||||
{"x": 6.25, "y": 1},
|
||||
{"x": 7.25, "y": 1},
|
||||
{"x": 8.25, "y": 1},
|
||||
{"x": 9.25, "y": 1},
|
||||
{"x": 10.25, "y": 1, "w": 1.75},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
|
||||
{"matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.25, "y": 1, "w": 1.75},
|
||||
|
||||
{"x": 0, "y": 2, "w": 1.75},
|
||||
{"x": 1.75, "y": 2},
|
||||
{"x": 2.75, "y": 2},
|
||||
{"x": 3.75, "y": 2},
|
||||
{"x": 4.75, "y": 2},
|
||||
{"x": 5.75, "y": 2},
|
||||
{"x": 6.75, "y": 2},
|
||||
{"x": 7.75, "y": 2},
|
||||
{"x": 8.75, "y": 2},
|
||||
{"x": 9.75, "y": 2},
|
||||
{"x": 10.75, "y": 2, "w": 1.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10.75, "y": 2, "w": 1.25},
|
||||
|
||||
{"x": 1.25, "y": 3, "w": 1.25},
|
||||
{"x": 2.5, "y": 3},
|
||||
{"x": 3.5, "y": 3, "w": 6.25},
|
||||
{"x": 9.75, "y": 3}
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 3},
|
||||
{"matrix": [3, 6], "x": 3.5, "y": 3, "w": 6.25},
|
||||
{"matrix": [3, 9], "x": 9.75, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_space7u": {
|
||||
"layout": [
|
||||
{"x": 0, "y": 0},
|
||||
{"x": 1, "y": 0},
|
||||
{"x": 2, "y": 0},
|
||||
{"x": 3, "y": 0},
|
||||
{"x": 4, "y": 0},
|
||||
{"x": 5, "y": 0},
|
||||
{"x": 6, "y": 0},
|
||||
{"x": 7, "y": 0},
|
||||
{"x": 8, "y": 0},
|
||||
{"x": 9, "y": 0},
|
||||
{"x": 10, "y": 0},
|
||||
{"x": 11, "y": 0},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"matrix": [3, 10], "x": 11, "y": 0},
|
||||
|
||||
{"x": 0, "y": 1, "w": 1.25},
|
||||
{"x": 1.25, "y": 1},
|
||||
{"x": 2.25, "y": 1},
|
||||
{"x": 3.25, "y": 1},
|
||||
{"x": 4.25, "y": 1},
|
||||
{"x": 5.25, "y": 1},
|
||||
{"x": 6.25, "y": 1},
|
||||
{"x": 7.25, "y": 1},
|
||||
{"x": 8.25, "y": 1},
|
||||
{"x": 9.25, "y": 1},
|
||||
{"x": 10.25, "y": 1, "w": 1.75},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
|
||||
{"matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"matrix": [1, 10], "x": 10.25, "y": 1, "w": 1.75},
|
||||
|
||||
{"x": 0, "y": 2, "w": 1.75},
|
||||
{"x": 1.75, "y": 2},
|
||||
{"x": 2.75, "y": 2},
|
||||
{"x": 3.75, "y": 2},
|
||||
{"x": 4.75, "y": 2},
|
||||
{"x": 5.75, "y": 2},
|
||||
{"x": 6.75, "y": 2},
|
||||
{"x": 7.75, "y": 2},
|
||||
{"x": 8.75, "y": 2},
|
||||
{"x": 9.75, "y": 2},
|
||||
{"x": 10.75, "y": 2, "w": 1.25},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"matrix": [2, 10], "x": 10.75, "y": 2, "w": 1.25},
|
||||
|
||||
{"x": 1.25, "y": 3, "w": 1.25},
|
||||
{"x": 2.5, "y": 3, "w": 7},
|
||||
{"x": 9.5, "y": 3, "w": 1.25}
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 4], "x": 2.5, "y": 3, "w": 7},
|
||||
{"matrix": [3, 9], "x": 9.5, "y": 3, "w": 1.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,30 +8,8 @@
|
||||
"term": 175
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": [
|
||||
"B6",
|
||||
"B7",
|
||||
"C6",
|
||||
"C7",
|
||||
"D0",
|
||||
"D1",
|
||||
"D2",
|
||||
"D3",
|
||||
"D4",
|
||||
"D5",
|
||||
"D6",
|
||||
"D7",
|
||||
"E6",
|
||||
"F0"
|
||||
],
|
||||
"rows": [
|
||||
"B0",
|
||||
"B1",
|
||||
"B2",
|
||||
"B3",
|
||||
"B4",
|
||||
"B5"
|
||||
]
|
||||
"cols": ["B6", "B7", "C6", "C7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "E6", "F0"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "B4", "B5"]
|
||||
},
|
||||
"usb": {
|
||||
"vid": "0x1209",
|
||||
@@ -65,633 +43,83 @@
|
||||
"layouts": {
|
||||
"LAYOUT_abnt2": {
|
||||
"layout": [
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
2
|
||||
],
|
||||
"x": 2,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
3
|
||||
],
|
||||
"x": 3,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
4
|
||||
],
|
||||
"x": 4,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
5
|
||||
],
|
||||
"x": 5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
6
|
||||
],
|
||||
"x": 6.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
7
|
||||
],
|
||||
"x": 7.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
8
|
||||
],
|
||||
"x": 8.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
9
|
||||
],
|
||||
"x": 9.5,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
10
|
||||
],
|
||||
"x": 11,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
11
|
||||
],
|
||||
"x": 12,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
12
|
||||
],
|
||||
"x": 13,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
0,
|
||||
13
|
||||
],
|
||||
"x": 14,
|
||||
"y": 0
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
0
|
||||
],
|
||||
"x": 0,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"x": 1,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
2
|
||||
],
|
||||
"x": 2,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
3
|
||||
],
|
||||
"x": 3,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
4
|
||||
],
|
||||
"x": 4,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
5
|
||||
],
|
||||
"x": 5,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
6
|
||||
],
|
||||
"x": 6,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
7
|
||||
],
|
||||
"x": 7,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
8
|
||||
],
|
||||
"x": 8,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
9
|
||||
],
|
||||
"x": 9,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
10
|
||||
],
|
||||
"x": 10,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
11
|
||||
],
|
||||
"x": 11,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
12
|
||||
],
|
||||
"x": 12,
|
||||
"y": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
1,
|
||||
13
|
||||
],
|
||||
"x": 13,
|
||||
"y": 1.25,
|
||||
"w": 2
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
0
|
||||
],
|
||||
"x": 0,
|
||||
"y": 2.25,
|
||||
"w": 1.5
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
1
|
||||
],
|
||||
"x": 1.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
2
|
||||
],
|
||||
"x": 2.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
3
|
||||
],
|
||||
"x": 3.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
4
|
||||
],
|
||||
"x": 4.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
5
|
||||
],
|
||||
"x": 5.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
6
|
||||
],
|
||||
"x": 6.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
7
|
||||
],
|
||||
"x": 7.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
8
|
||||
],
|
||||
"x": 8.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
9
|
||||
],
|
||||
"x": 9.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
10
|
||||
],
|
||||
"x": 10.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
11
|
||||
],
|
||||
"x": 11.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
12
|
||||
],
|
||||
"x": 12.5,
|
||||
"y": 2.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
2,
|
||||
13
|
||||
],
|
||||
"x": 13.75,
|
||||
"y": 2.25,
|
||||
"w": 1.25,
|
||||
"h": 2
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
0
|
||||
],
|
||||
"x": 0,
|
||||
"y": 3.25,
|
||||
"w": 1.75
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
1
|
||||
],
|
||||
"x": 1.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
2
|
||||
],
|
||||
"x": 2.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
3
|
||||
],
|
||||
"x": 3.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
4
|
||||
],
|
||||
"x": 4.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
5
|
||||
],
|
||||
"x": 5.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
6
|
||||
],
|
||||
"x": 6.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
7
|
||||
],
|
||||
"x": 7.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
8
|
||||
],
|
||||
"x": 8.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
9
|
||||
],
|
||||
"x": 9.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
10
|
||||
],
|
||||
"x": 10.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
11
|
||||
],
|
||||
"x": 11.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
3,
|
||||
12
|
||||
],
|
||||
"x": 12.75,
|
||||
"y": 3.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
0
|
||||
],
|
||||
"x": 0,
|
||||
"y": 4.25,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
1
|
||||
],
|
||||
"x": 1.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
2
|
||||
],
|
||||
"x": 2.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
3
|
||||
],
|
||||
"x": 3.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
4
|
||||
],
|
||||
"x": 4.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
5
|
||||
],
|
||||
"x": 5.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
6
|
||||
],
|
||||
"x": 6.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
7
|
||||
],
|
||||
"x": 7.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
8
|
||||
],
|
||||
"x": 8.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
9
|
||||
],
|
||||
"x": 9.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
10
|
||||
],
|
||||
"x": 10.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
11
|
||||
],
|
||||
"x": 11.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
12
|
||||
],
|
||||
"x": 12.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
4,
|
||||
13
|
||||
],
|
||||
"x": 13.25,
|
||||
"y": 4.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
0
|
||||
],
|
||||
"x": 0,
|
||||
"y": 5.25,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
1
|
||||
],
|
||||
"x": 1.25,
|
||||
"y": 5.25,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
2
|
||||
],
|
||||
"x": 2.5,
|
||||
"y": 5.25,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
6
|
||||
],
|
||||
"x": 3.75,
|
||||
"y": 5.25,
|
||||
"w": 6.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
9
|
||||
],
|
||||
"x": 10,
|
||||
"y": 5.25,
|
||||
"w": 1.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
10
|
||||
],
|
||||
"x": 11.25,
|
||||
"y": 5.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
11
|
||||
],
|
||||
"x": 12.25,
|
||||
"y": 5.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
12
|
||||
],
|
||||
"x": 13.25,
|
||||
"y": 5.25
|
||||
},
|
||||
{
|
||||
"matrix": [
|
||||
5,
|
||||
13
|
||||
],
|
||||
"x": 14.25,
|
||||
"y": 5.25
|
||||
}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6.5, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7.5, "y": 0},
|
||||
{"matrix": [0, 8], "x": 8.5, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9.5, "y": 0},
|
||||
{"matrix": [0, 10], "x": 11, "y": 0},
|
||||
{"matrix": [0, 11], "x": 12, "y": 0},
|
||||
{"matrix": [0, 12], "x": 13, "y": 0},
|
||||
{"matrix": [0, 13], "x": 14, "y": 0},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.25},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.25},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1.25},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1.25},
|
||||
{"matrix": [1, 8], "x": 8, "y": 1.25},
|
||||
{"matrix": [1, 9], "x": 9, "y": 1.25},
|
||||
{"matrix": [1, 10], "x": 10, "y": 1.25},
|
||||
{"matrix": [1, 11], "x": 11, "y": 1.25},
|
||||
{"matrix": [1, 12], "x": 12, "y": 1.25},
|
||||
{"matrix": [1, 13], "x": 13, "y": 1.25, "w": 2},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [2, 1], "x": 1.5, "y": 2.25},
|
||||
{"matrix": [2, 2], "x": 2.5, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3.5, "y": 2.25},
|
||||
{"matrix": [2, 4], "x": 4.5, "y": 2.25},
|
||||
{"matrix": [2, 5], "x": 5.5, "y": 2.25},
|
||||
{"matrix": [2, 6], "x": 6.5, "y": 2.25},
|
||||
{"matrix": [2, 7], "x": 7.5, "y": 2.25},
|
||||
{"matrix": [2, 8], "x": 8.5, "y": 2.25},
|
||||
{"matrix": [2, 9], "x": 9.5, "y": 2.25},
|
||||
{"matrix": [2, 10], "x": 10.5, "y": 2.25},
|
||||
{"matrix": [2, 11], "x": 11.5, "y": 2.25},
|
||||
{"matrix": [2, 12], "x": 12.5, "y": 2.25},
|
||||
{"matrix": [2, 13], "x": 13.75, "y": 2.25, "w": 1.25, "h": 2},
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75},
|
||||
{"matrix": [3, 1], "x": 1.75, "y": 3.25},
|
||||
{"matrix": [3, 2], "x": 2.75, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3.75, "y": 3.25},
|
||||
{"matrix": [3, 4], "x": 4.75, "y": 3.25},
|
||||
{"matrix": [3, 5], "x": 5.75, "y": 3.25},
|
||||
{"matrix": [3, 6], "x": 6.75, "y": 3.25},
|
||||
{"matrix": [3, 7], "x": 7.75, "y": 3.25},
|
||||
{"matrix": [3, 8], "x": 8.75, "y": 3.25},
|
||||
{"matrix": [3, 9], "x": 9.75, "y": 3.25},
|
||||
{"matrix": [3, 10], "x": 10.75, "y": 3.25},
|
||||
{"matrix": [3, 11], "x": 11.75, "y": 3.25},
|
||||
{"matrix": [3, 12], "x": 12.75, "y": 3.25},
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25},
|
||||
{"matrix": [4, 1], "x": 1.25, "y": 4.25},
|
||||
{"matrix": [4, 2], "x": 2.25, "y": 4.25},
|
||||
{"matrix": [4, 3], "x": 3.25, "y": 4.25},
|
||||
{"matrix": [4, 4], "x": 4.25, "y": 4.25},
|
||||
{"matrix": [4, 5], "x": 5.25, "y": 4.25},
|
||||
{"matrix": [4, 6], "x": 6.25, "y": 4.25},
|
||||
{"matrix": [4, 7], "x": 7.25, "y": 4.25},
|
||||
{"matrix": [4, 8], "x": 8.25, "y": 4.25},
|
||||
{"matrix": [4, 9], "x": 9.25, "y": 4.25},
|
||||
{"matrix": [4, 10], "x": 10.25, "y": 4.25},
|
||||
{"matrix": [4, 11], "x": 11.25, "y": 4.25},
|
||||
{"matrix": [4, 12], "x": 12.25, "y": 4.25},
|
||||
{"matrix": [4, 13], "x": 13.25, "y": 4.25},
|
||||
{"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25},
|
||||
{"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25},
|
||||
{"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25},
|
||||
{"matrix": [5, 6], "x": 3.75, "y": 5.25, "w": 6.25},
|
||||
{"matrix": [5, 9], "x": 10, "y": 5.25, "w": 1.25},
|
||||
{"matrix": [5, 10], "x": 11.25, "y": 5.25},
|
||||
{"matrix": [5, 11], "x": 12.25, "y": 5.25},
|
||||
{"matrix": [5, 12], "x": 13.25, "y": 5.25},
|
||||
{"matrix": [5, 13], "x": 14.25, "y": 5.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/* Copyright 2021 Fernando "ManoShu" Rodrigues
|
||||
*
|
||||
* 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 "rev1.h"
|
||||
@@ -1,19 +0,0 @@
|
||||
/* Copyright 2021 Fernando "ManoShu" Rodrigues
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
@@ -16,19 +16,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { B6, B2, B3, B1, F7 }
|
||||
#define MATRIX_COL_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
|
||||
|
||||
/* joystick configuration */
|
||||
#define JOYSTICK_BUTTON_COUNT 25
|
||||
#define JOYSTICK_AXIS_COUNT 2
|
||||
#define JOYSTICK_AXIS_RESOLUTION 10
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["B6", "B2", "B3", "B1", "F7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
|
||||
@@ -24,15 +24,15 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0, "matrix": [0, 0]},
|
||||
{"x":1, "y":0, "matrix": [0, 1]},
|
||||
{"x":2, "y":0, "matrix": [0, 2]},
|
||||
{"x":0, "y":1, "matrix": [1, 0]},
|
||||
{"x":1, "y":1, "matrix": [1, 1]},
|
||||
{"x":2, "y":1, "matrix": [1, 2]},
|
||||
{"x":0, "y":2, "matrix": [2, 0]},
|
||||
{"x":1, "y":2, "matrix": [2, 1]},
|
||||
{"x":2, "y":2, "matrix": [2, 2]}
|
||||
{"x": 0, "y": 0, "matrix": [0, 0]},
|
||||
{"x": 1, "y": 0, "matrix": [0, 1]},
|
||||
{"x": 2, "y": 0, "matrix": [0, 2]},
|
||||
{"x": 0, "y": 1, "matrix": [1, 0]},
|
||||
{"x": 1, "y": 1, "matrix": [1, 1]},
|
||||
{"x": 2, "y": 1, "matrix": [1, 2]},
|
||||
{"x": 0, "y": 2, "matrix": [2, 0]},
|
||||
{"x": 1, "y": 2, "matrix": [2, 1]},
|
||||
{"x": 2, "y": 2, "matrix": [2, 2]}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,13 +16,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGB_DI_PIN D3
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 4
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
||||
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
@@ -34,7 +31,6 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#endif
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0xDAD3",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D3"
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D1", "pin_b": "D0"}
|
||||
@@ -24,12 +27,12 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0, "matrix": [0, 0]},
|
||||
{"x":1, "y":0, "matrix": [0, 1]},
|
||||
{"x":2, "y":0, "matrix": [0, 2]},
|
||||
{"x":0, "y":1, "matrix": [1, 0]},
|
||||
{"x":1, "y":1, "matrix": [1, 1]},
|
||||
{"x":2, "y":1, "matrix": [1, 2]}
|
||||
{"x": 0, "y": 0, "matrix": [0, 0]},
|
||||
{"x": 1, "y": 0, "matrix": [0, 1]},
|
||||
{"x": 2, "y": 0, "matrix": [0, 2]},
|
||||
{"x": 0, "y": 1, "matrix": [1, 0]},
|
||||
{"x": 1, "y": 1, "matrix": [1, 1]},
|
||||
{"x": 2, "y": 1, "matrix": [1, 2]}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/* Copyright 2020 Taylore101
|
||||
*
|
||||
* 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 "bigmac.h"
|
||||
@@ -1,33 +0,0 @@
|
||||
/* Copyright 2020 Taylore101
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K3G, \
|
||||
K40, K41, K43, K45, K46, K47, K48, K49, K4B, K4D, K4E, K4F, K4G \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K3G }, \
|
||||
{ K40, K41, KC_NO, K43, KC_NO, K45, K46, K47, K48, K49, KC_NO, K4B, KC_NO, K4D, K4E, K4F, K4G }, \
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
/* Copyright 2020 Taylore101
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { F0, F1, C7, D5, B7 }
|
||||
#define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4, D3, D2, D1, D0, D4, C6, D7, E6, B4 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
@@ -8,92 +8,112 @@
|
||||
"pid": "0x1010",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4", "D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4"],
|
||||
"rows": ["F0", "F1", "C7", "D5", "B7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"K00 (F0,B6)", "x":0, "y":0, "w":1.5},
|
||||
{"label":"K01 (F0,B2)", "x":1.5, "y":0},
|
||||
{"label":"K02 (F0,B3)", "x":2.5, "y":0},
|
||||
{"label":"K03 (F0,B1)", "x":3.5, "y":0},
|
||||
{"label":"K04 (F0,F7)", "x":4.5, "y":0},
|
||||
{"label":"K05 (F0,F6)", "x":5.5, "y":0},
|
||||
{"label":"K06 (F0,F5)", "x":7, "y":0},
|
||||
{"label":"K07 (F0,F4)", "x":8, "y":0},
|
||||
{"label":"K08 (F0,D3)", "x":9, "y":0},
|
||||
{"label":"K09 (F0,D2)", "x":10.5, "y":0},
|
||||
{"label":"K0A (F0,D1)", "x":11.5, "y":0},
|
||||
{"label":"K0B (F0,D0)", "x":12.5, "y":0},
|
||||
{"label":"K0C (F0,D4)", "x":13.5, "y":0},
|
||||
{"label":"K0D (F0,C6)", "x":14.5, "y":0},
|
||||
{"label":"K0E (F0,D7)", "x":15.5, "y":0},
|
||||
{"label":"K0F (F0,E6)", "x":16.5, "y":0},
|
||||
{"label":"K0G (F0,B4)", "x":17.5, "y":0, "w":1.5},
|
||||
{"label":"K10 (F1,B6)", "x":0, "y":1, "w":1.5},
|
||||
{"label":"K11 (F1,B2)", "x":1.5, "y":1},
|
||||
{"label":"K12 (F1,B3)", "x":2.5, "y":1},
|
||||
{"label":"K13 (F1,B1)", "x":3.5, "y":1},
|
||||
{"label":"K14 (F1,F7)", "x":4.5, "y":1},
|
||||
{"label":"K15 (F1,F6)", "x":5.5, "y":1},
|
||||
{"label":"K16 (F1,F5)", "x":7, "y":1},
|
||||
{"label":"K17 (F1,F4)", "x":8, "y":1},
|
||||
{"label":"K18 (F1,D3)", "x":9, "y":1},
|
||||
{"label":"K19 (F1,D2)", "x":10.5, "y":1},
|
||||
{"label":"K1A (F1,D1)", "x":11.5, "y":1},
|
||||
{"label":"K1B (F1,D0)", "x":12.5, "y":1},
|
||||
{"label":"K1C (F1,D4)", "x":13.5, "y":1},
|
||||
{"label":"K1D (F1,C6)", "x":14.5, "y":1},
|
||||
{"label":"K1E (F1,D7)", "x":15.5, "y":1},
|
||||
{"label":"K1F (F1,E6)", "x":16.5, "y":1},
|
||||
{"label":"K1G (F1,B4)", "x":17.5, "y":1, "w":1.5},
|
||||
{"label":"K20 (C7,B6)", "x":0, "y":2, "w":1.5},
|
||||
{"label":"K21 (C7,B2)", "x":1.5, "y":2},
|
||||
{"label":"K22 (C7,B3)", "x":2.5, "y":2},
|
||||
{"label":"K23 (C7,B1)", "x":3.5, "y":2},
|
||||
{"label":"K24 (C7,F7)", "x":4.5, "y":2},
|
||||
{"label":"K25 (C7,F6)", "x":5.5, "y":2},
|
||||
{"label":"K26 (C7,F5)", "x":7, "y":2},
|
||||
{"label":"K27 (C7,F4)", "x":8, "y":2},
|
||||
{"label":"K28 (C7,D3)", "x":9, "y":2},
|
||||
{"label":"K29 (C7,D2)", "x":10.5, "y":2},
|
||||
{"label":"K2A (C7,D1)", "x":11.5, "y":2},
|
||||
{"label":"K2B (C7,D0)", "x":12.5, "y":2},
|
||||
{"label":"K2C (C7,D4)", "x":13.5, "y":2},
|
||||
{"label":"K2D (C7,C6)", "x":14.5, "y":2},
|
||||
{"label":"K2E (C7,D7)", "x":15.5, "y":2},
|
||||
{"label":"K2F (C7,E6)", "x":16.5, "y":2, "w":1.5},
|
||||
{"label":"K2G (C7,B4)", "x":18, "y":2},
|
||||
{"label":"K30 (D5,B6)", "x":0, "y":3, "w":1.5},
|
||||
{"label":"K31 (D5,B2)", "x":1.5, "y":3},
|
||||
{"label":"K32 (D5,B3)", "x":2.5, "y":3},
|
||||
{"label":"K33 (D5,B1)", "x":3.5, "y":3},
|
||||
{"label":"K34 (D5,F7)", "x":4.5, "y":3},
|
||||
{"label":"K35 (D5,F6)", "x":5.5, "y":3},
|
||||
{"label":"K36 (D5,F5)", "x":7, "y":3},
|
||||
{"label":"K37 (D5,F4)", "x":8, "y":3},
|
||||
{"label":"K38 (D5,D3)", "x":9, "y":3},
|
||||
{"label":"K39 (D5,D2)", "x":10.5, "y":3},
|
||||
{"label":"K3A (D5,D1)", "x":11.5, "y":3},
|
||||
{"label":"K3B (D5,D0)", "x":12.5, "y":3},
|
||||
{"label":"K3C (D5,D4)", "x":13.5, "y":3},
|
||||
{"label":"K3D (D5,C6)", "x":14.5, "y":3},
|
||||
{"label":"K3E (D5,D7)", "x":15.5, "y":3, "w":1.5},
|
||||
{"label":"K3F (D5,E6)", "x":17, "y":3},
|
||||
{"label":"K3G (D5,B4)", "x":18, "y":3},
|
||||
{"label":"K40 (B7,B6)", "x":0, "y":4, "w":1.5},
|
||||
{"label":"K41 (B7,B2)", "x":1.5, "y":4, "w":1.5},
|
||||
{"label":"K43 (B7,B1)", "x":3, "y":4, "w":1.5},
|
||||
{"label":"K45 (B7,F6)", "x":4.5, "y":4, "w":2},
|
||||
{"label":"K46 (B7,F5)", "x":7, "y":4},
|
||||
{"label":"K47 (B7,F4)", "x":8, "y":4},
|
||||
{"label":"K48 (B7,D3)", "x":9, "y":4},
|
||||
{"label":"K49 (B7,D2)", "x":10.5, "y":4, "w":2},
|
||||
{"label":"K4B (B7,D0)", "x":12.5, "y":4, "w":1.5},
|
||||
{"label":"K4D (B7,C6)", "x":14, "y":4, "w":1.5},
|
||||
{"label":"K4E (B7,D7)", "x":16, "y":4},
|
||||
{"label":"K4F (B7,E6)", "x":17, "y":4},
|
||||
{"label":"K4G (B7,B4)", "x":18, "y":4}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "w": 1.5},
|
||||
{"matrix": [0, 1], "x": 1.5, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2.5, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3.5, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4.5, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5.5, "y": 0},
|
||||
|
||||
{"matrix": [0, 6], "x": 7, "y": 0},
|
||||
{"matrix": [0, 7], "x": 8, "y": 0},
|
||||
{"matrix": [0, 8], "x": 9, "y": 0},
|
||||
|
||||
{"matrix": [0, 9], "x": 10.5, "y": 0},
|
||||
{"matrix": [0, 10], "x": 11.5, "y": 0},
|
||||
{"matrix": [0, 11], "x": 12.5, "y": 0},
|
||||
{"matrix": [0, 12], "x": 13.5, "y": 0},
|
||||
{"matrix": [0, 13], "x": 14.5, "y": 0},
|
||||
{"matrix": [0, 14], "x": 15.5, "y": 0},
|
||||
{"matrix": [0, 15], "x": 16.5, "y": 0},
|
||||
{"matrix": [0, 16], "x": 17.5, "y": 0, "w": 1.5},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||
|
||||
{"matrix": [1, 6], "x": 7, "y": 1},
|
||||
{"matrix": [1, 7], "x": 8, "y": 1},
|
||||
{"matrix": [1, 8], "x": 9, "y": 1},
|
||||
|
||||
{"matrix": [1, 9], "x": 10.5, "y": 1},
|
||||
{"matrix": [1, 10], "x": 11.5, "y": 1},
|
||||
{"matrix": [1, 11], "x": 12.5, "y": 1},
|
||||
{"matrix": [1, 12], "x": 13.5, "y": 1},
|
||||
{"matrix": [1, 13], "x": 14.5, "y": 1},
|
||||
{"matrix": [1, 14], "x": 15.5, "y": 1},
|
||||
{"matrix": [1, 15], "x": 16.5, "y": 1},
|
||||
{"matrix": [1, 16], "x": 17.5, "y": 1, "w": 1.5},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.5},
|
||||
{"matrix": [2, 1], "x": 1.5, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2.5, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3.5, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4.5, "y": 2},
|
||||
{"matrix": [2, 5], "x": 5.5, "y": 2},
|
||||
|
||||
{"matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"matrix": [2, 7], "x": 8, "y": 2},
|
||||
{"matrix": [2, 8], "x": 9, "y": 2},
|
||||
|
||||
{"matrix": [2, 9], "x": 10.5, "y": 2},
|
||||
{"matrix": [2, 10], "x": 11.5, "y": 2},
|
||||
{"matrix": [2, 11], "x": 12.5, "y": 2},
|
||||
{"matrix": [2, 12], "x": 13.5, "y": 2},
|
||||
{"matrix": [2, 13], "x": 14.5, "y": 2},
|
||||
{"matrix": [2, 14], "x": 15.5, "y": 2},
|
||||
{"matrix": [2, 15], "x": 16.5, "y": 2, "w": 1.5},
|
||||
{"matrix": [2, 16], "x": 18, "y": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.5},
|
||||
{"matrix": [3, 1], "x": 1.5, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2.5, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 3},
|
||||
{"matrix": [3, 4], "x": 4.5, "y": 3},
|
||||
{"matrix": [3, 5], "x": 5.5, "y": 3},
|
||||
|
||||
{"matrix": [3, 6], "x": 7, "y": 3},
|
||||
{"matrix": [3, 7], "x": 8, "y": 3},
|
||||
{"matrix": [3, 8], "x": 9, "y": 3},
|
||||
|
||||
{"matrix": [3, 9], "x": 10.5, "y": 3},
|
||||
{"matrix": [3, 10], "x": 11.5, "y": 3},
|
||||
{"matrix": [3, 11], "x": 12.5, "y": 3},
|
||||
{"matrix": [3, 12], "x": 13.5, "y": 3},
|
||||
{"matrix": [3, 13], "x": 14.5, "y": 3},
|
||||
{"matrix": [3, 14], "x": 15.5, "y": 3, "w": 1.5},
|
||||
{"matrix": [3, 15], "x": 17, "y": 3},
|
||||
{"matrix": [3, 16], "x": 18, "y": 3},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 1], "x": 1.5, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 3], "x": 3, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 5], "x": 4.5, "y": 4, "w": 2},
|
||||
|
||||
{"matrix": [4, 6], "x": 7, "y": 4},
|
||||
{"matrix": [4, 7], "x": 8, "y": 4},
|
||||
{"matrix": [4, 8], "x": 9, "y": 4},
|
||||
|
||||
{"matrix": [4, 9], "x": 10.5, "y": 4, "w": 2},
|
||||
{"matrix": [4, 11], "x": 12.5, "y": 4, "w": 1.5},
|
||||
{"matrix": [4, 13], "x": 14, "y": 4, "w": 1.5},
|
||||
|
||||
{"matrix": [4, 14], "x": 16, "y": 4},
|
||||
{"matrix": [4, 15], "x": 17, "y": 4},
|
||||
{"matrix": [4, 16], "x": 18, "y": 4}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/* Copyright 2021 Mikołaj Biel
|
||||
*
|
||||
* 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 "bolek.h"
|
||||
@@ -1,43 +0,0 @@
|
||||
/* Copyright 2021 Mikołaj Biel
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* This is a shortcut to help you visually see your layout.
|
||||
*
|
||||
* The first section contains all of the arguments representing the physical
|
||||
* layout of the board and position of the keys.
|
||||
*
|
||||
* The second converts the arguments into a two-dimensional array which
|
||||
* represents the switch matrix.
|
||||
*/
|
||||
#define LAYOUT( \
|
||||
K000, K001, K002, K003, K004, K405, K406, K407, K408, K409, \
|
||||
K100, K101, K102, K103, K104, K505, K506, K507, K508, K509, \
|
||||
K200, K201, K202, K203, K204, K605, K606, K607, K608, K609, \
|
||||
K302, K303, K304, K705, K706, K707 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ K100, K101, K102, K103, K104, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ K200, K201, K202, K203, K204, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ KC_NO, KC_NO, K302, K303, K304, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K405, K406, K407, K408, K409 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K505, K506, K507, K508, K509 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K605, K606, K607, K608, K609 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K705, K706, K707, KC_NO, KC_NO } \
|
||||
}
|
||||
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { F4, F5, F6, B5, D3, D2, D1, B4 }
|
||||
#define MATRIX_COL_PINS { B6, B2, B3, B1, F7, E6, D7, C6, D0, D4 }
|
||||
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
@@ -56,4 +39,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
#define PERMISSIVE_HOLD
|
||||
#define IGNORE_MOD_TAP_INTERRUPT
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "bolek",
|
||||
"manufacturer": "Mikołaj Biel",
|
||||
"manufacturer": "Miko\u0142aj Biel",
|
||||
"url": "https://github.com/klausweiss/bolek",
|
||||
"maintainer": "klausweiss",
|
||||
"usb": {
|
||||
@@ -8,47 +8,59 @@
|
||||
"pid": "0x3708",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B6", "B2", "B3", "B1", "F7", "E6", "D7", "C6", "D0", "D4"],
|
||||
"rows": ["F4", "F5", "F6", "B5", "D3", "D2", "D1", "B4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "Q", "x": 0, "y": 0.25 },
|
||||
{ "label": "W", "x": 1, "y": 0 },
|
||||
{ "label": "E", "x": 2, "y": 0 },
|
||||
{ "label": "R", "x": 3, "y": 0.25 },
|
||||
{ "label": "T", "x": 4, "y": 0.5 },
|
||||
{ "label": "Y", "x": 7.75, "y": 0.5 },
|
||||
{ "label": "U", "x": 8.75, "y": 0.25 },
|
||||
{ "label": "I", "x": 9.75, "y": 0 },
|
||||
{ "label": "O", "x": 10.75, "y": 0 },
|
||||
{ "label": "P", "x": 11.75, "y": 0.25 },
|
||||
{ "label": "A", "x": 0, "y": 1.25 },
|
||||
{ "label": "S", "x": 1, "y": 1 },
|
||||
{ "label": "D", "x": 2, "y": 1 },
|
||||
{ "label": "F", "x": 3, "y": 1.25 },
|
||||
{ "label": "G", "x": 4, "y": 1.5 },
|
||||
{ "label": "H", "x": 7.75, "y": 1.5 },
|
||||
{ "label": "J", "x": 8.75, "y": 1.25 },
|
||||
{ "label": "K", "x": 9.75, "y": 1 },
|
||||
{ "label": "L", "x": 10.75, "y": 1 },
|
||||
{ "label": ";", "x": 11.75, "y": 1.25 },
|
||||
{ "label": "Z", "x": 0, "y": 2.25 },
|
||||
{ "label": "X", "x": 1, "y": 2 },
|
||||
{ "label": "C", "x": 2, "y": 2 },
|
||||
{ "label": "V", "x": 3, "y": 2.25 },
|
||||
{ "label": "B", "x": 4, "y": 2.5 },
|
||||
{ "label": "N", "x": 7.75, "y": 2.5 },
|
||||
{ "label": "M", "x": 8.75, "y": 2.25 },
|
||||
{ "label": ",", "x": 9.75, "y": 2 },
|
||||
{ "label": ".", "x": 10.75, "y": 2 },
|
||||
{ "label": "'", "x": 11.75, "y": 2.25 },
|
||||
{ "label": "ESC", "x": 3.25, "y": 3.75 },
|
||||
{ "label": "SPC", "x": 4.25, "y": 4 },
|
||||
{ "label": "TAB", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "RET", "x": 6.5, "y": 4.25 },
|
||||
{ "label": "BSPC", "x": 7.5, "y": 4 },
|
||||
{ "label": "RESET", "x": 8.5, "y": 3.75 }
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.25},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0.25},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.5},
|
||||
|
||||
{"matrix": [4, 5], "x": 7.75, "y": 0.5},
|
||||
{"matrix": [4, 6], "x": 8.75, "y": 0.25},
|
||||
{"matrix": [4, 7], "x": 9.75, "y": 0},
|
||||
{"matrix": [4, 8], "x": 10.75, "y": 0},
|
||||
{"matrix": [4, 9], "x": 11.75, "y": 0.25},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.25},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.5},
|
||||
|
||||
{"matrix": [5, 5], "x": 7.75, "y": 1.5},
|
||||
{"matrix": [5, 6], "x": 8.75, "y": 1.25},
|
||||
{"matrix": [5, 7], "x": 9.75, "y": 1},
|
||||
{"matrix": [5, 8], "x": 10.75, "y": 1},
|
||||
{"matrix": [5, 9], "x": 11.75, "y": 1.25},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2.25},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.5},
|
||||
|
||||
{"matrix": [6, 5], "x": 7.75, "y": 2.5},
|
||||
{"matrix": [6, 6], "x": 8.75, "y": 2.25},
|
||||
{"matrix": [6, 7], "x": 9.75, "y": 2},
|
||||
{"matrix": [6, 8], "x": 10.75, "y": 2},
|
||||
{"matrix": [6, 9], "x": 11.75, "y": 2.25},
|
||||
|
||||
{"matrix": [3, 2], "x": 3.25, "y": 3.75},
|
||||
{"matrix": [3, 3], "x": 4.25, "y": 4},
|
||||
{"matrix": [3, 4], "x": 5.25, "y": 4.25},
|
||||
|
||||
{"matrix": [7, 5], "x": 6.5, "y": 4.25},
|
||||
{"matrix": [7, 6], "x": 7.5, "y": 4},
|
||||
{"matrix": [7, 7], "x": 8.5, "y": 3.75}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
/*
|
||||
Copyright 2020 boss566y
|
||||
|
||||
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/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7, D0, F0, F1, F4, F5, F6, F7 }
|
||||
#define MATRIX_COL_PINS { D1, D2, D3, C6, D5, C7, D4, D7, B4, B5, B6 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
@@ -8,116 +8,139 @@
|
||||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D1", "D2", "D3", "C6", "D5", "C7", "D4", "D7", "B4", "B5", "B6"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "B7", "D0", "F0", "F1", "F4", "F5", "F6", "F7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "halfkay",
|
||||
"community_layouts": ["fullsize_ansi"],
|
||||
"layouts": {
|
||||
"LAYOUT_fullsize_ansi": {
|
||||
"layout": [
|
||||
{"label":"K00 (B0,D1)", "x":0, "y":0},
|
||||
{"label":"K02 (B0,D3)", "x":2, "y":0},
|
||||
{"label":"K03 (B0,C6)", "x":3, "y":0},
|
||||
{"label":"K04 (B0,D5)", "x":4, "y":0},
|
||||
{"label":"K05 (B0,C7)", "x":5, "y":0},
|
||||
{"label":"K07 (B0,D7)", "x":6.5, "y":0},
|
||||
{"label":"K08 (B0,B4)", "x":7.5, "y":0},
|
||||
{"label":"K09 (B0,B5)", "x":8.5, "y":0},
|
||||
{"label":"K0A (B0,B6)", "x":9.5, "y":0},
|
||||
{"label":"K6A (F0,B6)", "x":11, "y":0},
|
||||
{"label":"K69 (F0,B5)", "x":12, "y":0},
|
||||
{"label":"K68 (F0,B4)", "x":13, "y":0},
|
||||
{"label":"K67 (F0,D7)", "x":14, "y":0},
|
||||
{"label":"K66 (F0,D4)", "x":15.25, "y":0},
|
||||
{"label":"K65 (F0,C7)", "x":16.25, "y":0},
|
||||
{"label":"K64 (F0,D5)", "x":17.25, "y":0},
|
||||
{"label":"K10 (B1,D1)", "x":0, "y":1.5},
|
||||
{"label":"K11 (B1,D2)", "x":1, "y":1.5},
|
||||
{"label":"K12 (B1,D3)", "x":2, "y":1.5},
|
||||
{"label":"K13 (B1,C6)", "x":3, "y":1.5},
|
||||
{"label":"K14 (B1,D5)", "x":4, "y":1.5},
|
||||
{"label":"K15 (B1,C7)", "x":5, "y":1.5},
|
||||
{"label":"K16 (B1,D4)", "x":6, "y":1.5},
|
||||
{"label":"K17 (B1,D7)", "x":7, "y":1.5},
|
||||
{"label":"K18 (B1,B4)", "x":8, "y":1.5},
|
||||
{"label":"K19 (B1,B5)", "x":9, "y":1.5},
|
||||
{"label":"K1A (B1,B6)", "x":10, "y":1.5},
|
||||
{"label":"K7A (F1,B6)", "x":11, "y":1.5},
|
||||
{"label":"K79 (F1,B5)", "x":12, "y":1.5},
|
||||
{"label":"K78 (F1,B4)", "x":13, "y":1.5, "w":2},
|
||||
{"label":"K76 (F1,D4)", "x":15.25, "y":1.5},
|
||||
{"label":"K75 (F1,C7)", "x":16.25, "y":1.5},
|
||||
{"label":"K74 (F1,D5)", "x":17.25, "y":1.5},
|
||||
{"label":"K73 (F1,C6)", "x":18.5, "y":1.5},
|
||||
{"label":"K72 (F1,D3)", "x":19.5, "y":1.5},
|
||||
{"label":"K71 (F1,D2)", "x":20.5, "y":1.5},
|
||||
{"label":"K70 (F1,D1)", "x":21.5, "y":1.5},
|
||||
{"label":"K20 (B2,D1)", "x":0, "y":2.5, "w":1.5},
|
||||
{"label":"K21 (B2,D2)", "x":1.5, "y":2.5},
|
||||
{"label":"K22 (B2,D3)", "x":2.5, "y":2.5},
|
||||
{"label":"K23 (B2,C6)", "x":3.5, "y":2.5},
|
||||
{"label":"K24 (B2,D5)", "x":4.5, "y":2.5},
|
||||
{"label":"K25 (B2,C7)", "x":5.5, "y":2.5},
|
||||
{"label":"K26 (B2,D4)", "x":6.5, "y":2.5},
|
||||
{"label":"K27 (B2,D7)", "x":7.5, "y":2.5},
|
||||
{"label":"K28 (B2,B4)", "x":8.5, "y":2.5},
|
||||
{"label":"K29 (B2,B5)", "x":9.5, "y":2.5},
|
||||
{"label":"K2A (B2,B6)", "x":10.5, "y":2.5},
|
||||
{"label":"K8A (F4,B6)", "x":11.5, "y":2.5},
|
||||
{"label":"K89 (F4,B5)", "x":12.5, "y":2.5},
|
||||
{"label":"K87 (F4,D7)", "x":13.5, "y":2.5, "w":1.5},
|
||||
{"label":"K86 (F4,D4)", "x":15.25, "y":2.5},
|
||||
{"label":"K85 (F4,C7)", "x":16.25, "y":2.5},
|
||||
{"label":"K84 (F4,D5)", "x":17.25, "y":2.5},
|
||||
{"label":"K83 (F4,C6)", "x":18.5, "y":2.5},
|
||||
{"label":"K82 (F4,D3)", "x":19.5, "y":2.5},
|
||||
{"label":"K81 (F4,D2)", "x":20.5, "y":2.5},
|
||||
{"label":"K90 (F5,D1)", "x":21.5, "y":2.5, "h":2},
|
||||
{"label":"K30 (B3,D1)", "x":0, "y":3.5, "w":1.75},
|
||||
{"label":"K31 (B3,D2)", "x":1.75, "y":3.5},
|
||||
{"label":"K32 (B3,D3)", "x":2.75, "y":3.5},
|
||||
{"label":"K33 (B3,C6)", "x":3.75, "y":3.5},
|
||||
{"label":"K34 (B3,D5)", "x":4.75, "y":3.5},
|
||||
{"label":"K35 (B3,C7)", "x":5.75, "y":3.5},
|
||||
{"label":"K36 (B3,D4)", "x":6.75, "y":3.5},
|
||||
{"label":"K37 (B3,D7)", "x":7.75, "y":3.5},
|
||||
{"label":"K38 (B3,B4)", "x":8.75, "y":3.5},
|
||||
{"label":"K39 (B3,B5)", "x":9.75, "y":3.5},
|
||||
{"label":"K3A (B3,B6)", "x":10.75, "y":3.5},
|
||||
{"label":"K9A (F5,B6)", "x":11.75, "y":3.5},
|
||||
{"label":"K98 (F5,B4)", "x":12.75, "y":3.5, "w":2.25},
|
||||
{"label":"K93 (F5,C6)", "x":18.5, "y":3.5},
|
||||
{"label":"K92 (F5,D3)", "x":19.5, "y":3.5},
|
||||
{"label":"K91 (F5,D2)", "x":20.5, "y":3.5},
|
||||
{"label":"K40 (B7,D1)", "x":0, "y":4.5, "w":2.25},
|
||||
{"label":"K42 (B7,D3)", "x":2.25, "y":4.5},
|
||||
{"label":"K43 (B7,C6)", "x":3.25, "y":4.5},
|
||||
{"label":"K44 (B7,D5)", "x":4.25, "y":4.5},
|
||||
{"label":"K45 (B7,C7)", "x":5.25, "y":4.5},
|
||||
{"label":"K46 (B7,D4)", "x":6.25, "y":4.5},
|
||||
{"label":"K47 (B7,D7)", "x":7.25, "y":4.5},
|
||||
{"label":"K48 (B7,B4)", "x":8.25, "y":4.5},
|
||||
{"label":"K49 (B7,B5)", "x":9.25, "y":4.5},
|
||||
{"label":"K4A (B7,B6)", "x":10.25, "y":4.5},
|
||||
{"label":"KAA (F6,B6)", "x":11.25, "y":4.5},
|
||||
{"label":"KA8 (F6,B4)", "x":12.25, "y":4.5, "w":2.75},
|
||||
{"label":"KA5 (F6,C7)", "x":16.25, "y":4.5},
|
||||
{"label":"KA3 (F6,C6)", "x":18.5, "y":4.5},
|
||||
{"label":"KA2 (F6,D3)", "x":19.5, "y":4.5},
|
||||
{"label":"KA1 (F6,D2)", "x":20.5, "y":4.5},
|
||||
{"label":"KB0 (F7,D1)", "x":21.5, "y":4.5, "h":2},
|
||||
{"label":"K50 (D0,D1)", "x":0, "y":5.5, "w":1.25},
|
||||
{"label":"K51 (D0,D2)", "x":1.25, "y":5.5, "w":1.25},
|
||||
{"label":"K53 (D0,C6)", "x":2.5, "y":5.5, "w":1.25},
|
||||
{"label":"K56 (D0,D4)", "x":3.75, "y":5.5, "w":6.25},
|
||||
{"label":"K5A (D0,B6)", "x":10, "y":5.5, "w":1.25},
|
||||
{"label":"KBA (F7,B6)", "x":11.25, "y":5.5, "w":1.25},
|
||||
{"label":"KB9 (F7,B5)", "x":12.5, "y":5.5, "w":1.25},
|
||||
{"label":"KB7 (F7,D7)", "x":13.75, "y":5.5, "w":1.25},
|
||||
{"label":"KB6 (F7,D4)", "x":15.25, "y":5.5},
|
||||
{"label":"KB5 (F7,C7)", "x":16.25, "y":5.5},
|
||||
{"label":"KB4 (F7,D5)", "x":17.25, "y":5.5},
|
||||
{"label":"KB3 (F7,C6)", "x":18.5, "y":5.5, "w":2},
|
||||
{"label":"KB1 (F7,D2)", "x":20.5, "y":5.5}
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
|
||||
{"matrix": [0, 7], "x": 6.5, "y": 0},
|
||||
{"matrix": [0, 8], "x": 7.5, "y": 0},
|
||||
{"matrix": [0, 9], "x": 8.5, "y": 0},
|
||||
{"matrix": [0, 10], "x": 9.5, "y": 0},
|
||||
|
||||
{"matrix": [6, 10], "x": 11, "y": 0},
|
||||
{"matrix": [6, 9], "x": 12, "y": 0},
|
||||
{"matrix": [6, 8], "x": 13, "y": 0},
|
||||
{"matrix": [6, 7], "x": 14, "y": 0},
|
||||
|
||||
{"matrix": [6, 6], "x": 15.25, "y": 0},
|
||||
{"matrix": [6, 5], "x": 16.25, "y": 0},
|
||||
{"matrix": [6, 4], "x": 17.25, "y": 0},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.5},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.5},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.5},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.5},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.5},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.5},
|
||||
{"matrix": [1, 6], "x": 6, "y": 1.5},
|
||||
{"matrix": [1, 7], "x": 7, "y": 1.5},
|
||||
{"matrix": [1, 8], "x": 8, "y": 1.5},
|
||||
{"matrix": [1, 9], "x": 9, "y": 1.5},
|
||||
{"matrix": [1, 10], "x": 10, "y": 1.5},
|
||||
{"matrix": [7, 10], "x": 11, "y": 1.5},
|
||||
{"matrix": [7, 9], "x": 12, "y": 1.5},
|
||||
{"matrix": [7, 8], "x": 13, "y": 1.5, "w": 2},
|
||||
|
||||
{"matrix": [7, 6], "x": 15.25, "y": 1.5},
|
||||
{"matrix": [7, 5], "x": 16.25, "y": 1.5},
|
||||
{"matrix": [7, 4], "x": 17.25, "y": 1.5},
|
||||
|
||||
{"matrix": [7, 3], "x": 18.5, "y": 1.5},
|
||||
{"matrix": [7, 2], "x": 19.5, "y": 1.5},
|
||||
{"matrix": [7, 1], "x": 20.5, "y": 1.5},
|
||||
{"matrix": [7, 0], "x": 21.5, "y": 1.5},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.5, "w": 1.5},
|
||||
{"matrix": [2, 1], "x": 1.5, "y": 2.5},
|
||||
{"matrix": [2, 2], "x": 2.5, "y": 2.5},
|
||||
{"matrix": [2, 3], "x": 3.5, "y": 2.5},
|
||||
{"matrix": [2, 4], "x": 4.5, "y": 2.5},
|
||||
{"matrix": [2, 5], "x": 5.5, "y": 2.5},
|
||||
{"matrix": [2, 6], "x": 6.5, "y": 2.5},
|
||||
{"matrix": [2, 7], "x": 7.5, "y": 2.5},
|
||||
{"matrix": [2, 8], "x": 8.5, "y": 2.5},
|
||||
{"matrix": [2, 9], "x": 9.5, "y": 2.5},
|
||||
{"matrix": [2, 10], "x": 10.5, "y": 2.5},
|
||||
{"matrix": [8, 10], "x": 11.5, "y": 2.5},
|
||||
{"matrix": [8, 9], "x": 12.5, "y": 2.5},
|
||||
{"matrix": [8, 7], "x": 13.5, "y": 2.5, "w": 1.5},
|
||||
|
||||
{"matrix": [8, 6], "x": 15.25, "y": 2.5},
|
||||
{"matrix": [8, 5], "x": 16.25, "y": 2.5},
|
||||
{"matrix": [8, 4], "x": 17.25, "y": 2.5},
|
||||
|
||||
{"matrix": [8, 3], "x": 18.5, "y": 2.5},
|
||||
{"matrix": [8, 2], "x": 19.5, "y": 2.5},
|
||||
{"matrix": [8, 1], "x": 20.5, "y": 2.5},
|
||||
{"matrix": [9, 0], "x": 21.5, "y": 2.5, "h": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.5, "w": 1.75},
|
||||
{"matrix": [3, 1], "x": 1.75, "y": 3.5},
|
||||
{"matrix": [3, 2], "x": 2.75, "y": 3.5},
|
||||
{"matrix": [3, 3], "x": 3.75, "y": 3.5},
|
||||
{"matrix": [3, 4], "x": 4.75, "y": 3.5},
|
||||
{"matrix": [3, 5], "x": 5.75, "y": 3.5},
|
||||
{"matrix": [3, 6], "x": 6.75, "y": 3.5},
|
||||
{"matrix": [3, 7], "x": 7.75, "y": 3.5},
|
||||
{"matrix": [3, 8], "x": 8.75, "y": 3.5},
|
||||
{"matrix": [3, 9], "x": 9.75, "y": 3.5},
|
||||
{"matrix": [3, 10], "x": 10.75, "y": 3.5},
|
||||
{"matrix": [9, 10], "x": 11.75, "y": 3.5},
|
||||
{"matrix": [9, 8], "x": 12.75, "y": 3.5, "w": 2.25},
|
||||
|
||||
{"matrix": [9, 3], "x": 18.5, "y": 3.5},
|
||||
{"matrix": [9, 2], "x": 19.5, "y": 3.5},
|
||||
{"matrix": [9, 1], "x": 20.5, "y": 3.5},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.5, "w": 2.25},
|
||||
{"matrix": [4, 2], "x": 2.25, "y": 4.5},
|
||||
{"matrix": [4, 3], "x": 3.25, "y": 4.5},
|
||||
{"matrix": [4, 4], "x": 4.25, "y": 4.5},
|
||||
{"matrix": [4, 5], "x": 5.25, "y": 4.5},
|
||||
{"matrix": [4, 6], "x": 6.25, "y": 4.5},
|
||||
{"matrix": [4, 7], "x": 7.25, "y": 4.5},
|
||||
{"matrix": [4, 8], "x": 8.25, "y": 4.5},
|
||||
{"matrix": [4, 9], "x": 9.25, "y": 4.5},
|
||||
{"matrix": [4, 10], "x": 10.25, "y": 4.5},
|
||||
{"matrix": [10, 10], "x": 11.25, "y": 4.5},
|
||||
{"matrix": [10, 8], "x": 12.25, "y": 4.5, "w": 2.75},
|
||||
|
||||
{"matrix": [10, 5], "x": 16.25, "y": 4.5},
|
||||
|
||||
{"matrix": [10, 3], "x": 18.5, "y": 4.5},
|
||||
{"matrix": [10, 2], "x": 19.5, "y": 4.5},
|
||||
{"matrix": [10, 1], "x": 20.5, "y": 4.5},
|
||||
{"matrix": [11, 0], "x": 21.5, "y": 4.5, "h": 2},
|
||||
|
||||
{"matrix": [5, 0], "x": 0, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [5, 1], "x": 1.25, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [5, 3], "x": 2.5, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [5, 6], "x": 3.75, "y": 5.5, "w": 6.25},
|
||||
{"matrix": [5, 10], "x": 10, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [11, 10], "x": 11.25, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [11, 9], "x": 12.5, "y": 5.5, "w": 1.25},
|
||||
{"matrix": [11, 7], "x": 13.75, "y": 5.5, "w": 1.25},
|
||||
|
||||
{"matrix": [11, 6], "x": 15.25, "y": 5.5},
|
||||
{"matrix": [11, 5], "x": 16.25, "y": 5.5},
|
||||
{"matrix": [11, 4], "x": 17.25, "y": 5.5},
|
||||
|
||||
{"matrix": [11, 3], "x": 18.5, "y": 5.5, "w": 2},
|
||||
{"matrix": [11, 1], "x": 20.5, "y": 5.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
/* Copyright 2020 boss566y
|
||||
*
|
||||
* 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 "redragon_vara.h"
|
||||
@@ -1,40 +0,0 @@
|
||||
/* Copyright 2020 boss566y
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT_fullsize_ansi( \
|
||||
K00, K02, K03, K04, K05, K07, K08, K09, K0A, K6A, K69, K68, K67, K66, K65, K64, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K7A, K79, K78, K76, K75, K74, K73, K72, K71, K70, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K8A, K89, K87, K86, K85, K84, K83, K82, K81, K90, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K9A, K98, K93, K92, K91, \
|
||||
K40, K42, K43, K44, K45, K46, K47, K48, K49, K4A, KAA, KA8, KA5, KA3, KA2, KA1, KB0, \
|
||||
K50, K51, K53, K56, K5A, KBA, KB9, KB7, KB6, KB5, KB4, KB3, KB1 \
|
||||
) { \
|
||||
{ K00, KC_NO, K02, K03, K04, K05, KC_NO, K07, K08, K09, K0A }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A }, \
|
||||
{ K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A }, \
|
||||
{ K50, K51, KC_NO, K53, KC_NO, KC_NO, K56, KC_NO, KC_NO, KC_NO, K5A }, \
|
||||
{ KC_NO, KC_NO, KC_NO, KC_NO, K64, K65, K66, K67, K68, K69, K6A }, \
|
||||
{ K70, K71, K72, K73, K74, K75, K76, KC_NO, K78, K79, K7A }, \
|
||||
{ KC_NO, K81, K82, K83, K84, K85, K86, K87, KC_NO, K89, K8A }, \
|
||||
{ K90, K91, K92, K93, KC_NO, KC_NO, KC_NO, KC_NO, K98, KC_NO, K9A }, \
|
||||
{ KC_NO, KA1, KA2, KA3, KC_NO, KA5, KC_NO, KC_NO, KA8, KC_NO, KAA }, \
|
||||
{ KB0, KB1, KC_NO, KB3, KB4, KB5, KB6, KB7, KC_NO, KB9, KBA }, \
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
#include "brain.h"
|
||||
@@ -1,28 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define LAYOUT( \
|
||||
L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, \
|
||||
L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \
|
||||
L20, L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \
|
||||
L31, L32, L33, L34, L35, R31, R32, R33, R34, R35, \
|
||||
L43, L44, L45, R41, R42, R43 \
|
||||
) \
|
||||
{ \
|
||||
{ KC_NO, L01, L02, L03, L04, L05, L06}, \
|
||||
{ L10, L11, L12, L13, L14, L15, L16}, \
|
||||
{ L20, L21, L22, L23, L24, L25, L26}, \
|
||||
{ KC_NO, L31, L32, L33, L34, L35, KC_NO}, \
|
||||
{ KC_NO, KC_NO, KC_NO, L43, L44, L45, KC_NO}, \
|
||||
\
|
||||
{ R00, R01, R02, R03, R04, R05, KC_NO }, \
|
||||
{ R10, R11, R12, R13, R14, R15, R16 }, \
|
||||
{ R20, R21, R22, R23, R24, R25, R26 }, \
|
||||
{ KC_NO, R31, R32, R33, R34, R35, KC_NO }, \
|
||||
{ KC_NO, R41, R42, R43, KC_NO, KC_NO, KC_NO }, \
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user