mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-22 03:24:16 +08:00
Move single LAYOUTs to data driven (#20365)
This commit is contained in:
@@ -6,52 +6,5 @@
|
||||
"usb": {
|
||||
"vid": "0x04D8",
|
||||
"pid": "0xEAC8"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"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, "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},
|
||||
{"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},
|
||||
{"x":0, "y":3, "w":1.25},
|
||||
{"x":1.25, "y":3},
|
||||
{"x":2.25, "y":3, "w":1.25},
|
||||
{"x":3.5, "y":3, "w":2.75},
|
||||
{"x":6.25, "y":3, "w":2.25},
|
||||
{"x":8.5, "y":3, "w":1.25},
|
||||
{"x":9.75, "y":3},
|
||||
{"x":10.75, "y":3, "w":1.25}]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,56 @@
|
||||
"pin": "C7"
|
||||
},
|
||||
"processor": "atmega32u2",
|
||||
"bootloader": "atmel-dfu"
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"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},
|
||||
|
||||
{"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},
|
||||
|
||||
{"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},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 3, "w": 2.75},
|
||||
{"matrix": [3, 4], "x": 6.25, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 5], "x": 8.5, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 6], "x": 9.75, "y": 3},
|
||||
{"matrix": [3, 7], "x": 10.75, "y": 3, "w": 1.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/* Copyright 2020 monksoffunk
|
||||
*
|
||||
* 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"
|
||||
|
||||
// for readability
|
||||
#define XXX KC_NO
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
/* ALETH42 layout
|
||||
* ,-----------------------------------------------------------.
|
||||
* | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 0A | 38 |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 1A |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 2A |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k38,\
|
||||
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\
|
||||
) \
|
||||
{ \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, 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, XXX, XXX, k38 }\
|
||||
}
|
||||
@@ -22,5 +22,56 @@
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"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},
|
||||
|
||||
{"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},
|
||||
|
||||
{"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},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 3, "w": 2.75},
|
||||
{"matrix": [3, 4], "x": 6.25, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 5], "x": 8.5, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 6], "x": 9.75, "y": 3},
|
||||
{"matrix": [3, 7], "x": 10.75, "y": 3, "w": 1.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
/* Copyright 2020 monksoffunk
|
||||
*
|
||||
* 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"
|
||||
|
||||
// for readability
|
||||
#define XXX KC_NO
|
||||
|
||||
/* 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.
|
||||
*/
|
||||
/* ALETH42 layout
|
||||
* ,-----------------------------------------------------------.
|
||||
* | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 0A | 38 |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 1A |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 2A |
|
||||
* |-----------------------------------------------------------|
|
||||
* | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
|
||||
* `-----------------------------------------------------------'
|
||||
*/
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k38,\
|
||||
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\
|
||||
) \
|
||||
{ \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, 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, XXX, XXX, k38 }\
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b \
|
||||
) \
|
||||
{ \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c }, \
|
||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b } \
|
||||
}
|
||||
+40
-38
@@ -18,44 +18,46 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"Tab", "x":0, "y":0},
|
||||
{"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},
|
||||
{"label":"Y", "x":6, "y":0},
|
||||
{"label":"U", "x":7, "y":0},
|
||||
{"label":"I", "x":8, "y":0},
|
||||
{"label":"O", "x":9, "y":0},
|
||||
{"label":"P", "x":10, "y":0},
|
||||
{"label":"Bksp", "x":11, "y":0},
|
||||
{"label":"Delete", "x":12, "y":0, "w":1.25},
|
||||
{"label":"Ctrl", "x":0, "y":1, "w":1.25},
|
||||
{"label":"A", "x":1.25, "y":1},
|
||||
{"label":"S", "x":2.25, "y":1},
|
||||
{"label":"D", "x":3.25, "y":1},
|
||||
{"label":"F", "x":4.25, "y":1},
|
||||
{"label":"G", "x":5.25, "y":1},
|
||||
{"label":"H", "x":6.25, "y":1},
|
||||
{"label":"J", "x":7.25, "y":1},
|
||||
{"label":"K", "x":8.25, "y":1},
|
||||
{"label":"L", "x":9.25, "y":1},
|
||||
{"label":":", "x":10.25, "y":1},
|
||||
{"label":"\"", "x":11.25, "y":1},
|
||||
{"label":"Enter", "x":12.25, "y":1},
|
||||
{"label":"Shift", "x":0, "y":2, "w":1.75},
|
||||
{"label":"Z", "x":1.75, "y":2},
|
||||
{"label":"X", "x":2.75, "y":2},
|
||||
{"label":"C", "x":3.75, "y":2},
|
||||
{"label":"V", "x":4.75, "y":2},
|
||||
{"label":"B", "x":5.75, "y":2},
|
||||
{"label":"N", "x":6.75, "y":2},
|
||||
{"label":"M", "x":7.75, "y":2},
|
||||
{"label":"<", "x":8.75, "y":2},
|
||||
{"label":">", "x":9.75, "y":2},
|
||||
{"label":"?", "x":10.75, "y":2},
|
||||
{"label":"Space", "x":11.75, "y":2, "w":1.5}
|
||||
{"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, "w": 1.25},
|
||||
|
||||
{"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},
|
||||
{"matrix": [1, 11], "x": 11.25, "y": 1},
|
||||
{"matrix": [1, 12], "x": 12.25, "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, "w": 1.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,54 +6,5 @@
|
||||
"usb": {
|
||||
"vid": "0xFEED",
|
||||
"pid": "0x4658"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label": "k00", "x": 0, "y": 0.8},
|
||||
{"label": "k01", "x": 1, "y": 0.2},
|
||||
{"label": "k02", "x": 2, "y": 0},
|
||||
{"label": "k03", "x": 3, "y": 0.2},
|
||||
{"label": "k04", "x": 4, "y": 0.4},
|
||||
|
||||
{"label": "k05", "x": 8, "y": 0.4},
|
||||
{"label": "k06", "x": 9, "y": 0.2},
|
||||
{"label": "k07", "x": 10, "y": 0},
|
||||
{"label": "k08", "x": 11, "y": 0.2},
|
||||
{"label": "k09", "x": 12, "y": 0.8},
|
||||
|
||||
{"label": "k10", "x": 0, "y": 1.8},
|
||||
{"label": "k11", "x": 1, "y": 1.2},
|
||||
{"label": "k12", "x": 2, "y": 1},
|
||||
{"label": "k13", "x": 3, "y": 1.2},
|
||||
{"label": "k14", "x": 4, "y": 1.4},
|
||||
|
||||
{"label": "k15", "x": 8, "y": 1.4},
|
||||
{"label": "k16", "x": 9, "y": 1.2},
|
||||
{"label": "k17", "x": 10, "y": 1},
|
||||
{"label": "k18", "x": 11, "y": 1.2},
|
||||
{"label": "k19", "x": 12, "y": 1.8},
|
||||
|
||||
{"label": "k20", "x": 0, "y": 2.8},
|
||||
{"label": "k21", "x": 1, "y": 2.2},
|
||||
{"label": "k22", "x": 2, "y": 2},
|
||||
{"label": "k23", "x": 3, "y": 2.2},
|
||||
{"label": "k24", "x": 4, "y": 2.4},
|
||||
|
||||
{"label": "k25", "x": 8, "y": 2.4},
|
||||
{"label": "k26", "x": 9, "y": 2.2},
|
||||
{"label": "k27", "x": 10, "y": 2},
|
||||
{"label": "k28", "x": 11, "y": 2.2},
|
||||
{"label": "k29", "x": 12, "y": 2.8},
|
||||
|
||||
{"label": "k32", "x": 3.2, "y": 3.6},
|
||||
{"label": "k33", "x": 4.2, "y": 3.6},
|
||||
{"label": "k34", "x": 5.2, "y": 3.8},
|
||||
|
||||
{"label": "k35", "x": 6.8, "y": 3.8},
|
||||
{"label": "k36", "x": 7.8, "y": 3.6},
|
||||
{"label": "k37", "x": 8.8, "y": 3.6}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,5 +3,54 @@
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.8},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.2},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0.2},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.4},
|
||||
|
||||
{"matrix": [4, 0], "x": 8, "y": 0.4},
|
||||
{"matrix": [4, 1], "x": 9, "y": 0.2},
|
||||
{"matrix": [4, 2], "x": 10, "y": 0},
|
||||
{"matrix": [4, 3], "x": 11, "y": 0.2},
|
||||
{"matrix": [4, 4], "x": 12, "y": 0.8},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.8},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.2},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.2},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.4},
|
||||
|
||||
{"matrix": [5, 0], "x": 8, "y": 1.4},
|
||||
{"matrix": [5, 1], "x": 9, "y": 1.2},
|
||||
{"matrix": [5, 2], "x": 10, "y": 1},
|
||||
{"matrix": [5, 3], "x": 11, "y": 1.2},
|
||||
{"matrix": [5, 4], "x": 12, "y": 1.8},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.8},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2.2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.4},
|
||||
|
||||
{"matrix": [6, 0], "x": 8, "y": 2.4},
|
||||
{"matrix": [6, 1], "x": 9, "y": 2.2},
|
||||
{"matrix": [6, 2], "x": 10, "y": 2},
|
||||
{"matrix": [6, 3], "x": 11, "y": 2.2},
|
||||
{"matrix": [6, 4], "x": 12, "y": 2.8},
|
||||
|
||||
{"matrix": [3, 2], "x": 3.2, "y": 3.6},
|
||||
{"matrix": [3, 3], "x": 4.2, "y": 3.6},
|
||||
{"matrix": [3, 4], "x": 5.2, "y": 3.8},
|
||||
|
||||
{"matrix": [7, 0], "x": 6.8, "y": 3.8},
|
||||
{"matrix": [7, 1], "x": 7.8, "y": 3.6},
|
||||
{"matrix": [7, 2], "x": 8.8, "y": 3.6}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/* Copyright 2021 weteor
|
||||
*
|
||||
* 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( \
|
||||
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,\
|
||||
k32, k33, k34, k35, k36, k37\
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04 }, \
|
||||
{ k10, k11, k12, k13, k14 }, \
|
||||
{ k20, k21, k22, k23, k24 }, \
|
||||
{ KC_NO, KC_NO, k32, k33, k34 }, \
|
||||
\
|
||||
{ k05, k06, k07, k08, k09 }, \
|
||||
{ k15, k16, k17, k18, k19 }, \
|
||||
{ k25, k26, k27, k28, k29 }, \
|
||||
{ k35, k36, k37, KC_NO, KC_NO }, \
|
||||
}
|
||||
@@ -3,5 +3,54 @@
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.8},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.2},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0.2},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.4},
|
||||
|
||||
{"matrix": [4, 0], "x": 8, "y": 0.4},
|
||||
{"matrix": [4, 1], "x": 9, "y": 0.2},
|
||||
{"matrix": [4, 2], "x": 10, "y": 0},
|
||||
{"matrix": [4, 3], "x": 11, "y": 0.2},
|
||||
{"matrix": [4, 4], "x": 12, "y": 0.8},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.8},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.2},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1.2},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.4},
|
||||
|
||||
{"matrix": [5, 0], "x": 8, "y": 1.4},
|
||||
{"matrix": [5, 1], "x": 9, "y": 1.2},
|
||||
{"matrix": [5, 2], "x": 10, "y": 1},
|
||||
{"matrix": [5, 3], "x": 11, "y": 1.2},
|
||||
{"matrix": [5, 4], "x": 12, "y": 1.8},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.8},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2.2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.4},
|
||||
|
||||
{"matrix": [6, 0], "x": 8, "y": 2.4},
|
||||
{"matrix": [6, 1], "x": 9, "y": 2.2},
|
||||
{"matrix": [6, 2], "x": 10, "y": 2},
|
||||
{"matrix": [6, 3], "x": 11, "y": 2.2},
|
||||
{"matrix": [6, 4], "x": 12, "y": 2.8},
|
||||
|
||||
{"matrix": [3, 2], "x": 3.2, "y": 3.6},
|
||||
{"matrix": [3, 3], "x": 4.2, "y": 3.6},
|
||||
{"matrix": [3, 4], "x": 5.2, "y": 3.8},
|
||||
|
||||
{"matrix": [7, 0], "x": 6.8, "y": 3.8},
|
||||
{"matrix": [7, 1], "x": 7.8, "y": 3.6},
|
||||
{"matrix": [7, 2], "x": 8.8, "y": 3.6}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "rev2.h"
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
__attribute__ ((weak))
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/* Copyright 2021 weteor
|
||||
*
|
||||
* 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( \
|
||||
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,\
|
||||
k32, k33, k34, k35, k36, k37\
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04 }, \
|
||||
{ k10, k11, k12, k13, k14 }, \
|
||||
{ k20, k21, k22, k23, k24 }, \
|
||||
{ KC_NO, KC_NO, k32, k33, k34 }, \
|
||||
\
|
||||
{ k05, k06, k07, k08, k09 }, \
|
||||
{ k15, k16, k17, k18, k19 }, \
|
||||
{ k25, k26, k27, k28, k29 }, \
|
||||
{ k35, k36, k37, KC_NO, KC_NO }, \
|
||||
}
|
||||
@@ -16,32 +16,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
#define ___ KC_NO
|
||||
|
||||
/* 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( \
|
||||
L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
|
||||
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, \
|
||||
L34, R32 \
|
||||
) { \
|
||||
{ L00, L01, L02, L03, L04, L05, L06 }, \
|
||||
{ L10, L11, L12, L13, L14, L15, L16 }, \
|
||||
{ L20, L21, L22, L23, L24, L25, L26 }, \
|
||||
{ ___, ___, ___, ___, L34, ___, ___ }, \
|
||||
\
|
||||
{ R06, R05, R04, R03, R02, R01, R00 }, \
|
||||
{ R16, R15, R14, R13, R12, R11, R10 }, \
|
||||
{ R26, R25, R24, R23, R22, R21, R20 }, \
|
||||
{ ___, ___, ___, ___, R32, ___, ___ } \
|
||||
}
|
||||
|
||||
#ifdef USE_I2C
|
||||
#error "I2C not Supported"
|
||||
|
||||
@@ -21,53 +21,57 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"L00", "x":0, "y":0},
|
||||
{"label":"L01", "x":1, "y":0},
|
||||
{"label":"L02", "x":2, "y":0},
|
||||
{"label":"L03", "x":3, "y":0},
|
||||
{"label":"L04", "x":4, "y":0},
|
||||
{"label":"L05", "x":5, "y":0},
|
||||
{"label":"L06", "x":6, "y":0},
|
||||
{"label":"R00", "x":7, "y":0},
|
||||
{"label":"R01", "x":8, "y":0},
|
||||
{"label":"R02", "x":9, "y":0},
|
||||
{"label":"R03", "x":10, "y":0},
|
||||
{"label":"R04", "x":11, "y":0},
|
||||
{"label":"R05", "x":12, "y":0},
|
||||
{"label":"R06", "x":13, "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},
|
||||
|
||||
{"label":"L10", "x":0, "y":1},
|
||||
{"label":"L11", "x":1, "y":1},
|
||||
{"label":"L12", "x":2, "y":1},
|
||||
{"label":"L13", "x":3, "y":1},
|
||||
{"label":"L14", "x":4, "y":1},
|
||||
{"label":"L15", "x":5, "y":1},
|
||||
{"label":"L16", "x":6, "y":1},
|
||||
{"label":"R10", "x":7, "y":1},
|
||||
{"label":"R11", "x":8, "y":1},
|
||||
{"label":"R12", "x":9, "y":1},
|
||||
{"label":"R13", "x":10, "y":1},
|
||||
{"label":"R14", "x":11, "y":1},
|
||||
{"label":"R15", "x":12, "y":1},
|
||||
{"label":"R16", "x":13, "y":1},
|
||||
{"matrix": [4, 6], "x": 7, "y": 0},
|
||||
{"matrix": [4, 5], "x": 8, "y": 0},
|
||||
{"matrix": [4, 4], "x": 9, "y": 0},
|
||||
{"matrix": [4, 3], "x": 10, "y": 0},
|
||||
{"matrix": [4, 2], "x": 11, "y": 0},
|
||||
{"matrix": [4, 1], "x": 12, "y": 0},
|
||||
{"matrix": [4, 0], "x": 13, "y": 0},
|
||||
|
||||
{"label":"L20", "x":0, "y":2},
|
||||
{"label":"L21", "x":1, "y":2},
|
||||
{"label":"L22", "x":2, "y":2},
|
||||
{"label":"L23", "x":3, "y":2},
|
||||
{"label":"L24", "x":4, "y":2},
|
||||
{"label":"L25", "x":5, "y":2},
|
||||
{"label":"L26", "x":6, "y":2},
|
||||
{"label":"R20", "x":7, "y":2},
|
||||
{"label":"R21", "x":8, "y":2},
|
||||
{"label":"R22", "x":9, "y":2},
|
||||
{"label":"R23", "x":10, "y":2},
|
||||
{"label":"R24", "x":11, "y":2},
|
||||
{"label":"R25", "x":12, "y":2},
|
||||
{"label":"R26", "x":13, "y":2},
|
||||
|
||||
{"label":"L34", "x":4, "y":3, "w":2},
|
||||
{"label":"R32", "x":8, "y":3, "w":2}
|
||||
{"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": [5, 6], "x": 7, "y": 1},
|
||||
{"matrix": [5, 5], "x": 8, "y": 1},
|
||||
{"matrix": [5, 4], "x": 9, "y": 1},
|
||||
{"matrix": [5, 3], "x": 10, "y": 1},
|
||||
{"matrix": [5, 2], "x": 11, "y": 1},
|
||||
{"matrix": [5, 1], "x": 12, "y": 1},
|
||||
{"matrix": [5, 0], "x": 13, "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": [6, 6], "x": 7, "y": 2},
|
||||
{"matrix": [6, 5], "x": 8, "y": 2},
|
||||
{"matrix": [6, 4], "x": 9, "y": 2},
|
||||
{"matrix": [6, 3], "x": 10, "y": 2},
|
||||
{"matrix": [6, 2], "x": 11, "y": 2},
|
||||
{"matrix": [6, 1], "x": 12, "y": 2},
|
||||
{"matrix": [6, 0], "x": 13, "y": 2},
|
||||
|
||||
{"matrix": [3, 4], "x": 4, "y": 3, "w": 2},
|
||||
|
||||
{"matrix": [7, 4], "x": 8, "y": 3, "w": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -19,23 +19,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "quantum.h"
|
||||
|
||||
void setLayerLed(layer_state_t state);
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k10, k01, k11, k02, k12, k03, k13, k04, k14, k05, k15, k06, k16, k36, \
|
||||
k20, k30, k21, k31, k22, k32, k23, k33, k24, k34, k25, k35, k26, k56,\
|
||||
k40, k50, k41, k51, k42, k52, k43, k53, k44, k54, k45, k55, k46, k76,\
|
||||
k60, k70, k61, k71, k62, k72, k63, k73, k64, k74, k65, k75, k66, k96,\
|
||||
k80, k90, k91, k92, k93, k84 ,k94, k85, k95, k86 \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36}, \
|
||||
{k40, k41, k42, k43, k44, k45, k46}, \
|
||||
{k50, k51, k52, k53, k54, k55, k56}, \
|
||||
{k60, k61, k62, k63, k64, k65, k66}, \
|
||||
{k70, k71, k72, k73, k74, k75, k76}, \
|
||||
{k80, KC_NO, KC_NO, KC_NO, k84, k85, k86}, \
|
||||
{k90, k91, k92, k93, k94, k95, k96} \
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,36 +0,0 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.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"
|
||||
|
||||
// k<row><col>
|
||||
#define LAYOUT( \
|
||||
k00, k01, k11, k02, k03, k04, k05, k15, k06, k07, k08, k18, k09, k0a, k1a, \
|
||||
k10, k21, k12, k22, k13, k14, k25, k35, k16, k17, k28, k19, k29, k2a, \
|
||||
k20, k31, k32, k23, k33, k24, k45, k26, k36, k27, k38, k39, k3a, \
|
||||
k30, k40, k41, k42, k43, k34, k44, k55, k46, k37, k47, k48, k49, k4a, \
|
||||
k50, k51, k52, k53, k54, k56, k57, k58, k59, k5a \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, 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, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a}, \
|
||||
{k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5a} \
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -20,18 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//#define CAPS_LOCK_COLOR HSV_ORANGE
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k1d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
|
||||
k40, k41, k42, k44, k46, k48, k4a, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, KC_NO, k44, KC_NO, k46, KC_NO, k48, KC_NO, k4a, k4b, k4c, k4d}, \
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -20,18 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//#define CAPS_LOCK_COLOR HSV_ORANGE
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k1d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
|
||||
k40, k41, k42, k44, k46, k48, k4a, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, KC_NO, k44, KC_NO, k46, KC_NO, k48, KC_NO, k4a, k4b, k4c, k4d}, \
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -20,18 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
//#define CAPS_LOCK_COLOR HSV_ORANGE
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k2d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k3d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k4d, \
|
||||
k40, k41, k42, k44, k46, k48, k49, k4a, k4b, k4c \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, KC_NO, k44, KC_NO, k46, KC_NO, k48, k49, k4a, k4b, k4c, k4d}, \
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <4pplet@protonmail.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 "rev_d_ansi.h"
|
||||
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <4pplet@protonmail.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"
|
||||
|
||||
// k<row><col>
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k1d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \
|
||||
k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
|
||||
k40, k41, k42, k44, k46, k48, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, KC_NO, k44, KC_NO, k46, KC_NO, k48, KC_NO, KC_NO, k4b, k4c, k4d} \
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.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 "rev_d_iso.h"
|
||||
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.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"
|
||||
|
||||
// k<row><col>
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k1d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
|
||||
k40, k41, k42, k44, k46, k48, k4b, k4c, k4d \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, k42, KC_NO, k44, KC_NO, k46, KC_NO, k48, KC_NO, KC_NO, k4b, k4c, k4d} \
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
/* Copyright 2020 nickolaij
|
||||
*
|
||||
* 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
|
||||
|
||||
|
||||
/* 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( \
|
||||
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 \
|
||||
) \
|
||||
{ \
|
||||
{ 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, XXX, XXX, k34, XXX, k35, k36, k37, k38} \
|
||||
}
|
||||
+45
-45
@@ -26,54 +26,54 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"k00", "x":0, "y":0},
|
||||
{"label":"k01", "x":1, "y":0},
|
||||
{"label":"k02", "x":2, "y":0},
|
||||
{"label":"k03", "x":3, "y":0},
|
||||
{"label":"k04", "x":4, "y":0},
|
||||
{"label":"k05", "x":5, "y":0},
|
||||
{"label":"k06", "x":6, "y":0},
|
||||
{"label":"k07", "x":7, "y":0},
|
||||
{"label":"k08", "x":8, "y":0},
|
||||
{"label":"k09", "x":9, "y":0},
|
||||
{"label":"k0a", "x":10, "y":0},
|
||||
{"label":"k0b", "x":11, "y":0, "w":1.75},
|
||||
{"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, "w": 1.75},
|
||||
|
||||
{"label":"k10", "x":0, "y":1, "w":1.25},
|
||||
{"label":"k11", "x":1.25, "y":1},
|
||||
{"label":"k12", "x":2.25, "y":1},
|
||||
{"label":"k13", "x":3.25, "y":1},
|
||||
{"label":"k14", "x":4.25, "y":1},
|
||||
{"label":"k15", "x":5.25, "y":1},
|
||||
{"label":"k16", "x":6.25, "y":1},
|
||||
{"label":"k17", "x":7.25, "y":1},
|
||||
{"label":"k18", "x":8.25, "y":1},
|
||||
{"label":"k19", "x":9.25, "y":1},
|
||||
{"label":"k1a", "x":10.25, "y":1},
|
||||
{"label":"k1b", "x":11.25, "y":1, "w":1.5},
|
||||
{"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},
|
||||
{"matrix": [1, 11], "x": 11.25, "y": 1, "w": 1.5},
|
||||
|
||||
{"label":"k20", "x":0, "y":2, "w":1.75},
|
||||
{"label":"k21", "x":1.75, "y":2},
|
||||
{"label":"k22", "x":2.75, "y":2},
|
||||
{"label":"k23", "x":3.75, "y":2},
|
||||
{"label":"k24", "x":4.75, "y":2},
|
||||
{"label":"k25", "x":5.75, "y":2},
|
||||
{"label":"k26", "x":6.75, "y":2},
|
||||
{"label":"k27", "x":7.75, "y":2},
|
||||
{"label":"k28", "x":8.75, "y":2},
|
||||
{"label":"k29", "x":9.75, "y":2},
|
||||
{"label":"k2a", "x":10.75, "y":2},
|
||||
{"label":"k2b", "x":11.75, "y":2},
|
||||
{"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},
|
||||
|
||||
{"label":"k30", "x":0, "y":3, "w":1.25},
|
||||
{"label":"k31", "x":1.25, "y":3},
|
||||
{"label":"k32", "x":2.25, "y":3},
|
||||
{"label":"k33", "x":3.25, "y":3, "w":2.75},
|
||||
{"label":"k34", "x":6, "y":3, "w":2.75},
|
||||
{"label":"k35", "x":8.75, "y":3},
|
||||
{"label":"k36", "x":9.75, "y":3},
|
||||
{"label":"k37", "x":10.75, "y":3},
|
||||
{"label":"k38", "x":11.75, "y":3}
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2.25, "y": 3},
|
||||
{"matrix": [3, 3], "x": 3.25, "y": 3, "w": 2.75},
|
||||
{"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},
|
||||
{"matrix": [3, 10], "x": 10.75, "y": 3},
|
||||
{"matrix": [3, 11], "x": 11.75, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
/* Copyright 2020 Gondolindrim
|
||||
*
|
||||
* 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 KNO KC_NO
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K49, K41, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1B, K1C, K4A, K42, \
|
||||
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K4B, K44, \
|
||||
K30, K31, K32, K34, K37, K3A, K3B, K3C, K3D, K4C, K47 \
|
||||
)\
|
||||
{\
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, KNO, K1B, K1C }, \
|
||||
{ K20, KNO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C }, \
|
||||
{ K30, K31, K32, KNO, K34, KNO, KNO, K37, KNO, K3A, K3B, K3C, K3D }, \
|
||||
{ KNO, K41, K42, KNO, K44, KNO, KNO, K47, KNO, K49, K4A, K4B, K4C } \
|
||||
}
|
||||
@@ -26,63 +26,68 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"Tab", "x":0, "y":0},
|
||||
{"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},
|
||||
{"label":"Y", "x":6, "y":0},
|
||||
{"label":"U", "x":7, "y":0},
|
||||
{"label":"I", "x":8, "y":0},
|
||||
{"label":"O", "x":9, "y":0},
|
||||
{"label":"P", "x":10, "y":0},
|
||||
{"label":"Backspace", "x":11, "y":0},
|
||||
{"label":"7", "x":12.5, "y":0},
|
||||
{"label":"8", "x":13.5, "y":0},
|
||||
{"label":"9", "x":14.5, "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": [0, 11], "x": 11, "y": 0},
|
||||
|
||||
{"label":"Caps Lock", "x":0, "y":1, "w":1.25},
|
||||
{"label":"A", "x":1.25, "y":1},
|
||||
{"label":"S", "x":2.25, "y":1},
|
||||
{"label":"D", "x":3.25, "y":1},
|
||||
{"label":"F", "x":4.25, "y":1},
|
||||
{"label":"G", "x":5.25, "y":1},
|
||||
{"label":"H", "x":6.25, "y":1},
|
||||
{"label":"J", "x":7.25, "y":1},
|
||||
{"label":"K", "x":8.25, "y":1},
|
||||
{"label":"L", "x":9.25, "y":1},
|
||||
{"label":"Enter", "x":10.25, "y":1, "w":1.75},
|
||||
{"label":"4", "x":12.5, "y":1},
|
||||
{"label":"5", "x":13.5, "y":1},
|
||||
{"label":"6", "x":14.5, "y":1},
|
||||
|
||||
{"label":"Shift", "x":0, "y":2, "w":1.75},
|
||||
{"label":"Z", "x":1.75, "y":2},
|
||||
{"label":"X", "x":2.75, "y":2},
|
||||
{"label":"C", "x":3.75, "y":2},
|
||||
{"label":"V", "x":4.75, "y":2},
|
||||
{"label":"B", "x":5.75, "y":2},
|
||||
{"label":"N", "x":6.75, "y":2},
|
||||
{"label":"M", "x":7.75, "y":2},
|
||||
{"label":"<", "x":8.75, "y":2},
|
||||
{"label":"Fn1", "x":9.75, "y":2, "w":1.25},
|
||||
{"label":"Up", "x":11.25, "y":2.25},
|
||||
{"label":"1", "x":12.5, "y":2},
|
||||
{"label":"2", "x":13.5, "y":2},
|
||||
{"label":"3", "x":14.5, "y":2},
|
||||
|
||||
{"label":"Ctrl", "x":0, "y":3, "w":1.25},
|
||||
{"label":"Win", "x":1.25, "y":3},
|
||||
{"label":"Alt", "x":2.25, "y":3, "w":1.25},
|
||||
{"label":"Space/Fn2", "x":3.5, "y":3, "w":2.25},
|
||||
{"label":"Space", "x":6.25, "y":3, "w":2.75},
|
||||
{"label":"Alt", "x":9, "y":3},
|
||||
{"label":"Left", "x":10.25, "y":3.25},
|
||||
{"label":"Down", "x":11.25, "y":3.25},
|
||||
{"label":"Right", "x":12.25, "y":3.25},
|
||||
{"label":"0", "x":13.5, "y":3},
|
||||
{"label":".", "x":14.5, "y":3}
|
||||
{"matrix": [0, 12], "x": 12.5, "y": 0},
|
||||
{"matrix": [4, 9], "x": 13.5, "y": 0},
|
||||
{"matrix": [4, 1], "x": 14.5, "y": 0},
|
||||
|
||||
{"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, 11], "x": 10.25, "y": 1, "w": 1.75},
|
||||
|
||||
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||
{"matrix": [4, 10], "x": 13.5, "y": 1},
|
||||
{"matrix": [4, 2], "x": 14.5, "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, "w": 1.25},
|
||||
{"matrix": [2, 11], "x": 11.25, "y": 2.25},
|
||||
|
||||
{"matrix": [2, 12], "x": 12.5, "y": 2},
|
||||
{"matrix": [4, 11], "x": 13.5, "y": 2},
|
||||
{"matrix": [4, 4], "x": 14.5, "y": 2},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 1], "x": 1.25, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2.25, "y": 3, "w": 1.25},
|
||||
{"matrix": [3, 4], "x": 3.5, "y": 3, "w": 2.25},
|
||||
{"matrix": [3, 7], "x": 6.25, "y": 3, "w": 2.75},
|
||||
{"matrix": [3, 9], "x": 9, "y": 3},
|
||||
|
||||
{"matrix": [3, 10], "x": 10.25, "y": 3.25},
|
||||
{"matrix": [3, 11], "x": 11.25, "y": 3.25},
|
||||
{"matrix": [3, 12], "x": 12.25, "y": 3.25},
|
||||
|
||||
{"matrix": [4, 12], "x": 13.5, "y": 3},
|
||||
{"matrix": [4, 7], "x": 14.5, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
/* Copyright 2022 peepeetee
|
||||
*
|
||||
* 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, \
|
||||
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, K2C, K2D, K2E, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3C, K3D, K3E, K3B, \
|
||||
K40, K41, K42, K43, K46, K47, K48, K4D, K4E, K4A, K4B, K4C \
|
||||
) { \
|
||||
{ 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, XXX, K2C, K2D, K2E }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, XXX, K3B, K3C, K3D, K3E }, \
|
||||
{ K40, K41, K42, K43, XXX, XXX, K46, K47, K48, XXX, K4A, K4B, K4C, K4D, K4E }, \
|
||||
}
|
||||
|
||||
// generated by KBFirmware JSON to QMK Parser
|
||||
// https://noroadsleft.github.io/kbf_qmk_converter/
|
||||
@@ -21,76 +21,89 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "K00 (D0,F1)", "x": 0, "y": 0 },
|
||||
{ "label": "K01 (D0,F4)", "x": 1.25, "y": 0 },
|
||||
{ "label": "K02 (D0,F5)", "x": 2.25, "y": 0 },
|
||||
{ "label": "K03 (D0,F6)", "x": 3.25, "y": 0 },
|
||||
{ "label": "K04 (D0,F7)", "x": 4.5, "y": 0 },
|
||||
{ "label": "K05 (D0,C7)", "x": 5.5, "y": 0 },
|
||||
{ "label": "K06 (D0,C6)", "x": 6.5, "y": 0 },
|
||||
{ "label": "K07 (D0,B6)", "x": 7.5, "y": 0 },
|
||||
{ "label": "K08 (D0,B5)", "x": 8.75, "y": 0 },
|
||||
{ "label": "K09 (D0,B4)", "x": 9.75, "y": 0 },
|
||||
{ "label": "K0A (D0,D7)", "x": 10.75, "y": 0 },
|
||||
{ "label": "K0B (D0,D6)", "x": 12, "y": 0 },
|
||||
{ "label": "K0C (D0,B3)", "x": 13.5, "y": 0 },
|
||||
{ "label": "K0D (D0,B2)", "x": 14.5, "y": 0 },
|
||||
{ "label": "K0E (D0,B1)", "x": 15.5, "y": 0 },
|
||||
{ "label": "K10 (D1,F1)", "x": 0, "y": 1.25, "w": 1.5 },
|
||||
{ "label": "K11 (D1,F4)", "x": 1.5, "y": 1.25 },
|
||||
{ "label": "K12 (D1,F5)", "x": 2.5, "y": 1.25 },
|
||||
{ "label": "K13 (D1,F6)", "x": 3.5, "y": 1.25 },
|
||||
{ "label": "K14 (D1,F7)", "x": 4.5, "y": 1.25 },
|
||||
{ "label": "K15 (D1,C7)", "x": 5.5, "y": 1.25 },
|
||||
{ "label": "K16 (D1,C6)", "x": 6.5, "y": 1.25 },
|
||||
{ "label": "K17 (D1,B6)", "x": 7.5, "y": 1.25 },
|
||||
{ "label": "K18 (D1,B5)", "x": 8.5, "y": 1.25 },
|
||||
{ "label": "K19 (D1,B4)", "x": 9.5, "y": 1.25 },
|
||||
{ "label": "K1A (D1,D7)", "x": 10.5, "y": 1.25 },
|
||||
{ "label": "K1B (D1,D6)", "x": 11.5, "y": 1.25, "w": 1.5 },
|
||||
{ "label": "K1C (D1,B3)", "x": 13.5, "y": 1.25 },
|
||||
{ "label": "K1D (D1,B2)", "x": 14.5, "y": 1.25 },
|
||||
{ "label": "K1E (D1,B1)", "x": 15.5, "y": 1.25 },
|
||||
{ "label": "K20 (D2,F1)", "x": 0, "y": 2.25, "w": 1.75 },
|
||||
{ "label": "K21 (D2,F4)", "x": 1.75, "y": 2.25 },
|
||||
{ "label": "K22 (D2,F5)", "x": 2.75, "y": 2.25 },
|
||||
{ "label": "K23 (D2,F6)", "x": 3.75, "y": 2.25 },
|
||||
{ "label": "K24 (D2,F7)", "x": 4.75, "y": 2.25 },
|
||||
{ "label": "K25 (D2,C7)", "x": 5.75, "y": 2.25 },
|
||||
{ "label": "K26 (D2,C6)", "x": 6.75, "y": 2.25 },
|
||||
{ "label": "K27 (D2,B6)", "x": 7.75, "y": 2.25 },
|
||||
{ "label": "K28 (D2,B5)", "x": 8.75, "y": 2.25 },
|
||||
{ "label": "K29 (D2,B4)", "x": 9.75, "y": 2.25 },
|
||||
{ "label": "K2A (D2,D7)", "x": 10.75, "y": 2.25, "w": 2.25 },
|
||||
{ "label": "K2C (D2,B3)", "x": 13.5, "y": 2.25 },
|
||||
{ "label": "K2D (D2,B2)", "x": 14.5, "y": 2.25 },
|
||||
{ "label": "K2E (D2,B1)", "x": 15.5, "y": 2.25 },
|
||||
{ "label": "K30 (D3,F1)", "x": 0, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "K31 (D3,F4)", "x": 2.25, "y": 3.25 },
|
||||
{ "label": "K32 (D3,F5)", "x": 3.25, "y": 3.25 },
|
||||
{ "label": "K33 (D3,F6)", "x": 4.25, "y": 3.25 },
|
||||
{ "label": "K34 (D3,F7)", "x": 5.25, "y": 3.25 },
|
||||
{ "label": "K35 (D3,C7)", "x": 6.25, "y": 3.25 },
|
||||
{ "label": "K36 (D3,C6)", "x": 7.25, "y": 3.25 },
|
||||
{ "label": "K37 (D3,B6)", "x": 8.25, "y": 3.25 },
|
||||
{ "label": "K38 (D3,B5)", "x": 9.25, "y": 3.25 },
|
||||
{ "label": "K39 (D3,B4)", "x": 10.25, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "K3C (D3,B3)", "x": 13.5, "y": 3.25 },
|
||||
{ "label": "K3D (D3,B2)", "x": 14.5, "y": 3.25 },
|
||||
{ "label": "K3E (D3,B1)", "x": 15.5, "y": 3.25 },
|
||||
{ "label": "K3B (D3,D6)", "x": 12.25, "y": 3.5 },
|
||||
{ "label": "K40 (D5,F1)", "x": 0, "y": 4.25, "w": 1.25 },
|
||||
{ "label": "K41 (D5,F4)", "x": 1.25, "y": 4.25, "w": 1.25 },
|
||||
{ "label": "K42 (D5,F5)", "x": 2.5, "y": 4.25, "w": 1.25 },
|
||||
{ "label": "K43 (D5,F6)", "x": 3.75, "y": 4.25, "w": 2.75 },
|
||||
{ "label": "K46 (D5,C6)", "x": 6.5, "y": 4.25, "w": 2.25 },
|
||||
{ "label": "K47 (D5,B6)", "x": 8.75, "y": 4.25 },
|
||||
{ "label": "K48 (D5,B5)", "x": 9.75, "y": 4.25, "w": 1.25 },
|
||||
{ "label": "K4D (D5,B2)", "x": 14.5, "y": 4.25 },
|
||||
{ "label": "K4E (D5,B1)", "x": 15.5, "y": 4.25 },
|
||||
{ "label": "K4A (D5,D7)", "x": 11.25, "y": 4.5 },
|
||||
{ "label": "K4B (D5,D6)", "x": 12.25, "y": 4.5 },
|
||||
{ "label": "K4C (D5,B3)", "x": 13.25, "y": 4.5 }
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
|
||||
{"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.5, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5.5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6.5, "y": 0},
|
||||
{"matrix": [0, 7], "x": 7.5, "y": 0},
|
||||
|
||||
{"matrix": [0, 8], "x": 8.75, "y": 0},
|
||||
{"matrix": [0, 9], "x": 9.75, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10.75, "y": 0},
|
||||
|
||||
{"matrix": [0, 11], "x": 12, "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": [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.25},
|
||||
{"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, 7], "x": 7.5, "y": 1.25},
|
||||
{"matrix": [1, 8], "x": 8.5, "y": 1.25},
|
||||
{"matrix": [1, 9], "x": 9.5, "y": 1.25},
|
||||
{"matrix": [1, 10], "x": 10.5, "y": 1.25},
|
||||
{"matrix": [1, 11], "x": 11.5, "y": 1.25, "w": 1.5},
|
||||
|
||||
{"matrix": [1, 12], "x": 13.5, "y": 1.25},
|
||||
{"matrix": [1, 13], "x": 14.5, "y": 1.25},
|
||||
{"matrix": [1, 14], "x": 15.5, "y": 1.25},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.25, "w": 1.75},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 2.25},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3.75, "y": 2.25},
|
||||
{"matrix": [2, 4], "x": 4.75, "y": 2.25},
|
||||
{"matrix": [2, 5], "x": 5.75, "y": 2.25},
|
||||
{"matrix": [2, 6], "x": 6.75, "y": 2.25},
|
||||
{"matrix": [2, 7], "x": 7.75, "y": 2.25},
|
||||
{"matrix": [2, 8], "x": 8.75, "y": 2.25},
|
||||
{"matrix": [2, 9], "x": 9.75, "y": 2.25},
|
||||
{"matrix": [2, 10], "x": 10.75, "y": 2.25, "w": 2.25},
|
||||
|
||||
{"matrix": [2, 12], "x": 13.5, "y": 2.25},
|
||||
{"matrix": [2, 13], "x": 14.5, "y": 2.25},
|
||||
{"matrix": [2, 14], "x": 15.5, "y": 2.25},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 2.25},
|
||||
{"matrix": [3, 1], "x": 2.25, "y": 3.25},
|
||||
{"matrix": [3, 2], "x": 3.25, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 4.25, "y": 3.25},
|
||||
{"matrix": [3, 4], "x": 5.25, "y": 3.25},
|
||||
{"matrix": [3, 5], "x": 6.25, "y": 3.25},
|
||||
{"matrix": [3, 6], "x": 7.25, "y": 3.25},
|
||||
{"matrix": [3, 7], "x": 8.25, "y": 3.25},
|
||||
{"matrix": [3, 8], "x": 9.25, "y": 3.25},
|
||||
{"matrix": [3, 9], "x": 10.25, "y": 3.25, "w": 1.75},
|
||||
{"matrix": [3, 12], "x": 13.5, "y": 3.25},
|
||||
{"matrix": [3, 13], "x": 14.5, "y": 3.25},
|
||||
{"matrix": [3, 14], "x": 15.5, "y": 3.25},
|
||||
|
||||
{"matrix": [3, 11], "x": 12.25, "y": 3.5},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25},
|
||||
{"matrix": [4, 1], "x": 1.25, "y": 4.25, "w": 1.25},
|
||||
{"matrix": [4, 2], "x": 2.5, "y": 4.25, "w": 1.25},
|
||||
{"matrix": [4, 3], "x": 3.75, "y": 4.25, "w": 2.75},
|
||||
{"matrix": [4, 6], "x": 6.5, "y": 4.25, "w": 2.25},
|
||||
{"matrix": [4, 7], "x": 8.75, "y": 4.25},
|
||||
{"matrix": [4, 8], "x": 9.75, "y": 4.25, "w": 1.25},
|
||||
{"matrix": [4, 13], "x": 14.5, "y": 4.25},
|
||||
{"matrix": [4, 14], "x": 15.5, "y": 4.25},
|
||||
|
||||
{"matrix": [4, 10], "x": 11.25, "y": 4.5},
|
||||
{"matrix": [4, 11], "x": 12.25, "y": 4.5},
|
||||
{"matrix": [4, 12], "x": 13.25, "y": 4.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
// Copyright 2022 peepeetee (@peepeetee)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#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, K005, K006, K007, K008, K009, K010, K011, K012, \
|
||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \
|
||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, \
|
||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \
|
||||
K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K413, K414, \
|
||||
K500, K501, K502, K505, K510, K511, K512, K513, K514 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, KC_NO, KC_NO }, \
|
||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \
|
||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214 }, \
|
||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \
|
||||
{ K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, KC_NO, K413, K414 }, \
|
||||
{ K500, K501, K502, KC_NO, KC_NO, K505, KC_NO, KC_NO, KC_NO, KC_NO, K510, K511, K512, K513, K514 } \
|
||||
}
|
||||
@@ -21,86 +21,94 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "K00 (B3,D1)", "x": 0, "y": 0 },
|
||||
{ "label": "K01 (B3,D2)", "x": 1.25, "y": 0 },
|
||||
{ "label": "K02 (B3,D3)", "x": 2.25, "y": 0 },
|
||||
{ "label": "K03 (B3,D5)", "x": 3.25, "y": 0 },
|
||||
{ "label": "K04 (B3,D4)", "x": 4.25, "y": 0 },
|
||||
{ "label": "K05 (B3,D6)", "x": 5.5, "y": 0 },
|
||||
{ "label": "K06 (B3,D7)", "x": 6.5, "y": 0 },
|
||||
{ "label": "K07 (B3,B4)", "x": 7.5, "y": 0 },
|
||||
{ "label": "K08 (B3,B5)", "x": 8.5, "y": 0 },
|
||||
{ "label": "K09 (B3,B6)", "x": 9.75, "y": 0 },
|
||||
{ "label": "K0A (B3,C6)", "x": 10.75, "y": 0 },
|
||||
{ "label": "K0B (B3,C7)", "x": 11.75, "y": 0 },
|
||||
{ "label": "K0C (B3,F5)", "x": 12.75, "y": 0 },
|
||||
{ "label": "K10 (B2,D1)", "x": 0, "y": 1.25 },
|
||||
{ "label": "K11 (B2,D2)", "x": 1, "y": 1.25 },
|
||||
{ "label": "K12 (B2,D3)", "x": 2, "y": 1.25 },
|
||||
{ "label": "K13 (B2,D5)", "x": 3, "y": 1.25 },
|
||||
{ "label": "K14 (B2,D4)", "x": 4, "y": 1.25 },
|
||||
{ "label": "K15 (B2,D6)", "x": 5, "y": 1.25 },
|
||||
{ "label": "K16 (B2,D7)", "x": 6, "y": 1.25 },
|
||||
{ "label": "K17 (B2,B4)", "x": 7, "y": 1.25 },
|
||||
{ "label": "K18 (B2,B5)", "x": 8, "y": 1.25 },
|
||||
{ "label": "K19 (B2,B6)", "x": 9, "y": 1.25 },
|
||||
{ "label": "K1A (B2,C6)", "x": 10, "y": 1.25 },
|
||||
{ "label": "K1B (B2,C7)", "x": 11, "y": 1.25 },
|
||||
{ "label": "K1C (B2,F5)", "x": 12, "y": 1.25 },
|
||||
{ "label": "K1D (B2,F1)", "x": 13, "y": 1.25, "w": 2 },
|
||||
{ "label": "K1E (B2,F4)", "x": 15, "y": 1.25 },
|
||||
{ "label": "K20 (B1,D1)", "x": 0, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "K21 (B1,D2)", "x": 1.5, "y": 2.25 },
|
||||
{ "label": "K22 (B1,D3)", "x": 2.5, "y": 2.25 },
|
||||
{ "label": "K23 (B1,D5)", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "K24 (B1,D4)", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "K25 (B1,D6)", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "K26 (B1,D7)", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "K27 (B1,B4)", "x": 7.5, "y": 2.25 },
|
||||
{ "label": "K28 (B1,B5)", "x": 8.5, "y": 2.25 },
|
||||
{ "label": "K29 (B1,B6)", "x": 9.5, "y": 2.25 },
|
||||
{ "label": "K2A (B1,C6)", "x": 10.5, "y": 2.25 },
|
||||
{ "label": "K2B (B1,C7)", "x": 11.5, "y": 2.25 },
|
||||
{ "label": "K2C (B1,F5)", "x": 12.5, "y": 2.25 },
|
||||
{ "label": "K2D (B1,F1)", "x": 13.5, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "K2E (B1,F4)", "x": 15, "y": 2.25 },
|
||||
{ "label": "K30 (B0,D1)", "x": 0, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "K31 (B0,D2)", "x": 1.75, "y": 3.25 },
|
||||
{ "label": "K32 (B0,D3)", "x": 2.75, "y": 3.25 },
|
||||
{ "label": "K33 (B0,D5)", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "K34 (B0,D4)", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "K35 (B0,D6)", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "K36 (B0,D7)", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "K37 (B0,B4)", "x": 7.75, "y": 3.25 },
|
||||
{ "label": "K38 (B0,B5)", "x": 8.75, "y": 3.25 },
|
||||
{ "label": "K39 (B0,B6)", "x": 9.75, "y": 3.25 },
|
||||
{ "label": "K3A (B0,C6)", "x": 10.75, "y": 3.25 },
|
||||
{ "label": "K3B (B0,C7)", "x": 11.75, "y": 3.25 },
|
||||
{ "label": "K3D (B0,F1)", "x": 12.75, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "K3E (B0,F4)", "x": 15, "y": 3.25 },
|
||||
{ "label": "K40 (F6,D1)", "x": 0, "y": 4.25, "w": 2.25 },
|
||||
{ "label": "K41 (F6,D2)", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "K42 (F6,D3)", "x": 3.25, "y": 4.25 },
|
||||
{ "label": "K43 (F6,D5)", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "K44 (F6,D4)", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "K45 (F6,D6)", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "K46 (F6,D7)", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "K47 (F6,B4)", "x": 8.25, "y": 4.25 },
|
||||
{ "label": "K48 (F6,B5)", "x": 9.25, "y": 4.25 },
|
||||
{ "label": "K49 (F6,B6)", "x": 10.25, "y": 4.25 },
|
||||
{ "label": "K4A (F6,C6)", "x": 11.25, "y": 4.25 },
|
||||
{ "label": "K4B (F6,C7)", "x": 12.25, "y": 4.25, "w": 1.75 },
|
||||
{ "label": "K4D (F6,F1)", "x": 14, "y": 4.25 },
|
||||
{ "label": "K4E (F6,F4)", "x": 15, "y": 4.25 },
|
||||
{ "label": "K50 (B7,D1)", "x": 0, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "K51 (B7,D2)", "x": 1.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "K52 (B7,D3)", "x": 2.5, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "K55 (B7,D6)", "x": 3.75, "y": 5.25, "w": 6.25 },
|
||||
{ "label": "K5A (B7,C6)", "x": 10, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "K5B (B7,C7)", "x": 11.25, "y": 5.25, "w": 1.25 },
|
||||
{ "label": "K5C (B7,F5)", "x": 13, "y": 5.25 },
|
||||
{ "label": "K5D (B7,F1)", "x": 14, "y": 5.25 },
|
||||
{ "label": "K5E (B7,F4)", "x": 15, "y": 5.25 }
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
|
||||
{"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.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.75, "y": 0},
|
||||
{"matrix": [0, 10], "x": 10.75, "y": 0},
|
||||
{"matrix": [0, 11], "x": 11.75, "y": 0},
|
||||
{"matrix": [0, 12], "x": 12.75, "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": [1, 14], "x": 15, "y": 1.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.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.5, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [2, 14], "x": 15, "y": 2.25},
|
||||
|
||||
{"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, 13], "x": 12.75, "y": 3.25, "w": 2.25},
|
||||
{"matrix": [3, 14], "x": 15, "y": 3.25},
|
||||
|
||||
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25},
|
||||
{"matrix": [4, 1], "x": 2.25, "y": 4.25},
|
||||
{"matrix": [4, 2], "x": 3.25, "y": 4.25},
|
||||
{"matrix": [4, 3], "x": 4.25, "y": 4.25},
|
||||
{"matrix": [4, 4], "x": 5.25, "y": 4.25},
|
||||
{"matrix": [4, 5], "x": 6.25, "y": 4.25},
|
||||
{"matrix": [4, 6], "x": 7.25, "y": 4.25},
|
||||
{"matrix": [4, 7], "x": 8.25, "y": 4.25},
|
||||
{"matrix": [4, 8], "x": 9.25, "y": 4.25},
|
||||
{"matrix": [4, 9], "x": 10.25, "y": 4.25},
|
||||
{"matrix": [4, 10], "x": 11.25, "y": 4.25},
|
||||
{"matrix": [4, 11], "x": 12.25, "y": 4.25, "w": 1.75},
|
||||
{"matrix": [4, 13], "x": 14, "y": 4.25},
|
||||
{"matrix": [4, 14], "x": 15, "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, 5], "x": 3.75, "y": 5.25, "w": 6.25},
|
||||
{"matrix": [5, 10], "x": 10, "y": 5.25, "w": 1.25},
|
||||
{"matrix": [5, 11], "x": 11.25, "y": 5.25, "w": 1.25},
|
||||
{"matrix": [5, 12], "x": 13, "y": 5.25},
|
||||
{"matrix": [5, 13], "x": 14, "y": 5.25},
|
||||
{"matrix": [5, 14], "x": 15, "y": 5.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
/* Copyright 2020 floookay
|
||||
*
|
||||
* 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, 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, k2E, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k3E, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k4E, \
|
||||
k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4D, \
|
||||
k50, k52, k54, k55, k57, k59, k5C, k5D, k5E \
|
||||
) \
|
||||
{ \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \
|
||||
{ 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 }, \
|
||||
{ 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, k2D, k2E }, \
|
||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, KC_NO, k3E }, \
|
||||
{ k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, KC_NO, k4D, k4E }, \
|
||||
{ k50, KC_NO, k52, KC_NO, k54, k55, KC_NO, k57, KC_NO, k59, KC_NO, KC_NO, k5C, k5D, k5E } \
|
||||
}
|
||||
@@ -21,93 +21,98 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "k00", "x": 0, "y": 0 },
|
||||
{ "label": "k01", "x": 1.25, "y": 0 },
|
||||
{ "label": "k02", "x": 2.25, "y": 0 },
|
||||
{ "label": "k03", "x": 3.5, "y": 0 },
|
||||
{ "label": "k04", "x": 4.5, "y": 0 },
|
||||
{ "label": "k05", "x": 5.75, "y": 0 },
|
||||
{ "label": "k06", "x": 6.75, "y": 0 },
|
||||
{ "label": "k07", "x": 9.75, "y": 0 },
|
||||
{ "label": "k08", "x": 10.75, "y": 0 },
|
||||
{ "label": "k09", "x": 12, "y": 0 },
|
||||
{ "label": "k0A", "x": 13, "y": 0 },
|
||||
{ "label": "k0B", "x": 14.25, "y": 0 },
|
||||
{ "label": "k0C", "x": 15.25, "y": 0 },
|
||||
{ "label": "k0D", "x": 16.5, "y": 0 },
|
||||
{ "label": "k0E", "x": 17.75, "y": 0 },
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1.25, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2.25, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3.5, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4.5, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5.75, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6.75, "y": 0},
|
||||
{"matrix": [0, 7], "x": 9.75, "y": 0},
|
||||
{"matrix": [0, 8], "x": 10.75, "y": 0},
|
||||
{"matrix": [0, 9], "x": 12, "y": 0},
|
||||
{"matrix": [0, 10], "x": 13, "y": 0},
|
||||
{"matrix": [0, 11], "x": 14.25, "y": 0},
|
||||
{"matrix": [0, 12], "x": 15.25, "y": 0},
|
||||
{"matrix": [0, 13], "x": 16.5, "y": 0},
|
||||
{"matrix": [0, 14], "x": 17.75, "y": 0},
|
||||
|
||||
{ "label": "k10", "x": 0.75, "y": 1.25 },
|
||||
{ "label": "k11", "x": 1.75, "y": 1.25 },
|
||||
{ "label": "k12", "x": 2.75, "y": 1.25 },
|
||||
{ "label": "k13", "x": 4, "y": 1.25 },
|
||||
{ "label": "k14", "x": 5, "y": 1.25 },
|
||||
{ "label": "k15", "x": 6, "y": 1.25 },
|
||||
{ "label": "k16", "x": 7, "y": 1.25 },
|
||||
{ "label": "k17", "x": 9.5, "y": 1.25 },
|
||||
{ "label": "k18", "x": 10.5, "y": 1.25 },
|
||||
{ "label": "k19", "x": 11.5, "y": 1.25 },
|
||||
{ "label": "k1A", "x": 12.5, "y": 1.25 },
|
||||
{ "label": "k1B", "x": 13.75, "y": 1.25 },
|
||||
{ "label": "k1C", "x": 14.75, "y": 1.25 },
|
||||
{ "label": "k1D", "x": 15.75, "y": 1.25 },
|
||||
{ "label": "k1E", "x": 16.75, "y": 1.25 },
|
||||
{ "label": "k2E", "x": 18, "y": 1 },
|
||||
{"matrix": [2, 0], "x": 0.75, "y": 1.25},
|
||||
{"matrix": [2, 1], "x": 1.75, "y": 1.25},
|
||||
{"matrix": [2, 2], "x": 2.75, "y": 1.25},
|
||||
{"matrix": [2, 3], "x": 4, "y": 1.25},
|
||||
{"matrix": [2, 4], "x": 5, "y": 1.25},
|
||||
{"matrix": [2, 5], "x": 6, "y": 1.25},
|
||||
{"matrix": [2, 6], "x": 7, "y": 1.25},
|
||||
{"matrix": [2, 7], "x": 9.5, "y": 1.25},
|
||||
{"matrix": [2, 8], "x": 10.5, "y": 1.25},
|
||||
{"matrix": [2, 9], "x": 11.5, "y": 1.25},
|
||||
{"matrix": [2, 10], "x": 12.5, "y": 1.25},
|
||||
{"matrix": [2, 11], "x": 13.75, "y": 1.25},
|
||||
{"matrix": [2, 12], "x": 14.75, "y": 1.25},
|
||||
{"matrix": [2, 13], "x": 15.75, "y": 1.25},
|
||||
{"matrix": [2, 14], "x": 16.75, "y": 1.25},
|
||||
|
||||
{ "label": "k20", "x": 0.5, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "k21", "x": 2, "y": 2.25 },
|
||||
{ "label": "k22", "x": 3.5, "y": 2.25 },
|
||||
{ "label": "k23", "x": 4.5, "y": 2.25 },
|
||||
{ "label": "k24", "x": 5.5, "y": 2.25 },
|
||||
{ "label": "k25", "x": 6.5, "y": 2.25 },
|
||||
{ "label": "k26", "x": 9, "y": 2.25 },
|
||||
{ "label": "k27", "x": 10, "y": 2.25 },
|
||||
{ "label": "k28", "x": 11, "y": 2.25 },
|
||||
{ "label": "k29", "x": 12, "y": 2.25 },
|
||||
{ "label": "k2A", "x": 13, "y": 2.25 },
|
||||
{ "label": "k2B", "x": 14.5, "y": 2.25 },
|
||||
{ "label": "k2C", "x": 15.5, "y": 2.25 },
|
||||
{ "label": "k2D", "x": 16.5, "y": 2.25, "w": 1.5 },
|
||||
{ "label": "k3E", "x": 18.25, "y": 2 },
|
||||
{"matrix": [3, 14], "x": 18, "y": 1},
|
||||
|
||||
{ "label": "k30", "x": 0.25, "y": 3.25, "w": 1.75 },
|
||||
{ "label": "k31", "x": 2, "y": 3.25 },
|
||||
{ "label": "k32", "x": 3.75, "y": 3.25 },
|
||||
{ "label": "k33", "x": 4.75, "y": 3.25 },
|
||||
{ "label": "k34", "x": 5.75, "y": 3.25 },
|
||||
{ "label": "k35", "x": 6.75, "y": 3.25 },
|
||||
{ "label": "k36", "x": 9.25, "y": 3.25 },
|
||||
{ "label": "k37", "x": 10.25, "y": 3.25 },
|
||||
{ "label": "k38", "x": 11.25, "y": 3.25 },
|
||||
{ "label": "k39", "x": 12.25, "y": 3.25 },
|
||||
{ "label": "k3A", "x": 14, "y": 3.25 },
|
||||
{ "label": "k3B", "x": 15, "y": 3.25 },
|
||||
{ "label": "k3C", "x": 16, "y": 3.25, "w": 2.25 },
|
||||
{ "label": "k4E", "x": 18.5, "y": 3 },
|
||||
{"matrix": [3, 0], "x": 0.5, "y": 2.25, "w": 1.5},
|
||||
{"matrix": [3, 1], "x": 2, "y": 2.25},
|
||||
{"matrix": [3, 2], "x": 3.5, "y": 2.25},
|
||||
{"matrix": [3, 3], "x": 4.5, "y": 2.25},
|
||||
{"matrix": [3, 4], "x": 5.5, "y": 2.25},
|
||||
{"matrix": [3, 5], "x": 6.5, "y": 2.25},
|
||||
{"matrix": [3, 6], "x": 9, "y": 2.25},
|
||||
{"matrix": [3, 7], "x": 10, "y": 2.25},
|
||||
{"matrix": [3, 8], "x": 11, "y": 2.25},
|
||||
{"matrix": [3, 9], "x": 12, "y": 2.25},
|
||||
{"matrix": [3, 10], "x": 13, "y": 2.25},
|
||||
{"matrix": [3, 11], "x": 14.5, "y": 2.25},
|
||||
{"matrix": [3, 12], "x": 15.5, "y": 2.25},
|
||||
{"matrix": [3, 13], "x": 16.5, "y": 2.25, "w": 1.5},
|
||||
|
||||
{ "label": "k40", "x": 0, "y": 4.25, "w": 2.25 },
|
||||
{ "label": "k41", "x": 2.25, "y": 4.25 },
|
||||
{ "label": "k42", "x": 4.25, "y": 4.25 },
|
||||
{ "label": "k43", "x": 5.25, "y": 4.25 },
|
||||
{ "label": "k44", "x": 6.25, "y": 4.25 },
|
||||
{ "label": "k45", "x": 7.25, "y": 4.25 },
|
||||
{ "label": "k46", "x": 9.5, "y": 4.25 },
|
||||
{ "label": "k47", "x": 10.5, "y": 4.25 },
|
||||
{ "label": "k48", "x": 11.5, "y": 4.25 },
|
||||
{ "label": "k49", "x": 12.5, "y": 4.25 },
|
||||
{ "label": "k4A", "x": 14.5, "y": 4.25 },
|
||||
{ "label": "k4B", "x": 15.5, "y": 4.25, "w": 1.75 },
|
||||
{ "label": "k4D", "x": 17.5, "y": 4.5 },
|
||||
{"matrix": [4, 14], "x": 18.25, "y": 2},
|
||||
|
||||
{ "label": "k50", "x": 0, "y": 5.25, "w": 1.5 },
|
||||
{ "label": "k52", "x": 4.25, "y": 5.25, "w": 1.5 },
|
||||
{ "label": "k54", "x": 5.75, "y": 5.25, "w": 2 },
|
||||
{ "label": "k55", "x": 7.75, "y": 5.25 },
|
||||
{ "label": "k57", "x": 9, "y": 5.25, "w": 2.75 },
|
||||
{ "label": "k59", "x": 11.75, "y": 5.25, "w": 1.5 },
|
||||
{ "label": "k5C", "x": 16.5, "y": 5.5 },
|
||||
{ "label": "k5D", "x": 17.5, "y": 5.5 },
|
||||
{ "label": "k5E", "x": 18.5, "y": 5.5 }
|
||||
{"matrix": [4, 0], "x": 0.25, "y": 3.25, "w": 1.75},
|
||||
{"matrix": [4, 1], "x": 2, "y": 3.25},
|
||||
{"matrix": [4, 2], "x": 3.75, "y": 3.25},
|
||||
{"matrix": [4, 3], "x": 4.75, "y": 3.25},
|
||||
{"matrix": [4, 4], "x": 5.75, "y": 3.25},
|
||||
{"matrix": [4, 5], "x": 6.75, "y": 3.25},
|
||||
{"matrix": [4, 6], "x": 9.25, "y": 3.25},
|
||||
{"matrix": [4, 7], "x": 10.25, "y": 3.25},
|
||||
{"matrix": [4, 8], "x": 11.25, "y": 3.25},
|
||||
{"matrix": [4, 9], "x": 12.25, "y": 3.25},
|
||||
{"matrix": [4, 10], "x": 14, "y": 3.25},
|
||||
{"matrix": [4, 11], "x": 15, "y": 3.25},
|
||||
{"matrix": [4, 12], "x": 16, "y": 3.25, "w": 2.25},
|
||||
|
||||
{"matrix": [5, 14], "x": 18.5, "y": 3},
|
||||
|
||||
{"matrix": [5, 0], "x": 0, "y": 4.25, "w": 2.25},
|
||||
{"matrix": [5, 1], "x": 2.25, "y": 4.25},
|
||||
{"matrix": [5, 2], "x": 4.25, "y": 4.25},
|
||||
{"matrix": [5, 3], "x": 5.25, "y": 4.25},
|
||||
{"matrix": [5, 4], "x": 6.25, "y": 4.25},
|
||||
{"matrix": [5, 5], "x": 7.25, "y": 4.25},
|
||||
{"matrix": [5, 6], "x": 9.5, "y": 4.25},
|
||||
{"matrix": [5, 7], "x": 10.5, "y": 4.25},
|
||||
{"matrix": [5, 8], "x": 11.5, "y": 4.25},
|
||||
{"matrix": [5, 9], "x": 12.5, "y": 4.25},
|
||||
{"matrix": [5, 10], "x": 14.5, "y": 4.25},
|
||||
{"matrix": [5, 11], "x": 15.5, "y": 4.25, "w": 1.75},
|
||||
|
||||
{"matrix": [5, 13], "x": 17.5, "y": 4.5},
|
||||
|
||||
{"matrix": [6, 0], "x": 0, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [6, 2], "x": 4.25, "y": 5.25, "w": 1.5},
|
||||
{"matrix": [6, 4], "x": 5.75, "y": 5.25, "w": 2},
|
||||
{"matrix": [6, 5], "x": 7.75, "y": 5.25},
|
||||
{"matrix": [6, 7], "x": 9, "y": 5.25, "w": 2.75},
|
||||
{"matrix": [6, 9], "x": 11.75, "y": 5.25, "w": 1.5},
|
||||
|
||||
{"matrix": [6, 12], "x": 16.5, "y": 5.5},
|
||||
{"matrix": [6, 13], "x": 17.5, "y": 5.5},
|
||||
{"matrix": [6, 14], "x": 18.5, "y": 5.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
/* Copyright 2020-2022 Lorenzo Leonini
|
||||
* SPDX-License-Identifier: GPL-2.0-only
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* 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( \
|
||||
K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, \
|
||||
K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, \
|
||||
K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, \
|
||||
K404, K405, K406, K407, K408, K409 \
|
||||
) { \
|
||||
{ K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112 }, \
|
||||
{ K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212 }, \
|
||||
{ K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312 }, \
|
||||
{ KC_NO, KC_NO, KC_NO, K404, K405, K407, K406, K408, K409, KC_NO, KC_NO, KC_NO } \
|
||||
}
|
||||
+46
-42
@@ -28,51 +28,55 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"GUI/`~", "x":0, "y":0.8},
|
||||
{"label":"Q", "x":1, "y":0.8},
|
||||
{"label":"W", "x":2, "y":0},
|
||||
{"label":"E", "x":3, "y":0},
|
||||
{"label":"R", "x":4, "y":0.5},
|
||||
{"label":"T", "x":5, "y":0.5},
|
||||
{"label":"Y", "x":7.5, "y":0.5},
|
||||
{"label":"U", "x":8.5, "y":0.5},
|
||||
{"label":"I", "x":9.5, "y":0},
|
||||
{"label":"O", "x":10.5, "y":0},
|
||||
{"label":"P", "x":11.5, "y":0.8},
|
||||
{"label":"GUI/=+", "x":12.5, "y":0.8},
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.8},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.8},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.5},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0.5},
|
||||
|
||||
{"label":"Ctrl/Tab", "x":0, "y":1.8},
|
||||
{"label":"A", "x":1, "y":1.8},
|
||||
{"label":"S", "x":2, "y":1},
|
||||
{"label":"D", "x":3, "y":1},
|
||||
{"label":"F", "x":4, "y":1.5},
|
||||
{"label":"G", "x":5, "y":1.5},
|
||||
{"label":"H", "x":7.5, "y":1.5},
|
||||
{"label":"J", "x":8.5, "y":1.5},
|
||||
{"label":"K", "x":9.5, "y":1},
|
||||
{"label":"L", "x":10.5, "y":1},
|
||||
{"label":";:", "x":11.5, "y":1.8},
|
||||
{"label":"Ctrl/'\"", "x":12.5, "y":1.8},
|
||||
{"matrix": [0, 6], "x": 7.5, "y": 0.5},
|
||||
{"matrix": [0, 7], "x": 8.5, "y": 0.5},
|
||||
{"matrix": [0, 8], "x": 9.5, "y": 0},
|
||||
{"matrix": [0, 9], "x": 10.5, "y": 0},
|
||||
{"matrix": [0, 10], "x": 11.5, "y": 0.8},
|
||||
{"matrix": [0, 11], "x": 12.5, "y": 0.8},
|
||||
|
||||
{"label":"Alt", "x":0, "y":2.8},
|
||||
{"label":"Z", "x":1, "y":2.8},
|
||||
{"label":"X", "x":2, "y":2},
|
||||
{"label":"C", "x":3, "y":2},
|
||||
{"label":"V", "x":4, "y":2.5},
|
||||
{"label":"B", "x":5, "y":2.5},
|
||||
{"label":"N", "x":7.5, "y":2.5},
|
||||
{"label":"M", "x":8.5, "y":2.5},
|
||||
{"label":",<", "x":9.5, "y":2},
|
||||
{"label":".>", "x":10.5, "y":2},
|
||||
{"label":"/?", "x":11.5, "y":2.8},
|
||||
{"label":"Alt", "x":12.5, "y":2.8},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.8},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.8},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.5},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.5},
|
||||
|
||||
{"label":"Special/Esc", "x":4.25, "y":3.55},
|
||||
{"label":"Shift/Backspace", "x":5.25, "y":3.65},
|
||||
{"label":"Adm/Delete", "x":6.25, "y":1.875, "h":1.25},
|
||||
{"label":"Extra/Enter", "x":6.25, "y":4.05},
|
||||
{"label":"Shift/Space", "x":7.25, "y":3.65},
|
||||
{"label":"Special/Alt", "x":8.25, "y":3.55}
|
||||
{"matrix": [1, 6], "x": 7.5, "y": 1.5},
|
||||
{"matrix": [1, 7], "x": 8.5, "y": 1.5},
|
||||
{"matrix": [1, 8], "x": 9.5, "y": 1},
|
||||
{"matrix": [1, 9], "x": 10.5, "y": 1},
|
||||
{"matrix": [1, 10], "x": 11.5, "y": 1.8},
|
||||
{"matrix": [1, 11], "x": 12.5, "y": 1.8},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.8},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.8},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.5},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2.5},
|
||||
|
||||
{"matrix": [2, 6], "x": 7.5, "y": 2.5},
|
||||
{"matrix": [2, 7], "x": 8.5, "y": 2.5},
|
||||
{"matrix": [2, 8], "x": 9.5, "y": 2},
|
||||
{"matrix": [2, 9], "x": 10.5, "y": 2},
|
||||
{"matrix": [2, 10], "x": 11.5, "y": 2.8},
|
||||
{"matrix": [2, 11], "x": 12.5, "y": 2.8},
|
||||
|
||||
{"matrix": [3, 3], "x": 4.25, "y": 3.55},
|
||||
{"matrix": [3, 4], "x": 5.25, "y": 3.65},
|
||||
{"matrix": [3, 6], "x": 6.25, "y": 1.875, "h": 1.25},
|
||||
|
||||
{"matrix": [3, 5], "x": 6.25, "y": 4.05},
|
||||
{"matrix": [3, 7], "x": 7.25, "y": 3.65},
|
||||
{"matrix": [3, 8], "x": 8.25, "y": 3.55}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,75 +26,75 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"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":"Backspace", "x":13, "y":0, "w":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": [0, 4], "x": 4, "y": 0},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"matrix": [5, 0], "x": 7, "y": 0},
|
||||
{"matrix": [5, 1], "x": 8, "y": 0},
|
||||
{"matrix": [5, 2], "x": 9, "y": 0},
|
||||
{"matrix": [5, 3], "x": 10, "y": 0},
|
||||
{"matrix": [5, 4], "x": 11, "y": 0},
|
||||
{"matrix": [5, 5], "x": 12, "y": 0},
|
||||
{"matrix": [5, 6], "x": 13, "y": 0, "w": 2},
|
||||
|
||||
{"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},
|
||||
{"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": [6, 0], "x": 7.5, "y": 1},
|
||||
{"matrix": [6, 1], "x": 8.5, "y": 1},
|
||||
{"matrix": [6, 2], "x": 9.5, "y": 1},
|
||||
{"matrix": [6, 3], "x": 10.5, "y": 1},
|
||||
{"matrix": [6, 4], "x": 11.5, "y": 1},
|
||||
{"matrix": [6, 5], "x": 12.5, "y": 1},
|
||||
{"matrix": [6, 6], "x": 13.5, "y": 1, "w": 1.5},
|
||||
|
||||
{"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":"Enc", "x":15, "y":2},
|
||||
{"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": [7, 0], "x": 7.75, "y": 2},
|
||||
{"matrix": [7, 1], "x": 8.75, "y": 2},
|
||||
{"matrix": [7, 2], "x": 9.75, "y": 2},
|
||||
{"matrix": [7, 3], "x": 10.75, "y": 2},
|
||||
{"matrix": [7, 4], "x": 11.75, "y": 2},
|
||||
{"matrix": [7, 5], "x": 12.75, "y": 2, "w": 2.25},
|
||||
{"matrix": [7, 6], "x": 15, "y": 2},
|
||||
|
||||
{"label":"LShift", "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":"RShift", "x":12.25, "y":3, "w":1.75},
|
||||
{"label":"Up", "x":14, "y":3},
|
||||
{"label":"M1", "x":15, "y":3},
|
||||
{"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": [8, 0], "x": 8.25, "y": 3},
|
||||
{"matrix": [8, 1], "x": 9.25, "y": 3},
|
||||
{"matrix": [8, 2], "x": 10.25, "y": 3},
|
||||
{"matrix": [8, 3], "x": 11.25, "y": 3},
|
||||
{"matrix": [8, 4], "x": 12.25, "y": 3, "w": 1.75},
|
||||
{"matrix": [8, 5], "x": 14, "y": 3},
|
||||
{"matrix": [8, 6], "x": 15, "y": 3},
|
||||
|
||||
{"label":"LCtrl", "x":0, "y":4, "w":1.25},
|
||||
{"label":"LSuper", "x":1.25, "y":4, "w":1.25},
|
||||
{"label":"LAlt", "x":2.5, "y":4, "w":1.25},
|
||||
{"label":"Space", "x":3.75, "y":4, "w":6.25},
|
||||
{"label":"L1", "x":10, "y":4, "w":1.5},
|
||||
{"label":"L2", "x":11.5, "y":4, "w":1.5},
|
||||
{"label":"Left", "x":13, "y":4},
|
||||
{"label":"Down", "x":14, "y":4},
|
||||
{"label":"Right", "x":15, "y":4}
|
||||
{"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, 6], "x": 3.75, "y": 4, "w": 6.25},
|
||||
{"matrix": [9, 2], "x": 10, "y": 4, "w": 1.5},
|
||||
{"matrix": [9, 3], "x": 11.5, "y": 4, "w": 1.5},
|
||||
{"matrix": [9, 4], "x": 13, "y": 4},
|
||||
{"matrix": [9, 5], "x": 14, "y": 4},
|
||||
{"matrix": [9, 6], "x": 15, "y": 4}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "kintsugi.h"
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
/* Copyright 2022 adpenrose
|
||||
*
|
||||
* 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( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K50, K51, K52, K53, K54, K55, K56, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K60, K61, K62, K63, K64, K65, K66, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K70, K71, K72, K73, K74, K75, K76, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K80, K81, K82, K83, K84, K85, K86, \
|
||||
K40, K41, K42, K46, K92, K93, K94, K95, K96 \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06 }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16 }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26 }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36 }, \
|
||||
{ K40, K41, K42, KC_NO, KC_NO, KC_NO, K46 }, \
|
||||
{ K50, K51, K52, K53, K54, K55, K56 }, \
|
||||
{ K60, K61, K62, K63, K64, K65, K66 }, \
|
||||
{ K70, K71, K72, K73, K74, K75, K76 }, \
|
||||
{ K80, K81, K82, K83, K84, K85, K86 }, \
|
||||
{ KC_NO, KC_NO, K92, K93, K94, K95, K96 } \
|
||||
}
|
||||
@@ -24,76 +24,85 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0.375},
|
||||
{"x":1, "y":0.375},
|
||||
{"x":2, "y":0.125},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0.125},
|
||||
{"x":5, "y":0.25},
|
||||
{"x":9.75, "y":0.25},
|
||||
{"x":10.75, "y":0.125},
|
||||
{"x":11.75, "y":0},
|
||||
{"x":12.75, "y":0.125},
|
||||
{"x":13.75, "y":0.375},
|
||||
{"x":14.75, "y":0.375},
|
||||
{"x":16, "y":0.375},
|
||||
{"x":17, "y":0.375},
|
||||
{"x":18, "y":0.375},
|
||||
{"matrix": [0, 5], "x": 0, "y": 0.375},
|
||||
{"matrix": [0, 4], "x": 1, "y": 0.375},
|
||||
{"matrix": [0, 3], "x": 2, "y": 0.125},
|
||||
{"matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"matrix": [0, 1], "x": 4, "y": 0.125},
|
||||
{"matrix": [0, 0], "x": 5, "y": 0.25},
|
||||
|
||||
{"x":0, "y":1.375},
|
||||
{"x":1, "y":1.375},
|
||||
{"x":2, "y":1.125},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1.125},
|
||||
{"x":5, "y":1.25},
|
||||
{"x":9.75, "y":1.25},
|
||||
{"x":10.75, "y":1.125},
|
||||
{"x":11.75, "y":1},
|
||||
{"x":12.75, "y":1.125},
|
||||
{"x":13.75, "y":1.375},
|
||||
{"x":14.75, "y":1.375},
|
||||
{"x":16, "y":1.375},
|
||||
{"x":17, "y":1.375},
|
||||
{"x":18, "y":1.375},
|
||||
{"matrix": [5, 0], "x": 9.75, "y": 0.25},
|
||||
{"matrix": [5, 1], "x": 10.75, "y": 0.125},
|
||||
{"matrix": [5, 2], "x": 11.75, "y": 0},
|
||||
{"matrix": [5, 3], "x": 12.75, "y": 0.125},
|
||||
{"matrix": [5, 4], "x": 13.75, "y": 0.375},
|
||||
{"matrix": [5, 5], "x": 14.75, "y": 0.375},
|
||||
|
||||
{"x":0, "y":2.375},
|
||||
{"x":1, "y":2.375},
|
||||
{"x":2, "y":2.125},
|
||||
{"x":3, "y":2},
|
||||
{"x":4, "y":2.125},
|
||||
{"x":5, "y":2.25},
|
||||
{"x":9.75, "y":2.25},
|
||||
{"x":10.75, "y":2.125},
|
||||
{"x":11.75, "y":2},
|
||||
{"x":12.75, "y":2.125},
|
||||
{"x":13.75, "y":2.375},
|
||||
{"x":14.75, "y":2.375},
|
||||
{"x":17, "y":2.375},
|
||||
{"matrix": [5, 6], "x": 16, "y": 0.375},
|
||||
{"matrix": [5, 7], "x": 17, "y": 0.375},
|
||||
{"matrix": [5, 8], "x": 18, "y": 0.375},
|
||||
|
||||
{"x":0, "y":3.375},
|
||||
{"x":1, "y":3.375},
|
||||
{"x":2, "y":3.125},
|
||||
{"x":3, "y":3},
|
||||
{"x":4, "y":3.125},
|
||||
{"x":5, "y":3.25},
|
||||
{"x":9.75, "y":3.25},
|
||||
{"x":10.75, "y":3.125},
|
||||
{"x":11.75, "y":3},
|
||||
{"x":12.75, "y":3.125},
|
||||
{"x":13.75, "y":3.375},
|
||||
{"x":14.75, "y":3.375},
|
||||
{"x":16, "y":3.375},
|
||||
{"x":17, "y":3.375},
|
||||
{"x":18, "y":3.375},
|
||||
{"matrix": [1, 5], "x": 0, "y": 1.375},
|
||||
{"matrix": [1, 4], "x": 1, "y": 1.375},
|
||||
{"matrix": [1, 3], "x": 2, "y": 1.125},
|
||||
{"matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"matrix": [1, 1], "x": 4, "y": 1.125},
|
||||
{"matrix": [1, 0], "x": 5, "y": 1.25},
|
||||
|
||||
{"x":2.5, "y":4.25},
|
||||
{"x":3.5, "y":4.25},
|
||||
{"x":4.5, "y":4.5},
|
||||
{"x":6.25, "y":3.75, "h":2, "r":30},
|
||||
{"x":8.5, "y":3.75, "h":2, "r":-30},
|
||||
{"x":10.25, "y":4.5},
|
||||
{"x":11.25, "y":4.25},
|
||||
{"x":12.25, "y":4.25}
|
||||
{"matrix": [6, 0], "x": 9.75, "y": 1.25},
|
||||
{"matrix": [6, 1], "x": 10.75, "y": 1.125},
|
||||
{"matrix": [6, 2], "x": 11.75, "y": 1},
|
||||
{"matrix": [6, 3], "x": 12.75, "y": 1.125},
|
||||
{"matrix": [6, 4], "x": 13.75, "y": 1.375},
|
||||
{"matrix": [6, 5], "x": 14.75, "y": 1.375},
|
||||
|
||||
{"matrix": [6, 6], "x": 16, "y": 1.375},
|
||||
{"matrix": [6, 7], "x": 17, "y": 1.375},
|
||||
{"matrix": [6, 8], "x": 18, "y": 1.375},
|
||||
|
||||
{"matrix": [2, 5], "x": 0, "y": 2.375},
|
||||
{"matrix": [2, 4], "x": 1, "y": 2.375},
|
||||
{"matrix": [2, 3], "x": 2, "y": 2.125},
|
||||
{"matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"matrix": [2, 1], "x": 4, "y": 2.125},
|
||||
{"matrix": [2, 0], "x": 5, "y": 2.25},
|
||||
|
||||
{"matrix": [7, 0], "x": 9.75, "y": 2.25},
|
||||
{"matrix": [7, 1], "x": 10.75, "y": 2.125},
|
||||
{"matrix": [7, 2], "x": 11.75, "y": 2},
|
||||
{"matrix": [7, 3], "x": 12.75, "y": 2.125},
|
||||
{"matrix": [7, 4], "x": 13.75, "y": 2.375},
|
||||
{"matrix": [7, 5], "x": 14.75, "y": 2.375},
|
||||
|
||||
{"matrix": [7, 7], "x": 17, "y": 2.375},
|
||||
|
||||
{"matrix": [3, 5], "x": 0, "y": 3.375},
|
||||
{"matrix": [3, 4], "x": 1, "y": 3.375},
|
||||
{"matrix": [3, 3], "x": 2, "y": 3.125},
|
||||
{"matrix": [3, 2], "x": 3, "y": 3},
|
||||
{"matrix": [3, 1], "x": 4, "y": 3.125},
|
||||
{"matrix": [3, 0], "x": 5, "y": 3.25},
|
||||
|
||||
{"matrix": [8, 0], "x": 9.75, "y": 3.25},
|
||||
{"matrix": [8, 1], "x": 10.75, "y": 3.125},
|
||||
{"matrix": [8, 2], "x": 11.75, "y": 3},
|
||||
{"matrix": [8, 3], "x": 12.75, "y": 3.125},
|
||||
{"matrix": [8, 4], "x": 13.75, "y": 3.375},
|
||||
{"matrix": [8, 5], "x": 14.75, "y": 3.375},
|
||||
|
||||
{"matrix": [8, 6], "x": 16, "y": 3.375},
|
||||
{"matrix": [8, 7], "x": 17, "y": 3.375},
|
||||
{"matrix": [8, 8], "x": 18, "y": 3.375},
|
||||
|
||||
{"matrix": [4, 3], "x": 2.5, "y": 4.25},
|
||||
{"matrix": [4, 2], "x": 3.5, "y": 4.25},
|
||||
{"matrix": [4, 1], "x": 4.5, "y": 4.5},
|
||||
{"matrix": [4, 0], "x": 6.25, "y": 3.75, "h": 2, "r": 30},
|
||||
|
||||
{"matrix": [9, 0], "x": 8.5, "y": 3.75, "h": 2, "r": -30},
|
||||
{"matrix": [9, 1], "x": 10.25, "y": 4.5},
|
||||
{"matrix": [9, 2], "x": 11.25, "y": 4.25},
|
||||
{"matrix": [9, 3], "x": 12.25, "y": 4.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
/* Copyright 2021 eithanshavit
|
||||
*
|
||||
* 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( \
|
||||
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, MC0, MC1, MC2, \
|
||||
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, MC3, MC4, MC5, \
|
||||
L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, AUP, \
|
||||
L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, ALT, ADN, ART, \
|
||||
LT0, LT1, LT2, LT3, RT0, RT1, RT2, RT3 \
|
||||
) \
|
||||
{ \
|
||||
{ L05, L04, L03, L02, L01, L00, KC_NO, KC_NO, KC_NO }, \
|
||||
{ L15, L14, L13, L12, L11, L10, KC_NO, KC_NO, KC_NO }, \
|
||||
{ L25, L24, L23, L22, L21, L20, KC_NO, KC_NO, KC_NO }, \
|
||||
{ L35, L34, L33, L32, L31, L30, KC_NO, KC_NO, KC_NO }, \
|
||||
{ LT3, LT2, LT1, LT0, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ R00, R01, R02, R03, R04, R05, MC0, MC1, MC2 }, \
|
||||
{ R10, R11, R12, R13, R14, R15, MC3, MC4, MC5 }, \
|
||||
{ R20, R21, R22, R23, R24, R25, KC_NO, AUP, KC_NO }, \
|
||||
{ R30, R31, R32, R33, R34, R35, ALT, ADN, ART }, \
|
||||
{ RT0, RT1, RT2, RT3, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
}
|
||||
@@ -24,76 +24,85 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"x":0, "y":0.375},
|
||||
{"x":1, "y":0.375},
|
||||
{"x":2, "y":0.125},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0.125},
|
||||
{"x":5, "y":0.25},
|
||||
{"x":9.75, "y":0.25},
|
||||
{"x":10.75, "y":0.125},
|
||||
{"x":11.75, "y":0},
|
||||
{"x":12.75, "y":0.125},
|
||||
{"x":13.75, "y":0.375},
|
||||
{"x":14.75, "y":0.375},
|
||||
{"x":16, "y":0.375},
|
||||
{"x":17, "y":0.375},
|
||||
{"x":18, "y":0.375},
|
||||
{"matrix": [0, 5], "x": 0, "y": 0.375},
|
||||
{"matrix": [0, 4], "x": 1, "y": 0.375},
|
||||
{"matrix": [0, 3], "x": 2, "y": 0.125},
|
||||
{"matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"matrix": [0, 1], "x": 4, "y": 0.125},
|
||||
{"matrix": [0, 0], "x": 5, "y": 0.25},
|
||||
|
||||
{"x":0, "y":1.375},
|
||||
{"x":1, "y":1.375},
|
||||
{"x":2, "y":1.125},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1.125},
|
||||
{"x":5, "y":1.25},
|
||||
{"x":9.75, "y":1.25},
|
||||
{"x":10.75, "y":1.125},
|
||||
{"x":11.75, "y":1},
|
||||
{"x":12.75, "y":1.125},
|
||||
{"x":13.75, "y":1.375},
|
||||
{"x":14.75, "y":1.375},
|
||||
{"x":16, "y":1.375},
|
||||
{"x":17, "y":1.375},
|
||||
{"x":18, "y":1.375},
|
||||
{"matrix": [5, 0], "x": 9.75, "y": 0.25},
|
||||
{"matrix": [5, 1], "x": 10.75, "y": 0.125},
|
||||
{"matrix": [5, 2], "x": 11.75, "y": 0},
|
||||
{"matrix": [5, 3], "x": 12.75, "y": 0.125},
|
||||
{"matrix": [5, 4], "x": 13.75, "y": 0.375},
|
||||
{"matrix": [5, 5], "x": 14.75, "y": 0.375},
|
||||
|
||||
{"x":0, "y":2.375},
|
||||
{"x":1, "y":2.375},
|
||||
{"x":2, "y":2.125},
|
||||
{"x":3, "y":2},
|
||||
{"x":4, "y":2.125},
|
||||
{"x":5, "y":2.25},
|
||||
{"x":9.75, "y":2.25},
|
||||
{"x":10.75, "y":2.125},
|
||||
{"x":11.75, "y":2},
|
||||
{"x":12.75, "y":2.125},
|
||||
{"x":13.75, "y":2.375},
|
||||
{"x":14.75, "y":2.375},
|
||||
{"x":17, "y":2.375},
|
||||
{"matrix": [5, 6], "x": 16, "y": 0.375},
|
||||
{"matrix": [5, 7], "x": 17, "y": 0.375},
|
||||
{"matrix": [5, 8], "x": 18, "y": 0.375},
|
||||
|
||||
{"x":0, "y":3.375},
|
||||
{"x":1, "y":3.375},
|
||||
{"x":2, "y":3.125},
|
||||
{"x":3, "y":3},
|
||||
{"x":4, "y":3.125},
|
||||
{"x":5, "y":3.25},
|
||||
{"x":9.75, "y":3.25},
|
||||
{"x":10.75, "y":3.125},
|
||||
{"x":11.75, "y":3},
|
||||
{"x":12.75, "y":3.125},
|
||||
{"x":13.75, "y":3.375},
|
||||
{"x":14.75, "y":3.375},
|
||||
{"x":16, "y":3.375},
|
||||
{"x":17, "y":3.375},
|
||||
{"x":18, "y":3.375},
|
||||
{"matrix": [1, 5], "x": 0, "y": 1.375},
|
||||
{"matrix": [1, 4], "x": 1, "y": 1.375},
|
||||
{"matrix": [1, 3], "x": 2, "y": 1.125},
|
||||
{"matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"matrix": [1, 1], "x": 4, "y": 1.125},
|
||||
{"matrix": [1, 0], "x": 5, "y": 1.25},
|
||||
|
||||
{"x":2.5, "y":4.25},
|
||||
{"x":3.5, "y":4.25},
|
||||
{"x":4.5, "y":4.5},
|
||||
{"x":6.25, "y":3.75, "h":2, "r":30},
|
||||
{"x":8.5, "y":3.75, "h":2, "r":-30},
|
||||
{"x":10.25, "y":4.5},
|
||||
{"x":11.25, "y":4.25},
|
||||
{"x":12.25, "y":4.25}
|
||||
{"matrix": [6, 0], "x": 9.75, "y": 1.25},
|
||||
{"matrix": [6, 1], "x": 10.75, "y": 1.125},
|
||||
{"matrix": [6, 2], "x": 11.75, "y": 1},
|
||||
{"matrix": [6, 3], "x": 12.75, "y": 1.125},
|
||||
{"matrix": [6, 4], "x": 13.75, "y": 1.375},
|
||||
{"matrix": [6, 5], "x": 14.75, "y": 1.375},
|
||||
|
||||
{"matrix": [6, 6], "x": 16, "y": 1.375},
|
||||
{"matrix": [6, 7], "x": 17, "y": 1.375},
|
||||
{"matrix": [6, 8], "x": 18, "y": 1.375},
|
||||
|
||||
{"matrix": [2, 5], "x": 0, "y": 2.375},
|
||||
{"matrix": [2, 4], "x": 1, "y": 2.375},
|
||||
{"matrix": [2, 3], "x": 2, "y": 2.125},
|
||||
{"matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"matrix": [2, 1], "x": 4, "y": 2.125},
|
||||
{"matrix": [2, 0], "x": 5, "y": 2.25},
|
||||
|
||||
{"matrix": [7, 0], "x": 9.75, "y": 2.25},
|
||||
{"matrix": [7, 1], "x": 10.75, "y": 2.125},
|
||||
{"matrix": [7, 2], "x": 11.75, "y": 2},
|
||||
{"matrix": [7, 3], "x": 12.75, "y": 2.125},
|
||||
{"matrix": [7, 4], "x": 13.75, "y": 2.375},
|
||||
{"matrix": [7, 5], "x": 14.75, "y": 2.375},
|
||||
|
||||
{"matrix": [7, 7], "x": 17, "y": 2.375},
|
||||
|
||||
{"matrix": [3, 5], "x": 0, "y": 3.375},
|
||||
{"matrix": [3, 4], "x": 1, "y": 3.375},
|
||||
{"matrix": [3, 3], "x": 2, "y": 3.125},
|
||||
{"matrix": [3, 2], "x": 3, "y": 3},
|
||||
{"matrix": [3, 1], "x": 4, "y": 3.125},
|
||||
{"matrix": [3, 0], "x": 5, "y": 3.25},
|
||||
|
||||
{"matrix": [8, 0], "x": 9.75, "y": 3.25},
|
||||
{"matrix": [8, 1], "x": 10.75, "y": 3.125},
|
||||
{"matrix": [8, 2], "x": 11.75, "y": 3},
|
||||
{"matrix": [8, 3], "x": 12.75, "y": 3.125},
|
||||
{"matrix": [8, 4], "x": 13.75, "y": 3.375},
|
||||
{"matrix": [8, 5], "x": 14.75, "y": 3.375},
|
||||
|
||||
{"matrix": [8, 6], "x": 16, "y": 3.375},
|
||||
{"matrix": [8, 7], "x": 17, "y": 3.375},
|
||||
{"matrix": [8, 8], "x": 18, "y": 3.375},
|
||||
|
||||
{"matrix": [4, 3], "x": 2.5, "y": 4.25},
|
||||
{"matrix": [4, 2], "x": 3.5, "y": 4.25},
|
||||
{"matrix": [4, 1], "x": 4.5, "y": 4.5},
|
||||
{"matrix": [4, 0], "x": 6.25, "y": 3.75, "h": 2, "r": 30},
|
||||
|
||||
{"matrix": [9, 0], "x": 8.5, "y": 3.75, "h": 2, "r": -30},
|
||||
{"matrix": [9, 1], "x": 10.25, "y": 4.5},
|
||||
{"matrix": [9, 2], "x": 11.25, "y": 4.25},
|
||||
{"matrix": [9, 3], "x": 12.25, "y": 4.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
/* Copyright 2021 eithanshavit
|
||||
*
|
||||
* 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( \
|
||||
L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, MC0, MC1, MC2, \
|
||||
L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, MC3, MC4, MC5, \
|
||||
L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, AUP, \
|
||||
L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, ALT, ADN, ART, \
|
||||
LT0, LT1, LT2, LT3, RT0, RT1, RT2, RT3 \
|
||||
) \
|
||||
{ \
|
||||
{ L05, L04, L03, L02, L01, L00, KC_NO, KC_NO, KC_NO }, \
|
||||
{ L15, L14, L13, L12, L11, L10, KC_NO, KC_NO, KC_NO }, \
|
||||
{ L25, L24, L23, L22, L21, L20, KC_NO, KC_NO, KC_NO }, \
|
||||
{ L35, L34, L33, L32, L31, L30, KC_NO, KC_NO, KC_NO }, \
|
||||
{ LT3, LT2, LT1, LT0, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
||||
{ R00, R01, R02, R03, R04, R05, MC0, MC1, MC2 }, \
|
||||
{ R10, R11, R12, R13, R14, R15, MC3, MC4, MC5 }, \
|
||||
{ R20, R21, R22, R23, R24, R25, KC_NO, AUP, KC_NO }, \
|
||||
{ R30, R31, R32, R33, R34, R35, ALT, ADN, ART }, \
|
||||
{ RT0, RT1, RT2, RT3, KC_NO, KC_NO, 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