mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-22 07:32:02 +00:00
Compare commits
8 Commits
5fc365d4aa
...
cbf12799ca
Author | SHA1 | Date | |
---|---|---|---|
|
cbf12799ca | ||
|
c9f619124d | ||
|
aa3e9f59bd | ||
|
0ddb7d7863 | ||
|
bf9f604b08 | ||
|
172a40686b | ||
|
739319e21a | ||
|
a84528f853 |
@ -81,7 +81,7 @@ Your `keymap.c` will then need an encoder mapping defined (for four layers and t
|
|||||||
|
|
||||||
```c
|
```c
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_BASE] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_BASE] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_LOWER] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
[_LOWER] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI), ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
||||||
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
|
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI), ENCODER_CCW_CW(RGB_SPD, RGB_SPI) },
|
||||||
|
@ -1,43 +0,0 @@
|
|||||||
/* Copyright 2021 0xC7
|
|
||||||
*
|
|
||||||
* 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 KC_NOt, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define ___ 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_60_ansi( \
|
|
||||||
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, K2D, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3D, \
|
|
||||||
K40, K41, K42, K45, K48, K49, K4B, 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, ___, K2D }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, ___, ___, K3D }, \
|
|
||||||
{ K40, K41, K42, ___, ___, K45, ___, ___, K48, K49, ___, K4B, ___, K4D } \
|
|
||||||
}
|
|
@ -21,71 +21,71 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_60_ansi": {
|
"LAYOUT_60_ansi": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x": 0, "y": 0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x": 1, "y": 0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x": 2, "y": 0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x": 3, "y": 0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x": 4, "y": 0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x": 5, "y": 0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x": 6, "y": 0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x": 7, "y": 0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x": 8, "y": 0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x": 9, "y": 0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x": 10, "y": 0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x": 11, "y": 0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x": 12, "y": 0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x": 13, "y": 0, "w": 2},
|
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
|
||||||
|
|
||||||
{"x": 0, "y": 1, "w": 1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x": 1.5, "y": 1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x": 2.5, "y": 1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x": 3.5, "y": 1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x": 4.5, "y": 1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x": 5.5, "y": 1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x": 6.5, "y": 1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x": 7.5, "y": 1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x": 8.5, "y": 1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x": 9.5, "y": 1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x": 10.5, "y": 1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x": 11.5, "y": 1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x": 12.5, "y": 1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x": 13.5, "y": 1, "w": 1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
{"x": 0, "y": 2, "w": 1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x": 1.75, "y": 2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x": 2.75, "y": 2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x": 3.75, "y": 2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x": 4.75, "y": 2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x": 5.75, "y": 2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x": 6.75, "y": 2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x": 7.75, "y": 2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x": 8.75, "y": 2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x": 9.75, "y": 2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x": 10.75, "y": 2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"x": 11.75, "y": 2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x": 12.75, "y": 2, "w": 2.25},
|
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
{"x": 0, "y": 3, "w": 2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x": 2.25, "y": 3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x": 3.25, "y": 3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x": 4.25, "y": 3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x": 5.25, "y": 3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x": 6.25, "y": 3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x": 7.25, "y": 3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x": 8.25, "y": 3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x": 9.25, "y": 3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x": 10.25, "y": 3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x": 11.25, "y": 3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x": 12.25, "y": 3, "w": 2.75},
|
{"matrix": [3, 13], "x": 12.25, "y": 3, "w": 2.75},
|
||||||
|
|
||||||
{"x": 0, "y": 4, "w": 1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x": 1.25, "y": 4, "w": 1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x": 2.5, "y": 4, "w": 1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x": 3.75, "y": 4, "w": 6.25},
|
{"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x": 10, "y": 4, "w": 1.25},
|
{"matrix": [4, 8], "x": 10, "y": 4, "w": 1.25},
|
||||||
{"x": 11.25, "y": 4, "w": 1.25},
|
{"matrix": [4, 9], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
{"x": 12.5, "y": 4, "w": 1.25},
|
{"matrix": [4, 11], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
{"x": 13.75, "y": 4, "w": 1.25}
|
{"matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_LOWER] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
[_LOWER] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
||||||
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
|
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
|
||||||
|
@ -290,7 +290,7 @@ bool caps_word_press_user(uint16_t keycode) {
|
|||||||
// │ e n c o d e r │
|
// │ e n c o d e r │
|
||||||
// └───────────────────────────────────────────────────────────┘
|
// └───────────────────────────────────────────────────────────┘
|
||||||
|
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_NAVIGATION] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT) },
|
[_NAVIGATION] = { ENCODER_CCW_CW(KC_LEFT, KC_RGHT) },
|
||||||
[_QWERTY] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_QWERTY] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_COLEMAK] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_COLEMAK] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_BASE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_LOWER] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
[_LOWER] = { ENCODER_CCW_CW(KC_MPRV, KC_MNXT) },
|
||||||
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
|
[_RAISE] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
/* Copyright 2018 MechMerlin
|
|
||||||
*
|
|
||||||
* 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_60_ansi( \
|
|
||||||
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, K2D, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3D, \
|
|
||||||
K40, K41, K42, K45, K49, K4A, K4B, 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, KC_NO, K2D }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, KC_NO, K3D }, \
|
|
||||||
{ K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, KC_NO, K4D } \
|
|
||||||
}
|
|
@ -26,7 +26,73 @@
|
|||||||
"community_layouts": ["60_ansi"],
|
"community_layouts": ["60_ansi"],
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_60_ansi": {
|
"LAYOUT_60_ansi": {
|
||||||
"layout": [{"label":"~", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "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}, {"label":"Caps Lock", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"Alt", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}]
|
"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": [0, 11], "x": 11, "y": 0},
|
||||||
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
|
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
|
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
|
{"matrix": [3, 13], "x": 12.25, "y": 3, "w": 2.75},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
|
{"matrix": [4, 9], "x": 10, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 10], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 11], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_ONE] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
|
[_ONE] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
|
||||||
[_TWO] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_TWO] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_THREE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_THREE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
@ -253,7 +253,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_ONE] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
|
[_ONE] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) },
|
||||||
[_TWO] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_TWO] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_THREE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_THREE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
@ -52,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -100,7 +100,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -34,7 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
|
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
|
||||||
};
|
};
|
||||||
|
@ -90,7 +90,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
|
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS), ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -26,67 +26,71 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_60_ansi": {
|
"LAYOUT_60_ansi": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"`", "x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"label":"1", "x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"label":"2", "x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"label":"3", "x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"label":"4", "x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"label":"5", "x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"label":"6", "x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"label":"7", "x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"label":"8", "x":8, "y":0},
|
{"matrix": [1, 0], "x": 8, "y": 0},
|
||||||
{"label":"9", "x":9, "y":0},
|
{"matrix": [1, 1], "x": 9, "y": 0},
|
||||||
{"label":"0", "x":10, "y":0},
|
{"matrix": [1, 2], "x": 10, "y": 0},
|
||||||
{"label":"-", "x":11, "y":0},
|
{"matrix": [1, 3], "x": 11, "y": 0},
|
||||||
{"label":"=", "x":12, "y":0},
|
{"matrix": [1, 4], "x": 12, "y": 0},
|
||||||
{"label":"Backspace", "x":13, "y":0, "w":2},
|
{"matrix": [1, 5], "x": 13, "y": 0, "w": 2},
|
||||||
{"label":"Tab", "x":0, "y":1, "w":1.5},
|
|
||||||
{"label":"Q", "x":1.5, "y":1},
|
{"matrix": [1, 6], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"label":"W", "x":2.5, "y":1},
|
{"matrix": [1, 7], "x": 1.5, "y": 1},
|
||||||
{"label":"E", "x":3.5, "y":1},
|
{"matrix": [2, 0], "x": 2.5, "y": 1},
|
||||||
{"label":"R", "x":4.5, "y":1},
|
{"matrix": [2, 1], "x": 3.5, "y": 1},
|
||||||
{"label":"T", "x":5.5, "y":1},
|
{"matrix": [2, 2], "x": 4.5, "y": 1},
|
||||||
{"label":"Y", "x":6.5, "y":1},
|
{"matrix": [2, 3], "x": 5.5, "y": 1},
|
||||||
{"label":"U", "x":7.5, "y":1},
|
{"matrix": [2, 4], "x": 6.5, "y": 1},
|
||||||
{"label":"I", "x":8.5, "y":1},
|
{"matrix": [2, 5], "x": 7.5, "y": 1},
|
||||||
{"label":"O", "x":9.5, "y":1},
|
{"matrix": [2, 6], "x": 8.5, "y": 1},
|
||||||
{"label":"P", "x":10.5, "y":1},
|
{"matrix": [2, 7], "x": 9.5, "y": 1},
|
||||||
{"label":"[", "x":11.5, "y":1},
|
{"matrix": [3, 0], "x": 10.5, "y": 1},
|
||||||
{"label":"]", "x":12.5, "y":1},
|
{"matrix": [3, 1], "x": 11.5, "y": 1},
|
||||||
{"label":"\\", "x":13.5, "y":1, "w":1.5},
|
{"matrix": [3, 2], "x": 12.5, "y": 1},
|
||||||
{"label":"Caps Lock", "x":0, "y":2, "w":1.75},
|
{"matrix": [3, 3], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
{"label":"A", "x":1.75, "y":2},
|
|
||||||
{"label":"S", "x":2.75, "y":2},
|
{"matrix": [3, 4], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"label":"D", "x":3.75, "y":2},
|
{"matrix": [3, 5], "x": 1.75, "y": 2},
|
||||||
{"label":"F", "x":4.75, "y":2},
|
{"matrix": [3, 6], "x": 2.75, "y": 2},
|
||||||
{"label":"G", "x":5.75, "y":2},
|
{"matrix": [3, 7], "x": 3.75, "y": 2},
|
||||||
{"label":"H", "x":6.75, "y":2},
|
{"matrix": [4, 0], "x": 4.75, "y": 2},
|
||||||
{"label":"J", "x":7.75, "y":2},
|
{"matrix": [4, 1], "x": 5.75, "y": 2},
|
||||||
{"label":"K", "x":8.75, "y":2},
|
{"matrix": [4, 2], "x": 6.75, "y": 2},
|
||||||
{"label":"L", "x":9.75, "y":2},
|
{"matrix": [4, 3], "x": 7.75, "y": 2},
|
||||||
{"label":";", "x":10.75, "y":2},
|
{"matrix": [4, 4], "x": 8.75, "y": 2},
|
||||||
{"label":"'", "x":11.75, "y":2},
|
{"matrix": [4, 5], "x": 9.75, "y": 2},
|
||||||
{"label":"Enter", "x":12.75, "y":2, "w":2.25},
|
{"matrix": [4, 6], "x": 10.75, "y": 2},
|
||||||
{"label":"Shift", "x":0, "y":3, "w":2.25},
|
{"matrix": [4, 7], "x": 11.75, "y": 2},
|
||||||
{"label":"Z", "x":2.25, "y":3},
|
{"matrix": [5, 0], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
{"label":"X", "x":3.25, "y":3},
|
|
||||||
{"label":"C", "x":4.25, "y":3},
|
{"matrix": [5, 1], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"label":"V", "x":5.25, "y":3},
|
{"matrix": [5, 2], "x": 2.25, "y": 3},
|
||||||
{"label":"B", "x":6.25, "y":3},
|
{"matrix": [5, 3], "x": 3.25, "y": 3},
|
||||||
{"label":"N", "x":7.25, "y":3},
|
{"matrix": [5, 4], "x": 4.25, "y": 3},
|
||||||
{"label":"M", "x":8.25, "y":3},
|
{"matrix": [5, 5], "x": 5.25, "y": 3},
|
||||||
{"label":",", "x":9.25, "y":3},
|
{"matrix": [5, 6], "x": 6.25, "y": 3},
|
||||||
{"label":".", "x":10.25, "y":3},
|
{"matrix": [5, 7], "x": 7.25, "y": 3},
|
||||||
{"label":"/", "x":11.25, "y":3},
|
{"matrix": [6, 0], "x": 8.25, "y": 3},
|
||||||
{"label":"Shift", "x":12.25, "y":3, "w":2.75},
|
{"matrix": [6, 1], "x": 9.25, "y": 3},
|
||||||
{"label":"Ctrl", "x":0, "y":4, "w":1.25},
|
{"matrix": [6, 2], "x": 10.25, "y": 3},
|
||||||
{"label":"GUI", "x":1.25, "y":4, "w":1.25},
|
{"matrix": [6, 3], "x": 11.25, "y": 3},
|
||||||
{"label":"Alt", "x":2.5, "y":4, "w":1.25},
|
{"matrix": [6, 4], "x": 12.25, "y": 3, "w": 2.75},
|
||||||
{"label":"Space", "x":3.75, "y":4, "w":6.25},
|
|
||||||
{"label":"Alt", "x":10, "y":4, "w":1.25},
|
{"matrix": [6, 5], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"label":"GUI", "x":11.25, "y":4, "w":1.25},
|
{"matrix": [6, 6], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"label":"Menu", "x":12.5, "y":4, "w":1.25},
|
{"matrix": [6, 7], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"label":"Ctrl", "x":13.75, "y":4, "w":1.25}
|
{"matrix": [7, 0], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
|
{"matrix": [7, 1], "x": 10, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [7, 2], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [7, 3], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [7, 4], "x": 13.75, "y": 4, "w": 1.25}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define LAYOUT_60_ansi( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K10, K11, K12, K13, K14, K15, \
|
|
||||||
K16, K17, K20, K21, K22, K23, K24, K25, K26, K27, K30, K31, K32, K33, \
|
|
||||||
K34, K35, K36, K37, K40, K41, K42, K43, K44, K45, K46, K47, K50, \
|
|
||||||
K51, K52, K53, K54, K55, K56, K57, K60, K61, K62, K63, K64, \
|
|
||||||
K65, K66, K67, K70, K71, K72, K73, K74\
|
|
||||||
) { \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07 }, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17 }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27 }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37 }, \
|
|
||||||
{ K40, K41, K42, K43, K44, K45, K46, K47 }, \
|
|
||||||
{ K50, K51, K52, K53, K54, K55, K56, K57 }, \
|
|
||||||
{ K60, K61, K62, K63, K64, K65, K66, K67 }, \
|
|
||||||
{ K70, K71, K72, K73, K74 }, \
|
|
||||||
}
|
|
@ -21,7 +21,74 @@
|
|||||||
"community_layouts": ["60_iso"],
|
"community_layouts": ["60_iso"],
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_60_iso": {
|
"LAYOUT_60_iso": {
|
||||||
"layout": [{"label":"\u00ac", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"\"", "x":2, "y":0}, {"label":"\u00a3", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"Backspace", "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":"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":"~", "x":12.75, "y":2}, {"label":"Enter", "x":13.75, "y":1, "w":1.25, "h":2}, {"label":"Shift", "x":0, "y":3, "w":1.25}, {"label":"|", "x":1.25, "y":3}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":2.75}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Win", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":6.25}, {"label":"AltGr", "x":10, "y":4, "w":1.25}, {"label":"Win", "x":11.25, "y":4, "w":1.25}, {"label":"Menu", "x":12.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":4, "w":1.25}]
|
"layout": [
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
{"matrix": [1, 0], "x": 1, "y": 0},
|
||||||
|
{"matrix": [0, 1], "x": 2, "y": 0},
|
||||||
|
{"matrix": [1, 1], "x": 3, "y": 0},
|
||||||
|
{"matrix": [0, 2], "x": 4, "y": 0},
|
||||||
|
{"matrix": [1, 2], "x": 5, "y": 0},
|
||||||
|
{"matrix": [0, 3], "x": 6, "y": 0},
|
||||||
|
{"matrix": [1, 3], "x": 7, "y": 0},
|
||||||
|
{"matrix": [0, 4], "x": 8, "y": 0},
|
||||||
|
{"matrix": [1, 4], "x": 9, "y": 0},
|
||||||
|
{"matrix": [0, 5], "x": 10, "y": 0},
|
||||||
|
{"matrix": [1, 5], "x": 11, "y": 0},
|
||||||
|
{"matrix": [0, 6], "x": 12, "y": 0},
|
||||||
|
{"matrix": [3, 6], "x": 13, "y": 0, "w": 2},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
|
{"matrix": [3, 0], "x": 1.5, "y": 1},
|
||||||
|
{"matrix": [2, 1], "x": 2.5, "y": 1},
|
||||||
|
{"matrix": [3, 1], "x": 3.5, "y": 1},
|
||||||
|
{"matrix": [2, 2], "x": 4.5, "y": 1},
|
||||||
|
{"matrix": [3, 2], "x": 5.5, "y": 1},
|
||||||
|
{"matrix": [2, 3], "x": 6.5, "y": 1},
|
||||||
|
{"matrix": [3, 3], "x": 7.5, "y": 1},
|
||||||
|
{"matrix": [2, 4], "x": 8.5, "y": 1},
|
||||||
|
{"matrix": [3, 4], "x": 9.5, "y": 1},
|
||||||
|
{"matrix": [2, 5], "x": 10.5, "y": 1},
|
||||||
|
{"matrix": [3, 5], "x": 11.5, "y": 1},
|
||||||
|
{"matrix": [2, 6], "x": 12.5, "y": 1},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
|
{"matrix": [5, 0], "x": 1.75, "y": 2},
|
||||||
|
{"matrix": [4, 1], "x": 2.75, "y": 2},
|
||||||
|
{"matrix": [5, 1], "x": 3.75, "y": 2},
|
||||||
|
{"matrix": [4, 2], "x": 4.75, "y": 2},
|
||||||
|
{"matrix": [5, 2], "x": 5.75, "y": 2},
|
||||||
|
{"matrix": [4, 3], "x": 6.75, "y": 2},
|
||||||
|
{"matrix": [5, 3], "x": 7.75, "y": 2},
|
||||||
|
{"matrix": [4, 4], "x": 8.75, "y": 2},
|
||||||
|
{"matrix": [5, 4], "x": 9.75, "y": 2},
|
||||||
|
{"matrix": [4, 5], "x": 10.75, "y": 2},
|
||||||
|
{"matrix": [5, 5], "x": 11.75, "y": 2},
|
||||||
|
{"matrix": [4, 6], "x": 12.75, "y": 2},
|
||||||
|
{"matrix": [7, 6], "x": 13.75, "y": 1, "w": 1.25, "h": 2},
|
||||||
|
|
||||||
|
{"matrix": [6, 0], "x": 0, "y": 3, "w": 1.25},
|
||||||
|
{"matrix": [7, 0], "x": 1.25, "y": 3},
|
||||||
|
{"matrix": [6, 1], "x": 2.25, "y": 3},
|
||||||
|
{"matrix": [7, 1], "x": 3.25, "y": 3},
|
||||||
|
{"matrix": [6, 2], "x": 4.25, "y": 3},
|
||||||
|
{"matrix": [7, 2], "x": 5.25, "y": 3},
|
||||||
|
{"matrix": [6, 3], "x": 6.25, "y": 3},
|
||||||
|
{"matrix": [7, 3], "x": 7.25, "y": 3},
|
||||||
|
{"matrix": [6, 4], "x": 8.25, "y": 3},
|
||||||
|
{"matrix": [7, 4], "x": 9.25, "y": 3},
|
||||||
|
{"matrix": [6, 5], "x": 10.25, "y": 3},
|
||||||
|
{"matrix": [7, 5], "x": 11.25, "y": 3},
|
||||||
|
{"matrix": [8, 6], "x": 12.25, "y": 3, "w": 2.75},
|
||||||
|
|
||||||
|
{"matrix": [8, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [9, 0], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [8, 1], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [8, 3], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
|
{"matrix": [9, 3], "x": 10, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [9, 4], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [8, 5], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [9, 5], "x": 13.75, "y": 4, "w": 1.25}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,23 +21,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define CAPS_LED_GROUP LED_FLAG_INDICATOR // change what leds to target, for example LED_FLAG_KEYLIGHT for alpas or LED_FLAG_MODIFIER for modifiers
|
#define CAPS_LED_GROUP LED_FLAG_INDICATOR // change what leds to target, for example LED_FLAG_KEYLIGHT for alpas or LED_FLAG_MODIFIER for modifiers
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#define LAYOUT_60_iso( \
|
|
||||||
k00, k10, k01, k11, k02, k12, k03, k13, k04, k14, k05, k15, k06, k36, \
|
|
||||||
k20, k30, k21, k31, k22, k32, k23, k33, k24, k34, k25, k35, k26, \
|
|
||||||
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, k86,\
|
|
||||||
k80, k90, k81, k83, k93, k94, k85, k95 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{k00, k01, k02, k03, k04, k05, k06}, \
|
|
||||||
{k10, k11, k12, k13, k14, k15, KC_NO}, \
|
|
||||||
{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, KC_NO}, \
|
|
||||||
{k60, k61, k62, k63, k64, k65, KC_NO}, \
|
|
||||||
{k70, k71, k72, k73, k74, k75, k76}, \
|
|
||||||
{k80, k81, KC_NO, k83, KC_NO, k85, k86}, \
|
|
||||||
{k90, KC_NO, KC_NO, k93, k94, k95, KC_NO} \
|
|
||||||
}
|
|
||||||
|
@ -24,7 +24,120 @@
|
|||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":1.25, "y":0}, {"label":"F2", "x":2.25, "y":0}, {"label":"F3", "x":3.25, "y":0}, {"label":"F4", "x":4.25, "y":0}, {"label":"F5", "x":5.5, "y":0}, {"label":"F6", "x":6.5, "y":0}, {"label":"F7", "x":7.5, "y":0}, {"label":"F8", "x":8.5, "y":0}, {"label":"F9", "x":9.75, "y":0}, {"label":"F10", "x":10.75, "y":0}, {"label":"F11", "x":11.75, "y":0}, {"label":"F12", "x":12.75, "y":0}, {"label":"F13", "x":14, "y":0}, {"label":"PrtSc", "x":15.25, "y":0}, {"label":"Scroll Lock", "x":16.25, "y":0}, {"label":"Pause", "x":17.25, "y":0}, {"label":"~", "x":0, "y":1.5}, {"label":"!", "x":1, "y":1.5}, {"label":"@", "x":2, "y":1.5}, {"label":"#", "x":3, "y":1.5}, {"label":"$", "x":4, "y":1.5}, {"label":"%", "x":5, "y":1.5}, {"label":"^", "x":6, "y":1.5}, {"label":"&", "x":7, "y":1.5}, {"label":"*", "x":8, "y":1.5}, {"label":"(", "x":9, "y":1.5}, {"label":")", "x":10, "y":1.5}, {"label":"_", "x":11, "y":1.5}, {"label":"+", "x":12, "y":1.5}, {"label":"|", "x":13, "y":1.5}, {"label":"~", "x":14, "y":1.5}, {"label":"Insert", "x":15.25, "y":1.5}, {"label":"Home", "x":16.25, "y":1.5}, {"label":"PgUp", "x":17.25, "y":1.5}, {"label":"Tab", "x":0, "y":2.5, "w":1.5}, {"label":"Q", "x":1.5, "y":2.5}, {"label":"W", "x":2.5, "y":2.5}, {"label":"E", "x":3.5, "y":2.5}, {"label":"R", "x":4.5, "y":2.5}, {"label":"T", "x":5.5, "y":2.5}, {"label":"Y", "x":6.5, "y":2.5}, {"label":"U", "x":7.5, "y":2.5}, {"label":"I", "x":8.5, "y":2.5}, {"label":"O", "x":9.5, "y":2.5}, {"label":"P", "x":10.5, "y":2.5}, {"label":"{", "x":11.5, "y":2.5}, {"label":"}", "x":12.5, "y":2.5}, {"label":"|", "x":13.5, "y":2.5, "w":1.5}, {"label":"Delete", "x":15.25, "y":2.5}, {"label":"End", "x":16.25, "y":2.5}, {"label":"PgDn", "x":17.25, "y":2.5}, {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, {"label":"A", "x":1.75, "y":3.5}, {"label":"S", "x":2.75, "y":3.5}, {"label":"D", "x":3.75, "y":3.5}, {"label":"F", "x":4.75, "y":3.5}, {"label":"G", "x":5.75, "y":3.5}, {"label":"H", "x":6.75, "y":3.5}, {"label":"J", "x":7.75, "y":3.5}, {"label":"K", "x":8.75, "y":3.5}, {"label":"L", "x":9.75, "y":3.5}, {"label":":", "x":10.75, "y":3.5}, {"label":"\"", "x":11.75, "y":3.5}, {"label":"~", "x":12.75, "y":3.5}, {"label":"Enter", "x":13.75, "y":3.5, "w":1.25}, {"x":15.25, "y":3.5}, {"x":17.25, "y":3.5}, {"label":"Shift", "x":0, "y":4.5, "w":1.25}, {"label":"|", "x":1.25, "y":4.5}, {"label":"Z", "x":2.25, "y":4.5}, {"label":"X", "x":3.25, "y":4.5}, {"label":"C", "x":4.25, "y":4.5}, {"label":"V", "x":5.25, "y":4.5}, {"label":"B", "x":6.25, "y":4.5}, {"label":"N", "x":7.25, "y":4.5}, {"label":"M", "x":8.25, "y":4.5}, {"label":"<", "x":9.25, "y":4.5}, {"label":">", "x":10.25, "y":4.5}, {"label":"?", "x":11.25, "y":4.5}, {"label":"Shift", "x":12.25, "y":4.5, "w":1.75}, {"label":"Fn", "x":14, "y":4.5}, {"label":"\u2191", "x":16.25, "y":4.5}, {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, {"label":"Win", "x":1.25, "y":5.5, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, {"x":3.75, "y":5.5, "w":2.25}, {"x":6, "y":5.5, "w":1.25}, {"x":7.25, "y":5.5, "w":2.75}, {"label":"AltGr", "x":10, "y":5.5, "w":1.25}, {"label":"Menu", "x":11.25, "y":5.5, "w":1.25}, {"label":"Win", "x":12.5, "y":5.5, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, {"label":"\u2190", "x":15.25, "y":5.5}, {"label":"\u2193", "x":16.25, "y":5.5}, {"label":"\u2192", "x":17.25, "y":5.5}]
|
"layout": [
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 1.25, "y": 0},
|
||||||
|
{"matrix": [0, 1], "x": 2.25, "y": 0},
|
||||||
|
{"matrix": [1, 1], "x": 3.25, "y": 0},
|
||||||
|
{"matrix": [0, 2], "x": 4.25, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 2], "x": 5.5, "y": 0},
|
||||||
|
{"matrix": [0, 3], "x": 6.5, "y": 0},
|
||||||
|
{"matrix": [1, 3], "x": 7.5, "y": 0},
|
||||||
|
{"matrix": [0, 4], "x": 8.5, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 4], "x": 9.75, "y": 0},
|
||||||
|
{"matrix": [0, 5], "x": 10.75, "y": 0},
|
||||||
|
{"matrix": [1, 5], "x": 11.75, "y": 0},
|
||||||
|
{"matrix": [0, 6], "x": 12.75, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 6], "x": 14, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [0, 7], "x": 15.25, "y": 0},
|
||||||
|
{"matrix": [1, 7], "x": 16.25, "y": 0},
|
||||||
|
{"matrix": [3, 7], "x": 17.25, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 1.5},
|
||||||
|
{"matrix": [3, 0], "x": 1, "y": 1.5},
|
||||||
|
{"matrix": [2, 1], "x": 2, "y": 1.5},
|
||||||
|
{"matrix": [3, 1], "x": 3, "y": 1.5},
|
||||||
|
{"matrix": [2, 2], "x": 4, "y": 1.5},
|
||||||
|
{"matrix": [3, 2], "x": 5, "y": 1.5},
|
||||||
|
{"matrix": [2, 3], "x": 6, "y": 1.5},
|
||||||
|
{"matrix": [3, 3], "x": 7, "y": 1.5},
|
||||||
|
{"matrix": [2, 4], "x": 8, "y": 1.5},
|
||||||
|
{"matrix": [3, 4], "x": 9, "y": 1.5},
|
||||||
|
{"matrix": [2, 5], "x": 10, "y": 1.5},
|
||||||
|
{"matrix": [3, 5], "x": 11, "y": 1.5},
|
||||||
|
{"matrix": [2, 6], "x": 12, "y": 1.5},
|
||||||
|
{"matrix": [3, 6], "x": 13, "y": 1.5},
|
||||||
|
{"matrix": [6, 7], "x": 14, "y": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [2, 7], "x": 15.25, "y": 1.5},
|
||||||
|
{"matrix": [5, 7], "x": 16.25, "y": 1.5},
|
||||||
|
{"matrix": [9, 7], "x": 17.25, "y": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 2.5, "w": 1.5},
|
||||||
|
{"matrix": [5, 0], "x": 1.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 1], "x": 2.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 1], "x": 3.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 2], "x": 4.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 2], "x": 5.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 3], "x": 6.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 3], "x": 7.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 4], "x": 8.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 4], "x": 9.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 5], "x": 10.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 5], "x": 11.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 6], "x": 12.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [4, 7], "x": 15.25, "y": 2.5},
|
||||||
|
{"matrix": [7, 7], "x": 16.25, "y": 2.5},
|
||||||
|
{"matrix": [11, 7], "x": 17.25, "y": 2.5},
|
||||||
|
|
||||||
|
{"matrix": [6, 0], "x": 0, "y": 3.5, "w": 1.75},
|
||||||
|
{"matrix": [7, 0], "x": 1.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 1], "x": 2.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 1], "x": 3.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 2], "x": 4.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 2], "x": 5.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 3], "x": 6.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 3], "x": 7.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 4], "x": 8.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 4], "x": 9.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 5], "x": 10.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 5], "x": 11.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 6], "x": 12.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 6], "x": 13.75, "y": 3.5, "w": 1.25},
|
||||||
|
|
||||||
|
{"matrix": [8, 0], "x": 15.25, "y": 3.5},
|
||||||
|
|
||||||
|
{"matrix": [9, 0], "x": 17.25, "y": 3.5},
|
||||||
|
|
||||||
|
{"matrix": [8, 1], "x": 0, "y": 4.5, "w": 1.25},
|
||||||
|
{"matrix": [9, 1], "x": 1.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 2], "x": 2.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 2], "x": 3.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 3], "x": 4.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 3], "x": 5.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 4], "x": 6.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 4], "x": 7.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 5], "x": 8.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 5], "x": 9.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 6], "x": 10.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 6], "x": 11.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 7], "x": 12.25, "y": 4.5, "w": 1.75},
|
||||||
|
{"matrix": [10, 0], "x": 14, "y": 4.5},
|
||||||
|
|
||||||
|
{"matrix": [11, 1], "x": 16.25, "y": 4.5},
|
||||||
|
|
||||||
|
{"matrix": [10, 1], "x": 0, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 2], "x": 1.25, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [10, 3], "x": 2.5, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 3], "x": 3.75, "y": 5.5, "w": 2.25},
|
||||||
|
{"matrix": [10, 4], "x": 6, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 4], "x": 7.25, "y": 5.5, "w": 2.75},
|
||||||
|
{"matrix": [10, 5], "x": 10, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 5], "x": 11.25, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [10, 6], "x": 12.5, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 6], "x": 13.75, "y": 5.5, "w": 1.25},
|
||||||
|
|
||||||
|
{"matrix": [10, 7], "x": 15.25, "y": 5.5},
|
||||||
|
{"matrix": [11, 0], "x": 16.25, "y": 5.5},
|
||||||
|
{"matrix": [10, 2], "x": 17.25, "y": 5.5}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,27 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
k00, k10, k01, k11, k02, k12, k03, k13, k04, k14, k05, k15, k06, k16, k07, k17, k37, \
|
|
||||||
k20, k30, k21, k31, k22, k32, k23, k33, k24, k34, k25, k35, k26, k36, k67, k27, k57, k97, \
|
|
||||||
k40, k50, k41, k51, k42, k52, k43, k53, k44, k54, k45, k55, k46, k56, k47, k77, kb7, \
|
|
||||||
k60, k70, k61, k71, k62, k72, k63, k73, k64, k74, k65, k75, k66, k76, \
|
|
||||||
k80, k90, k81, k91, k82, k92, k83, k93, k84, k94, k85, k95, k86, k96, k87, \
|
|
||||||
ka0, kb1, ka1, kb2, ka3, kb3, ka4, kb4, ka5, kb5, ka6, kb6, ka7, \
|
|
||||||
kb0, ka2 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{k00, k01, k02, k03, k04, k05, k06, k07}, \
|
|
||||||
{k10, k11, k12, k13, k14, k15, k16, k17}, \
|
|
||||||
{k20, k21, k22, k23, k24, k25, k26, k27}, \
|
|
||||||
{k30, k31, k32, k33, k34, k35, k36, k37}, \
|
|
||||||
{k40, k41, k42, k43, k44, k45, k46, k47}, \
|
|
||||||
{k50, k51, k52, k53, k54, k55, k56, k57}, \
|
|
||||||
{k60, k61, k62, k63, k64, k65, k66, k67}, \
|
|
||||||
{k70, k71, k72, k73, k74, k75, k76, k77}, \
|
|
||||||
{k80, k81, k82, k83, k84, k85, k86, k87}, \
|
|
||||||
{k90, k91, k92, k93, k94, k95, k96, k97}, \
|
|
||||||
{ka0, ka1, ka2, ka3, ka4, ka5, ka6, ka7}, \
|
|
||||||
{kb0, kb1, kb2, kb3, kb4, kb5, kb6, kb7} \
|
|
||||||
}
|
|
||||||
|
@ -20,7 +20,120 @@
|
|||||||
"bootloader": "stm32-dfu",
|
"bootloader": "stm32-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":1.25, "y":0}, {"label":"F2", "x":2.25, "y":0}, {"label":"F3", "x":3.25, "y":0}, {"label":"F4", "x":4.25, "y":0}, {"label":"F5", "x":5.5, "y":0}, {"label":"F6", "x":6.5, "y":0}, {"label":"F7", "x":7.5, "y":0}, {"label":"F8", "x":8.5, "y":0}, {"label":"F9", "x":9.75, "y":0}, {"label":"F10", "x":10.75, "y":0}, {"label":"F11", "x":11.75, "y":0}, {"label":"F12", "x":12.75, "y":0}, {"label":"F13", "x":14, "y":0}, {"label":"PrtSc", "x":15.25, "y":0}, {"label":"Scroll Lock", "x":16.25, "y":0}, {"label":"Pause", "x":17.25, "y":0}, {"label":"~", "x":0, "y":1.5}, {"label":"!", "x":1, "y":1.5}, {"label":"@", "x":2, "y":1.5}, {"label":"#", "x":3, "y":1.5}, {"label":"$", "x":4, "y":1.5}, {"label":"%", "x":5, "y":1.5}, {"label":"^", "x":6, "y":1.5}, {"label":"&", "x":7, "y":1.5}, {"label":"*", "x":8, "y":1.5}, {"label":"(", "x":9, "y":1.5}, {"label":")", "x":10, "y":1.5}, {"label":"_", "x":11, "y":1.5}, {"label":"+", "x":12, "y":1.5}, {"label":"|", "x":13, "y":1.5}, {"label":"~", "x":14, "y":1.5}, {"label":"Insert", "x":15.25, "y":1.5}, {"label":"Home", "x":16.25, "y":1.5}, {"label":"PgUp", "x":17.25, "y":1.5}, {"label":"Tab", "x":0, "y":2.5, "w":1.5}, {"label":"Q", "x":1.5, "y":2.5}, {"label":"W", "x":2.5, "y":2.5}, {"label":"E", "x":3.5, "y":2.5}, {"label":"R", "x":4.5, "y":2.5}, {"label":"T", "x":5.5, "y":2.5}, {"label":"Y", "x":6.5, "y":2.5}, {"label":"U", "x":7.5, "y":2.5}, {"label":"I", "x":8.5, "y":2.5}, {"label":"O", "x":9.5, "y":2.5}, {"label":"P", "x":10.5, "y":2.5}, {"label":"{", "x":11.5, "y":2.5}, {"label":"}", "x":12.5, "y":2.5}, {"label":"|", "x":13.5, "y":2.5, "w":1.5}, {"label":"Delete", "x":15.25, "y":2.5}, {"label":"End", "x":16.25, "y":2.5}, {"label":"PgDn", "x":17.25, "y":2.5}, {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, {"label":"A", "x":1.75, "y":3.5}, {"label":"S", "x":2.75, "y":3.5}, {"label":"D", "x":3.75, "y":3.5}, {"label":"F", "x":4.75, "y":3.5}, {"label":"G", "x":5.75, "y":3.5}, {"label":"H", "x":6.75, "y":3.5}, {"label":"J", "x":7.75, "y":3.5}, {"label":"K", "x":8.75, "y":3.5}, {"label":"L", "x":9.75, "y":3.5}, {"label":":", "x":10.75, "y":3.5}, {"label":"\"", "x":11.75, "y":3.5}, {"label":"~", "x":12.75, "y":3.5}, {"label":"Enter", "x":13.75, "y":3.5, "w":1.25}, {"x":15.25, "y":3.5}, {"x":17.25, "y":3.5}, {"label":"Shift", "x":0, "y":4.5, "w":1.25}, {"label":"|", "x":1.25, "y":4.5}, {"label":"Z", "x":2.25, "y":4.5}, {"label":"X", "x":3.25, "y":4.5}, {"label":"C", "x":4.25, "y":4.5}, {"label":"V", "x":5.25, "y":4.5}, {"label":"B", "x":6.25, "y":4.5}, {"label":"N", "x":7.25, "y":4.5}, {"label":"M", "x":8.25, "y":4.5}, {"label":"<", "x":9.25, "y":4.5}, {"label":">", "x":10.25, "y":4.5}, {"label":"?", "x":11.25, "y":4.5}, {"label":"Shift", "x":12.25, "y":4.5, "w":1.75}, {"label":"Fn", "x":14, "y":4.5}, {"label":"\u2191", "x":16.25, "y":4.5}, {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, {"label":"Win", "x":1.25, "y":5.5, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, {"x":3.75, "y":5.5, "w":2.25}, {"x":6, "y":5.5, "w":1.25}, {"x":7.25, "y":5.5, "w":2.75}, {"label":"AltGr", "x":10, "y":5.5, "w":1.25}, {"label":"Menu", "x":11.25, "y":5.5, "w":1.25}, {"label":"Win", "x":12.5, "y":5.5, "w":1.25}, {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, {"label":"\u2190", "x":15.25, "y":5.5}, {"label":"\u2193", "x":16.25, "y":5.5}, {"label":"\u2192", "x":17.25, "y":5.5}]
|
"layout": [
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 1.25, "y": 0},
|
||||||
|
{"matrix": [0, 1], "x": 2.25, "y": 0},
|
||||||
|
{"matrix": [1, 1], "x": 3.25, "y": 0},
|
||||||
|
{"matrix": [0, 2], "x": 4.25, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 2], "x": 5.5, "y": 0},
|
||||||
|
{"matrix": [0, 3], "x": 6.5, "y": 0},
|
||||||
|
{"matrix": [1, 3], "x": 7.5, "y": 0},
|
||||||
|
{"matrix": [0, 4], "x": 8.5, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 4], "x": 9.75, "y": 0},
|
||||||
|
{"matrix": [0, 5], "x": 10.75, "y": 0},
|
||||||
|
{"matrix": [1, 5], "x": 11.75, "y": 0},
|
||||||
|
{"matrix": [0, 6], "x": 12.75, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 6], "x": 14, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [0, 7], "x": 15.25, "y": 0},
|
||||||
|
{"matrix": [1, 7], "x": 16.25, "y": 0},
|
||||||
|
{"matrix": [3, 7], "x": 17.25, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 1.5},
|
||||||
|
{"matrix": [3, 0], "x": 1, "y": 1.5},
|
||||||
|
{"matrix": [2, 1], "x": 2, "y": 1.5},
|
||||||
|
{"matrix": [3, 1], "x": 3, "y": 1.5},
|
||||||
|
{"matrix": [2, 2], "x": 4, "y": 1.5},
|
||||||
|
{"matrix": [3, 2], "x": 5, "y": 1.5},
|
||||||
|
{"matrix": [2, 3], "x": 6, "y": 1.5},
|
||||||
|
{"matrix": [3, 3], "x": 7, "y": 1.5},
|
||||||
|
{"matrix": [2, 4], "x": 8, "y": 1.5},
|
||||||
|
{"matrix": [3, 4], "x": 9, "y": 1.5},
|
||||||
|
{"matrix": [2, 5], "x": 10, "y": 1.5},
|
||||||
|
{"matrix": [3, 5], "x": 11, "y": 1.5},
|
||||||
|
{"matrix": [2, 6], "x": 12, "y": 1.5},
|
||||||
|
{"matrix": [3, 6], "x": 13, "y": 1.5},
|
||||||
|
{"matrix": [6, 7], "x": 14, "y": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [2, 7], "x": 15.25, "y": 1.5},
|
||||||
|
{"matrix": [5, 7], "x": 16.25, "y": 1.5},
|
||||||
|
{"matrix": [9, 7], "x": 17.25, "y": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 2.5, "w": 1.5},
|
||||||
|
{"matrix": [5, 0], "x": 1.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 1], "x": 2.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 1], "x": 3.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 2], "x": 4.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 2], "x": 5.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 3], "x": 6.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 3], "x": 7.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 4], "x": 8.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 4], "x": 9.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 5], "x": 10.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 5], "x": 11.5, "y": 2.5},
|
||||||
|
{"matrix": [4, 6], "x": 12.5, "y": 2.5},
|
||||||
|
{"matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [4, 7], "x": 15.25, "y": 2.5},
|
||||||
|
{"matrix": [7, 7], "x": 16.25, "y": 2.5},
|
||||||
|
{"matrix": [11, 7], "x": 17.25, "y": 2.5},
|
||||||
|
|
||||||
|
{"matrix": [6, 0], "x": 0, "y": 3.5, "w": 1.75},
|
||||||
|
{"matrix": [7, 0], "x": 1.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 1], "x": 2.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 1], "x": 3.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 2], "x": 4.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 2], "x": 5.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 3], "x": 6.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 3], "x": 7.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 4], "x": 8.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 4], "x": 9.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 5], "x": 10.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 5], "x": 11.75, "y": 3.5},
|
||||||
|
{"matrix": [6, 6], "x": 12.75, "y": 3.5},
|
||||||
|
{"matrix": [7, 6], "x": 13.75, "y": 3.5, "w": 1.25},
|
||||||
|
|
||||||
|
{"matrix": [8, 0], "x": 15.25, "y": 3.5},
|
||||||
|
|
||||||
|
{"matrix": [9, 0], "x": 17.25, "y": 3.5},
|
||||||
|
|
||||||
|
{"matrix": [8, 1], "x": 0, "y": 4.5, "w": 1.25},
|
||||||
|
{"matrix": [9, 1], "x": 1.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 2], "x": 2.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 2], "x": 3.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 3], "x": 4.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 3], "x": 5.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 4], "x": 6.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 4], "x": 7.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 5], "x": 8.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 5], "x": 9.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 6], "x": 10.25, "y": 4.5},
|
||||||
|
{"matrix": [9, 6], "x": 11.25, "y": 4.5},
|
||||||
|
{"matrix": [8, 7], "x": 12.25, "y": 4.5, "w": 1.75},
|
||||||
|
{"matrix": [10, 0], "x": 14, "y": 4.5},
|
||||||
|
|
||||||
|
{"matrix": [11, 1], "x": 16.25, "y": 4.5},
|
||||||
|
|
||||||
|
{"matrix": [10, 1], "x": 0, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 2], "x": 1.25, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [10, 3], "x": 2.5, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 3], "x": 3.75, "y": 5.5, "w": 2.25},
|
||||||
|
{"matrix": [10, 4], "x": 6, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 4], "x": 7.25, "y": 5.5, "w": 2.75},
|
||||||
|
{"matrix": [10, 5], "x": 10, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 5], "x": 11.25, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [10, 6], "x": 12.5, "y": 5.5, "w": 1.25},
|
||||||
|
{"matrix": [11, 6], "x": 13.75, "y": 5.5, "w": 1.25},
|
||||||
|
|
||||||
|
{"matrix": [10, 7], "x": 15.25, "y": 5.5},
|
||||||
|
{"matrix": [11, 0], "x": 16.25, "y": 5.5},
|
||||||
|
{"matrix": [10, 2], "x": 17.25, "y": 5.5}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,27 +24,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
//#define SCROLL_LOCK_COLOR HSV_GREEN
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
k00, k10, k01, k11, k02, k12, k03, k13, k04, k14, k05, k15, k06, k16, k07, k17, k37, \
|
|
||||||
k20, k30, k21, k31, k22, k32, k23, k33, k24, k34, k25, k35, k26, k36, k67, k27, k57, k97, \
|
|
||||||
k40, k50, k41, k51, k42, k52, k43, k53, k44, k54, k45, k55, k46, k56, k47, k77, kb7, \
|
|
||||||
k60, k70, k61, k71, k62, k72, k63, k73, k64, k74, k65, k75, k66, k76, \
|
|
||||||
k80, k90, k81, k91, k82, k92, k83, k93, k84, k94, k85, k95, k86, k96, k87, \
|
|
||||||
ka0, kb1, ka1, kb2, ka3, kb3, ka4, kb4, ka5, kb5, ka6, kb6, ka7, \
|
|
||||||
kb0, ka2 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{k00, k01, k02, k03, k04, k05, k06, k07}, \
|
|
||||||
{k10, k11, k12, k13, k14, k15, k16, k17}, \
|
|
||||||
{k20, k21, k22, k23, k24, k25, k26, k27}, \
|
|
||||||
{k30, k31, k32, k33, k34, k35, k36, k37}, \
|
|
||||||
{k40, k41, k42, k43, k44, k45, k46, k47}, \
|
|
||||||
{k50, k51, k52, k53, k54, k55, k56, k57}, \
|
|
||||||
{k60, k61, k62, k63, k64, k65, k66, k67}, \
|
|
||||||
{k70, k71, k72, k73, k74, k75, k76, k77}, \
|
|
||||||
{k80, k81, k82, k83, k84, k85, k86, k87}, \
|
|
||||||
{k90, k91, k92, k93, k94, k95, k96, k97}, \
|
|
||||||
{ka0, ka1, ka2, ka3, ka4, ka5, ka6, ka7}, \
|
|
||||||
{kb0, kb1, kb2, kb3, kb4, kb5, kb6, kb7} \
|
|
||||||
}
|
|
||||||
|
@ -22,111 +22,111 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
|
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 1], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [1, 1], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 2], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [1, 2], "x": 5, "y": 0},
|
||||||
|
|
||||||
{"x":6.5, "y":0},
|
{"matrix": [0, 3], "x": 6.5, "y": 0},
|
||||||
{"x":7.5, "y":0},
|
{"matrix": [1, 3], "x": 7.5, "y": 0},
|
||||||
{"x":8.5, "y":0},
|
{"matrix": [0, 4], "x": 8.5, "y": 0},
|
||||||
{"x":9.5, "y":0},
|
{"matrix": [1, 4], "x": 9.5, "y": 0},
|
||||||
|
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 5], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [1, 5], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0},
|
{"matrix": [0, 6], "x": 13, "y": 0},
|
||||||
{"x":14, "y":0},
|
{"matrix": [1, 6], "x": 14, "y": 0},
|
||||||
|
|
||||||
{"x":15.25, "y":0},
|
{"matrix": [0, 7], "x": 15.25, "y": 0},
|
||||||
{"x":16.25, "y":0},
|
{"matrix": [1, 8], "x": 16.25, "y": 0},
|
||||||
{"x":17.25, "y":0},
|
{"matrix": [0, 8], "x": 17.25, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1.5},
|
{"matrix": [2, 0], "x": 0, "y": 1.5},
|
||||||
{"x":1, "y":1.5},
|
{"matrix": [3, 0], "x": 1, "y": 1.5},
|
||||||
{"x":2, "y":1.5},
|
{"matrix": [2, 1], "x": 2, "y": 1.5},
|
||||||
{"x":3, "y":1.5},
|
{"matrix": [3, 1], "x": 3, "y": 1.5},
|
||||||
{"x":4, "y":1.5},
|
{"matrix": [2, 2], "x": 4, "y": 1.5},
|
||||||
{"x":5, "y":1.5},
|
{"matrix": [3, 2], "x": 5, "y": 1.5},
|
||||||
{"x":6, "y":1.5},
|
{"matrix": [2, 3], "x": 6, "y": 1.5},
|
||||||
{"x":7, "y":1.5},
|
{"matrix": [3, 3], "x": 7, "y": 1.5},
|
||||||
{"x":8, "y":1.5},
|
{"matrix": [2, 4], "x": 8, "y": 1.5},
|
||||||
{"x":9, "y":1.5},
|
{"matrix": [3, 4], "x": 9, "y": 1.5},
|
||||||
{"x":10, "y":1.5},
|
{"matrix": [2, 5], "x": 10, "y": 1.5},
|
||||||
{"x":11, "y":1.5},
|
{"matrix": [3, 5], "x": 11, "y": 1.5},
|
||||||
{"x":12, "y":1.5},
|
{"matrix": [2, 6], "x": 12, "y": 1.5},
|
||||||
{"x":13, "y":1.5},
|
{"matrix": [3, 6], "x": 13, "y": 1.5},
|
||||||
{"x":14, "y":1.5},
|
{"matrix": [2, 7], "x": 14, "y": 1.5},
|
||||||
|
|
||||||
{"x":15.25, "y":1.5},
|
{"matrix": [3, 7], "x": 15.25, "y": 1.5},
|
||||||
{"x":16.25, "y":1.5},
|
{"matrix": [2, 8], "x": 16.25, "y": 1.5},
|
||||||
{"x":17.25, "y":1.5},
|
{"matrix": [3, 8], "x": 17.25, "y": 1.5},
|
||||||
|
|
||||||
{"x":0, "y":2.5, "w":1.5},
|
{"matrix": [4, 0], "x": 0, "y": 2.5, "w": 1.5},
|
||||||
{"x":1.5, "y":2.5},
|
{"matrix": [5, 0], "x": 1.5, "y": 2.5},
|
||||||
{"x":2.5, "y":2.5},
|
{"matrix": [4, 1], "x": 2.5, "y": 2.5},
|
||||||
{"x":3.5, "y":2.5},
|
{"matrix": [5, 1], "x": 3.5, "y": 2.5},
|
||||||
{"x":4.5, "y":2.5},
|
{"matrix": [4, 2], "x": 4.5, "y": 2.5},
|
||||||
{"x":5.5, "y":2.5},
|
{"matrix": [5, 2], "x": 5.5, "y": 2.5},
|
||||||
{"x":6.5, "y":2.5},
|
{"matrix": [4, 3], "x": 6.5, "y": 2.5},
|
||||||
{"x":7.5, "y":2.5},
|
{"matrix": [5, 3], "x": 7.5, "y": 2.5},
|
||||||
{"x":8.5, "y":2.5},
|
{"matrix": [4, 4], "x": 8.5, "y": 2.5},
|
||||||
{"x":9.5, "y":2.5},
|
{"matrix": [5, 4], "x": 9.5, "y": 2.5},
|
||||||
{"x":10.5, "y":2.5},
|
{"matrix": [4, 5], "x": 10.5, "y": 2.5},
|
||||||
{"x":11.5, "y":2.5},
|
{"matrix": [5, 5], "x": 11.5, "y": 2.5},
|
||||||
{"x":12.5, "y":2.5},
|
{"matrix": [4, 6], "x": 12.5, "y": 2.5},
|
||||||
{"x":13.5, "y":2.5, "w":1.5},
|
{"matrix": [5, 6], "x": 13.5, "y": 2.5, "w": 1.5},
|
||||||
|
|
||||||
{"x":15.25, "y":2.5},
|
{"matrix": [4, 7], "x": 15.25, "y": 2.5},
|
||||||
{"x":16.25, "y":2.5},
|
{"matrix": [4, 8], "x": 16.25, "y": 2.5},
|
||||||
{"x":17.25, "y":2.5},
|
{"matrix": [5, 8], "x": 17.25, "y": 2.5},
|
||||||
|
|
||||||
{"x":0, "y":3.5, "w":1.75},
|
{"matrix": [6, 0], "x": 0, "y": 3.5, "w": 1.75},
|
||||||
{"x":1.75, "y":3.5},
|
{"matrix": [7, 0], "x": 1.75, "y": 3.5},
|
||||||
{"x":2.75, "y":3.5},
|
{"matrix": [6, 1], "x": 2.75, "y": 3.5},
|
||||||
{"x":3.75, "y":3.5},
|
{"matrix": [7, 1], "x": 3.75, "y": 3.5},
|
||||||
{"x":4.75, "y":3.5},
|
{"matrix": [6, 2], "x": 4.75, "y": 3.5},
|
||||||
{"x":5.75, "y":3.5},
|
{"matrix": [7, 2], "x": 5.75, "y": 3.5},
|
||||||
{"x":6.75, "y":3.5},
|
{"matrix": [6, 3], "x": 6.75, "y": 3.5},
|
||||||
{"x":7.75, "y":3.5},
|
{"matrix": [7, 3], "x": 7.75, "y": 3.5},
|
||||||
{"x":8.75, "y":3.5},
|
{"matrix": [6, 4], "x": 8.75, "y": 3.5},
|
||||||
{"x":9.75, "y":3.5},
|
{"matrix": [7, 4], "x": 9.75, "y": 3.5},
|
||||||
{"x":10.75, "y":3.5},
|
{"matrix": [6, 5], "x": 10.75, "y": 3.5},
|
||||||
{"x":11.75, "y":3.5},
|
{"matrix": [7, 5], "x": 11.75, "y": 3.5},
|
||||||
{"x":12.75, "y":3.5},
|
{"matrix": [6, 6], "x": 12.75, "y": 3.5},
|
||||||
{"x":13.75, "y":3.5, "w":1.25},
|
{"matrix": [7, 6], "x": 13.75, "y": 3.5, "w": 1.25},
|
||||||
|
|
||||||
{"x":0, "y":4.5, "w":1.25},
|
{"matrix": [8, 0], "x": 0, "y": 4.5, "w": 1.25},
|
||||||
{"x":1.25, "y":4.5},
|
{"matrix": [9, 0], "x": 1.25, "y": 4.5},
|
||||||
{"x":2.25, "y":4.5},
|
{"matrix": [8, 1], "x": 2.25, "y": 4.5},
|
||||||
{"x":3.25, "y":4.5},
|
{"matrix": [9, 1], "x": 3.25, "y": 4.5},
|
||||||
{"x":4.25, "y":4.5},
|
{"matrix": [8, 2], "x": 4.25, "y": 4.5},
|
||||||
{"x":5.25, "y":4.5},
|
{"matrix": [9, 2], "x": 5.25, "y": 4.5},
|
||||||
{"x":6.25, "y":4.5},
|
{"matrix": [8, 3], "x": 6.25, "y": 4.5},
|
||||||
{"x":7.25, "y":4.5},
|
{"matrix": [9, 3], "x": 7.25, "y": 4.5},
|
||||||
{"x":8.25, "y":4.5},
|
{"matrix": [8, 4], "x": 8.25, "y": 4.5},
|
||||||
{"x":9.25, "y":4.5},
|
{"matrix": [9, 4], "x": 9.25, "y": 4.5},
|
||||||
{"x":10.25, "y":4.5},
|
{"matrix": [8, 5], "x": 10.25, "y": 4.5},
|
||||||
{"x":11.25, "y":4.5},
|
{"matrix": [9, 5], "x": 11.25, "y": 4.5},
|
||||||
{"x":12.25, "y":4.5, "w":1.75},
|
{"matrix": [8, 6], "x": 12.25, "y": 4.5, "w": 1.75},
|
||||||
{"x":14, "y":4.5},
|
{"matrix": [9, 6], "x": 14, "y": 4.5},
|
||||||
|
|
||||||
{"x":16.25, "y":4.5},
|
{"matrix": [9, 8], "x": 16.25, "y": 4.5},
|
||||||
|
|
||||||
{"x":0, "y":5.5, "w":1.5},
|
{"matrix": [10, 0], "x": 0, "y": 5.5, "w": 1.5},
|
||||||
{"x":1.5, "y":5.5},
|
{"matrix": [10, 1], "x": 1.5, "y": 5.5},
|
||||||
{"x":2.5, "y":5.5, "w":1.5},
|
{"matrix": [11, 1], "x": 2.5, "y": 5.5, "w": 1.5},
|
||||||
{"x":4, "y":5.5, "w":3},
|
{"matrix": [11, 2], "x": 4, "y": 5.5, "w": 3},
|
||||||
{"x":7, "y":5.5},
|
{"matrix": [11, 3], "x": 7, "y": 5.5},
|
||||||
{"x":8, "y":5.5, "w":3},
|
{"matrix": [11, 4], "x": 8, "y": 5.5, "w": 3},
|
||||||
{"x":11, "y":5.5, "w":1.5},
|
{"matrix": [11, 5], "x": 11, "y": 5.5, "w": 1.5},
|
||||||
{"x":12.5, "y":5.5},
|
{"matrix": [10, 6], "x": 12.5, "y": 5.5},
|
||||||
{"x":13.5, "y":5.5, "w":1.5},
|
{"matrix": [11, 6], "x": 13.5, "y": 5.5, "w": 1.5},
|
||||||
|
|
||||||
{"x":15.25, "y":5.5},
|
{"matrix": [10, 7], "x": 15.25, "y": 5.5},
|
||||||
{"x":16.25, "y":5.5},
|
{"matrix": [11, 8], "x": 16.25, "y": 5.5},
|
||||||
{"x":17.25, "y":5.5}
|
{"matrix": [10, 8], "x": 17.25, "y": 5.5}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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_a.h"
|
|
@ -1,42 +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"
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
k00, k01, k11, k02, k12, k03, k13, k04, k14, k05, k15, k06, k16, k07, k18, k08, \
|
|
||||||
k20, k30, k21, k31, k22, k32, k23, k33, k24, k34, k25, k35, k26, k36, k27, k37, k28, k38, \
|
|
||||||
k40, k50, k41, k51, k42, k52, k43, k53, k44, k54, k45, k55, k46, k56, k47, k48, k58, \
|
|
||||||
k60, k70, k61, k71, k62, k72, k63, k73, k64, k74, k65, k75, k66, k76, \
|
|
||||||
k80, k90, k81, k91, k82, k92, k83, k93, k84, k94, k85, k95, k86, k96, k98, \
|
|
||||||
ka0, ka1, kb1, kb2, kb3, kb4, kb5, ka6, kb6, ka7, kb8, ka8 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08}, \
|
|
||||||
{KC_NO, k11, k12, k13, k14, k15, k16, KC_NO, k18}, \
|
|
||||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28}, \
|
|
||||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38}, \
|
|
||||||
{k40, k41, k42, k43, k44, k45, k46, k47, k48}, \
|
|
||||||
{k50, k51, k52, k53, k54, k55, k56, KC_NO, k58}, \
|
|
||||||
{k60, k61, k62, k63, k64, k65, k66, KC_NO, KC_NO}, \
|
|
||||||
{k70, k71, k72, k73, k74, k75, k76, KC_NO, KC_NO}, \
|
|
||||||
{k80, k81, k82, k83, k84, k85, k86, KC_NO, KC_NO}, \
|
|
||||||
{k90, k91, k92, k93, k94, k95, k96, KC_NO, k98}, \
|
|
||||||
{ka0, ka1, KC_NO, KC_NO, KC_NO, KC_NO, ka6, ka7, ka8}, \
|
|
||||||
{KC_NO, kb1, kb2, kb3, kb4, kb5, kb6, KC_NO, kb8} \
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
#include "austin.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
void keyboard_pre_init_kb(void) {
|
void keyboard_pre_init_kb(void) {
|
||||||
setPinOutput(A0);
|
setPinOutput(A0);
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define ___ KC_NO
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, K0I, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K5I, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K3I, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, K3G, K3H, \
|
|
||||||
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4F, K4G, K4H, K4I, \
|
|
||||||
K50, K51, K52, K55, K59, K5A, K5B, K5C, K5E, K5F, K5G, K5H \
|
|
||||||
) { \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, K0I }, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, ___ }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F, K3G, K3H, K3I }, \
|
|
||||||
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, ___, K4F, K4G, K4H, K4I }, \
|
|
||||||
{ K50, K51, K52, ___, ___, K55, ___, ___, ___, K59, K5A, K5B, K5C, ___, K5E, K5F, K5G, K5H, K5I } \
|
|
||||||
}
|
|
@ -23,116 +23,132 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"Esc", "x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"label":"F1", "x":1.25, "y":0},
|
|
||||||
{"label":"F2", "x":2.25, "y":0},
|
|
||||||
{"label":"F3", "x":3.25, "y":0},
|
|
||||||
{"label":"F4", "x":4.25, "y":0},
|
|
||||||
{"label":"F5", "x":5.5, "y":0},
|
|
||||||
{"label":"F6", "x":6.5, "y":0},
|
|
||||||
{"label":"F7", "x":7.5, "y":0},
|
|
||||||
{"label":"F8", "x":8.5, "y":0},
|
|
||||||
{"label":"F9", "x":9.75, "y":0},
|
|
||||||
{"label":"F10", "x":10.75, "y":0},
|
|
||||||
{"label":"F11", "x":11.75, "y":0},
|
|
||||||
{"label":"F12", "x":12.75, "y":0},
|
|
||||||
{"label":"Print Screen", "x":14, "y":0},
|
|
||||||
{"label":"Scroll Lock", "x":15.25, "y":0},
|
|
||||||
{"label":"Pause", "x":16.5, "y":0},
|
|
||||||
{"label":"Home", "x":17.5, "y":0},
|
|
||||||
{"label":"End", "x":18.5, "y":0},
|
|
||||||
{"label":"Delete", "x":19.5, "y":0},
|
|
||||||
|
|
||||||
{"label":"`", "x":0, "y":1.25},
|
{"matrix": [0, 1], "x": 1.25, "y": 0},
|
||||||
{"label":"1", "x":1, "y":1.25},
|
{"matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
{"label":"2", "x":2, "y":1.25},
|
{"matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
{"label":"3", "x":3, "y":1.25},
|
{"matrix": [0, 4], "x": 4.25, "y": 0},
|
||||||
{"label":"4", "x":4, "y":1.25},
|
|
||||||
{"label":"5", "x":5, "y":1.25},
|
|
||||||
{"label":"6", "x":6, "y":1.25},
|
|
||||||
{"label":"7", "x":7, "y":1.25},
|
|
||||||
{"label":"8", "x":8, "y":1.25},
|
|
||||||
{"label":"9", "x":9, "y":1.25},
|
|
||||||
{"label":"0", "x":10, "y":1.25},
|
|
||||||
{"label":"-", "x":11, "y":1.25},
|
|
||||||
{"label":"=", "x":12, "y":1.25},
|
|
||||||
{"label":"Backspace", "x":13, "y":1.25},
|
|
||||||
{"label":"Backspace", "x":14, "y":1.25},
|
|
||||||
{"label":"Insert", "x":15.25, "y":1.25},
|
|
||||||
{"label":"Num Lock", "x":16.5, "y":1.25},
|
|
||||||
{"label":"/", "x":17.5, "y":1.25},
|
|
||||||
{"label":"*", "x":18.5, "y":1.25},
|
|
||||||
{"label":"-", "x":19.5, "y":1.25},
|
|
||||||
|
|
||||||
{"label":"Tab", "x":0, "y":2.25, "w":1.5},
|
{"matrix": [0, 5], "x": 5.5, "y": 0},
|
||||||
{"label":"Q", "x":1.5, "y":2.25},
|
{"matrix": [0, 6], "x": 6.5, "y": 0},
|
||||||
{"label":"W", "x":2.5, "y":2.25},
|
{"matrix": [0, 7], "x": 7.5, "y": 0},
|
||||||
{"label":"E", "x":3.5, "y":2.25},
|
{"matrix": [0, 8], "x": 8.5, "y": 0},
|
||||||
{"label":"R", "x":4.5, "y":2.25},
|
|
||||||
{"label":"T", "x":5.5, "y":2.25},
|
|
||||||
{"label":"Y", "x":6.5, "y":2.25},
|
|
||||||
{"label":"U", "x":7.5, "y":2.25},
|
|
||||||
{"label":"I", "x":8.5, "y":2.25},
|
|
||||||
{"label":"O", "x":9.5, "y":2.25},
|
|
||||||
{"label":"P", "x":10.5, "y":2.25},
|
|
||||||
{"label":"[", "x":11.5, "y":2.25},
|
|
||||||
{"label":"]", "x":12.5, "y":2.25},
|
|
||||||
{"label":"\\", "x":13.5, "y":2.25, "w":1.5},
|
|
||||||
{"label":"Page Up", "x":15.25, "y":2.25},
|
|
||||||
{"label":"7", "x":16.5, "y":2.25},
|
|
||||||
{"label":"8", "x":17.5, "y":2.25},
|
|
||||||
{"label":"9", "x":18.5, "y":2.25},
|
|
||||||
{"label":"+", "x":19.5, "y":2.25, "h":2},
|
|
||||||
|
|
||||||
{"label":"Caps Lock", "x":0, "y":3.25, "w":1.75},
|
{"matrix": [0, 9], "x": 9.75, "y": 0},
|
||||||
{"label":"A", "x":1.75, "y":3.25},
|
{"matrix": [0, 10], "x": 10.75, "y": 0},
|
||||||
{"label":"S", "x":2.75, "y":3.25},
|
{"matrix": [0, 11], "x": 11.75, "y": 0},
|
||||||
{"label":"D", "x":3.75, "y":3.25},
|
{"matrix": [0, 12], "x": 12.75, "y": 0},
|
||||||
{"label":"F", "x":4.75, "y":3.25},
|
|
||||||
{"label":"G", "x":5.75, "y":3.25},
|
|
||||||
{"label":"H", "x":6.75, "y":3.25},
|
|
||||||
{"label":"J", "x":7.75, "y":3.25},
|
|
||||||
{"label":"K", "x":8.75, "y":3.25},
|
|
||||||
{"label":"L", "x":9.75, "y":3.25},
|
|
||||||
{"label":";", "x":10.75, "y":3.25},
|
|
||||||
{"label":"'", "x":11.75, "y":3.25},
|
|
||||||
{"label":"Enter", "x":12.75, "y":3.25, "w":2.25},
|
|
||||||
{"label":"Page Down", "x":15.25, "y":3.25},
|
|
||||||
{"label":"4", "x":16.5, "y":3.25},
|
|
||||||
{"label":"5", "x":17.5, "y":3.25},
|
|
||||||
{"label":"6", "x":18.5, "y":3.25},
|
|
||||||
|
|
||||||
{"label":"Shift", "x":0, "y":4.25, "w":1.25},
|
{"matrix": [0, 13], "x": 14, "y": 0},
|
||||||
{"label":"ISO \\", "x":1.25, "y":4.25},
|
|
||||||
{"label":"Z", "x":2.25, "y":4.25},
|
|
||||||
{"label":"X", "x":3.25, "y":4.25},
|
|
||||||
{"label":"C", "x":4.25, "y":4.25},
|
|
||||||
{"label":"V", "x":5.25, "y":4.25},
|
|
||||||
{"label":"B", "x":6.25, "y":4.25},
|
|
||||||
{"label":"N", "x":7.25, "y":4.25},
|
|
||||||
{"label":"M", "x":8.25, "y":4.25},
|
|
||||||
{"label":",", "x":9.25, "y":4.25},
|
|
||||||
{"label":".", "x":10.25, "y":4.25},
|
|
||||||
{"label":"/", "x":11.25, "y":4.25},
|
|
||||||
{"label":"Shift", "x":12.25, "y":4.25, "w":1.75},
|
|
||||||
{"label":"Up", "x":14.25, "y":4.5},
|
|
||||||
{"label":"1", "x":16.5, "y":4.25},
|
|
||||||
{"label":"2", "x":17.5, "y":4.25},
|
|
||||||
{"label":"3", "x":18.5, "y":4.25},
|
|
||||||
{"label":"Enter", "x":19.5, "y":4.25, "h":2},
|
|
||||||
|
|
||||||
{"label":"Ctrl", "x":0, "y":5.25, "w":1.25},
|
{"matrix": [0, 14], "x": 15.25, "y": 0},
|
||||||
{"label":"GUI", "x":1.25, "y":5.25, "w":1.25},
|
|
||||||
{"label":"Alt", "x":2.5, "y":5.25, "w":1.25},
|
{"matrix": [0, 15], "x": 16.5, "y": 0},
|
||||||
{"label":"Space", "x":3.75, "y":5.25, "w":6.25},
|
{"matrix": [0, 16], "x": 17.5, "y": 0},
|
||||||
{"label":"Alt", "x":10, "y":5.25, "w":1.5},
|
{"matrix": [0, 17], "x": 18.5, "y": 0},
|
||||||
{"label":"Ctrl", "x":11.5, "y":5.25, "w":1.5},
|
{"matrix": [0, 18], "x": 19.5, "y": 0},
|
||||||
{"label":"Left", "x":13.25, "y":5.5},
|
|
||||||
{"label":"Down", "x":14.25, "y":5.5},
|
{"matrix": [1, 0], "x": 0, "y": 1.25},
|
||||||
{"label":"Right", "x":15.25, "y":5.5},
|
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
||||||
{"label":"0", "x":16.5, "y":5.25},
|
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||||
{"label":"0", "x":17.5, "y":5.25},
|
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
||||||
{"label":".", "x":18.5, "y":5.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},
|
||||||
|
{"matrix": [1, 14], "x": 14, "y": 1.25},
|
||||||
|
|
||||||
|
{"matrix": [1, 15], "x": 15.25, "y": 1.25},
|
||||||
|
|
||||||
|
{"matrix": [1, 16], "x": 16.5, "y": 1.25},
|
||||||
|
{"matrix": [1, 17], "x": 17.5, "y": 1.25},
|
||||||
|
{"matrix": [1, 18], "x": 18.5, "y": 1.25},
|
||||||
|
{"matrix": [5, 18], "x": 19.5, "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.25, "y": 2.25},
|
||||||
|
|
||||||
|
{"matrix": [2, 15], "x": 16.5, "y": 2.25},
|
||||||
|
{"matrix": [2, 16], "x": 17.5, "y": 2.25},
|
||||||
|
{"matrix": [2, 17], "x": 18.5, "y": 2.25},
|
||||||
|
{"matrix": [3, 18], "x": 19.5, "y": 2.25, "h": 2},
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3.25, "w": 1.75},
|
||||||
|
{"matrix": [3, 1], "x": 1.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 2], "x": 2.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 3], "x": 3.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 4], "x": 4.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 5], "x": 5.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 6], "x": 6.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 7], "x": 7.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 8], "x": 8.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 9], "x": 9.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 10], "x": 10.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 11], "x": 11.75, "y": 3.25},
|
||||||
|
{"matrix": [3, 12], "x": 12.75, "y": 3.25, "w": 2.25},
|
||||||
|
|
||||||
|
{"matrix": [3, 14], "x": 15.25, "y": 3.25},
|
||||||
|
|
||||||
|
{"matrix": [3, 15], "x": 16.5, "y": 3.25},
|
||||||
|
{"matrix": [3, 16], "x": 17.5, "y": 3.25},
|
||||||
|
{"matrix": [3, 17], "x": 18.5, "y": 3.25},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 1.25},
|
||||||
|
{"matrix": [4, 1], "x": 1.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 2], "x": 2.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 3], "x": 3.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 4], "x": 4.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 5], "x": 5.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 6], "x": 6.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 7], "x": 7.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 8], "x": 8.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 9], "x": 9.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 10], "x": 10.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 11], "x": 11.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75},
|
||||||
|
|
||||||
|
{"matrix": [4, 13], "x": 14.25, "y": 4.5},
|
||||||
|
|
||||||
|
{"matrix": [4, 15], "x": 16.5, "y": 4.25},
|
||||||
|
{"matrix": [4, 16], "x": 17.5, "y": 4.25},
|
||||||
|
{"matrix": [4, 17], "x": 18.5, "y": 4.25},
|
||||||
|
{"matrix": [4, 18], "x": 19.5, "y": 4.25, "h": 2},
|
||||||
|
|
||||||
|
{"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, 9], "x": 10, "y": 5.25, "w": 1.5},
|
||||||
|
{"matrix": [5, 10], "x": 11.5, "y": 5.25, "w": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [5, 11], "x": 13.25, "y": 5.5},
|
||||||
|
{"matrix": [5, 12], "x": 14.25, "y": 5.5},
|
||||||
|
{"matrix": [5, 14], "x": 15.25, "y": 5.5},
|
||||||
|
|
||||||
|
{"matrix": [5, 15], "x": 16.5, "y": 5.25},
|
||||||
|
{"matrix": [5, 16], "x": 17.5, "y": 5.25},
|
||||||
|
{"matrix": [5, 17], "x": 18.5, "y": 5.25}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "delta.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#define LED_PIN_ON_STATE 1
|
#define LED_PIN_ON_STATE 1
|
||||||
// Inits all indicator LEDs as push-pull outputs
|
// Inits all indicator LEDs as push-pull outputs
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
/* Copyright 2021 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"
|
|
||||||
|
|
||||||
#define ___ KC_NO
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
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, K1B, K1C, K1D, K1E, \
|
|
||||||
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K4B, K4C, K4D, K4E, \
|
|
||||||
K30, K31, K32, K34, K37, K39, K3A, K3B, K3C, K3D, K3E \
|
|
||||||
) { \
|
|
||||||
{ 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, ___, K1B, K1C, K1D, K1E }, \
|
|
||||||
{ K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, ___, ___, ___, ___ }, \
|
|
||||||
{ K30, K31, K32, ___, K34, ___, ___, K37, ___, K39, K3A, K3B, K3C, K3D, K3E }, \
|
|
||||||
{ ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, ___, K4B, K4C, K4D, K4E } \
|
|
||||||
}
|
|
@ -27,63 +27,69 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"Esc", "x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"label":"Q", "x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"label":"W", "x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"label":"E", "x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"label":"R", "x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"label":"T", "x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"label":"Y", "x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"label":"U", "x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"label":"I", "x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"label":"O", "x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"label":"P", "x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"label":"Backspace", "x":11, "y":0},
|
{"matrix": [0, 11], "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},
|
|
||||||
|
|
||||||
{"label":"Tab", "x":0, "y":1, "w":1.25},
|
{"matrix": [0, 12], "x": 12.5, "y": 0},
|
||||||
{"label":"A", "x":1.25, "y":1},
|
{"matrix": [0, 13], "x": 13.5, "y": 0},
|
||||||
{"label":"S", "x":2.25, "y":1},
|
{"matrix": [0, 14], "x": 14.5, "y": 0},
|
||||||
{"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},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.25},
|
||||||
{"label":"Z", "x":1.75, "y":2},
|
{"matrix": [1, 1], "x": 1.25, "y": 1},
|
||||||
{"label":"X", "x":2.75, "y":2},
|
{"matrix": [1, 2], "x": 2.25, "y": 1},
|
||||||
{"label":"C", "x":3.75, "y":2},
|
{"matrix": [1, 3], "x": 3.25, "y": 1},
|
||||||
{"label":"V", "x":4.75, "y":2},
|
{"matrix": [1, 4], "x": 4.25, "y": 1},
|
||||||
{"label":"B", "x":5.75, "y":2},
|
{"matrix": [1, 5], "x": 5.25, "y": 1},
|
||||||
{"label":"N", "x":6.75, "y":2},
|
{"matrix": [1, 6], "x": 6.25, "y": 1},
|
||||||
{"label":"M", "x":7.75, "y":2},
|
{"matrix": [1, 7], "x": 7.25, "y": 1},
|
||||||
{"label":",<", "x":8.75, "y":2},
|
{"matrix": [1, 8], "x": 8.25, "y": 1},
|
||||||
{"label":"Fn", "x":9.75, "y":2, "w":1.25},
|
{"matrix": [1, 9], "x": 9.25, "y": 1},
|
||||||
{"label":"\u2191", "x":11.25, "y":2.25},
|
{"matrix": [1, 11], "x": 10.25, "y": 1, "w": 1.75},
|
||||||
{"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},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"label":"GUI", "x":1.25, "y":3},
|
{"matrix": [1, 13], "x": 13.5, "y": 1},
|
||||||
{"label":"Alt", "x":2.25, "y":3, "w":1.25},
|
{"matrix": [1, 14], "x": 14.5, "y": 1},
|
||||||
{"label":"Space/Fn2", "x":3.5, "y":3, "w":2.25},
|
|
||||||
{"label":"Space", "x":6.25, "y":3, "w":2.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"label":"Alt", "x":9, "y":3},
|
{"matrix": [2, 2], "x": 1.75, "y": 2},
|
||||||
{"label":"\u2190", "x":10.25, "y":3.25},
|
{"matrix": [2, 3], "x": 2.75, "y": 2},
|
||||||
{"label":"\u2193", "x":11.25, "y":3.25},
|
{"matrix": [2, 4], "x": 3.75, "y": 2},
|
||||||
{"label":"\u2192", "x":12.25, "y":3.25},
|
{"matrix": [2, 5], "x": 4.75, "y": 2},
|
||||||
{"label":"0", "x":13.5, "y":3},
|
{"matrix": [2, 6], "x": 5.75, "y": 2},
|
||||||
{"label":".", "x":14.5, "y":3}
|
{"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": [4, 11], "x": 11.25, "y": 2.25},
|
||||||
|
|
||||||
|
{"matrix": [4, 12], "x": 12.5, "y": 2},
|
||||||
|
{"matrix": [4, 13], "x": 13.5, "y": 2},
|
||||||
|
{"matrix": [4, 14], "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": [3, 13], "x": 13.5, "y": 3},
|
||||||
|
{"matrix": [3, 14], "x": 14.5, "y": 3}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,145 +16,148 @@
|
|||||||
"processor": "STM32F072",
|
"processor": "STM32F072",
|
||||||
"bootloader": "stm32-dfu",
|
"bootloader": "stm32-dfu",
|
||||||
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift"],
|
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift"],
|
||||||
|
"layout_aliases": {
|
||||||
|
"LAYOUT": "LAYOUT_60_ansi_split_bs_rshift"
|
||||||
|
},
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_60_ansi": {
|
"LAYOUT_60_ansi": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0, "w":2},
|
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2, "w":2.25},
|
{"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3, "w":2.75},
|
{"matrix": [3, 11], "x": 12.25, "y": 3, "w": 2.75},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.25},
|
{"matrix": [4, 8], "x": 10, "y": 4, "w": 1.25},
|
||||||
{"x":11.25, "y":4, "w":1.25},
|
{"matrix": [4, 9], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
{"x":12.5, "y":4, "w":1.25},
|
{"matrix": [4, 10], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
{"x":13.75, "y":4, "w":1.25}
|
{"matrix": [4, 11], "x": 13.75, "y": 4, "w": 1.25}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"LAYOUT_60_ansi_split_bs_rshift": {
|
"LAYOUT_60_ansi_split_bs_rshift": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0},
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
{"x":14, "y":0},
|
{"matrix": [2, 13], "x": 14, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2, "w":2.25},
|
{"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3, "w":1.75},
|
{"matrix": [3, 11], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
{"x":14, "y":3},
|
{"matrix": [3, 12], "x": 14, "y": 3},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.25},
|
{"matrix": [4, 8], "x": 10, "y": 4, "w": 1.25},
|
||||||
{"x":11.25, "y":4, "w":1.25},
|
{"matrix": [4, 9], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
{"x":12.5, "y":4, "w":1.25},
|
{"matrix": [4, 10], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
{"x":13.75, "y":4, "w":1.25}
|
{"matrix": [4, 11], "x": 13.75, "y": 4, "w": 1.25}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,53 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2015 Álvaro "Gondolindrim" Volpato <gondolindrim@acheronproject.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
|
|
||||||
|
|
||||||
#define ___ KC_NO
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
// equivalent to LAYOUT_all
|
|
||||||
#define LAYOUT_60_ansi_split_bs_rshift( \
|
|
||||||
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, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, \
|
|
||||||
K40, K41, K42, K46, K48, K49, K4A, K4B \
|
|
||||||
) { \
|
|
||||||
{ 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, ___ }, \
|
|
||||||
{ K40, K41, K42, ___, ___, ___, K46, ___, K48, K49, K4A, K4B, ___, ___ } \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define LAYOUT_60_ansi( \
|
|
||||||
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, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, \
|
|
||||||
K40, K41, K42, K46, K48, K49, K4A, K4B \
|
|
||||||
) { \
|
|
||||||
{ 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, ___ }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, ___ }, \
|
|
||||||
{ K40, K41, K42, ___, ___, ___, K46, ___, K48, K49, K4A, K4B, ___, ___ } \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define LAYOUT LAYOUT_60_ansi_split_bs_rshift
|
|
@ -34,7 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(_______, _______) },
|
[1] = { ENCODER_CCW_CW(_______, _______) },
|
||||||
};
|
};
|
||||||
|
@ -14,7 +14,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(_______, _______) },
|
[1] = { ENCODER_CCW_CW(_______, _______) },
|
||||||
[2] = { ENCODER_CCW_CW(_______, _______) },
|
[2] = { ENCODER_CCW_CW(_______, _______) },
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright 2022 Arturo Avila (@ADPenrose)
|
// Copyright 2022 Arturo Avila (@ADPenrose)
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include "akemipad.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
// Copyright 2022 Arturo Avila (@ADPenrose)
|
|
||||||
// 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_all( \
|
|
||||||
K00, K01, K02, K03, \
|
|
||||||
K10, K11, K12, K13, \
|
|
||||||
K20, K21, K22, K23, \
|
|
||||||
K30, K31, K32, K33, \
|
|
||||||
K40, K41, K42, K43, \
|
|
||||||
K54, K50, K51, K52, K53 \
|
|
||||||
) { \
|
|
||||||
{ K00, K01, K02, K03, KC_NO }, \
|
|
||||||
{ K10, K11, K12, K13, KC_NO }, \
|
|
||||||
{ K20, K21, K22, K23, KC_NO }, \
|
|
||||||
{ K30, K31, K32, K33, KC_NO }, \
|
|
||||||
{ K40, K41, K42, K43, KC_NO }, \
|
|
||||||
{ K50, K51, K52, K53, K54 } \
|
|
||||||
}
|
|
@ -28,31 +28,37 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{ "label": "F1", "x": 1.25, "y": 0 },
|
{"matrix": [0, 0], "x": 1.25, "y": 0},
|
||||||
{ "label": "F2", "x": 2.25, "y": 0 },
|
{"matrix": [0, 1], "x": 2.25, "y": 0},
|
||||||
{ "label": "F3", "x": 3.25, "y": 0 },
|
{"matrix": [0, 2], "x": 3.25, "y": 0},
|
||||||
{ "label": "F4", "x": 4.25, "y": 0 },
|
{"matrix": [0, 3], "x": 4.25, "y": 0},
|
||||||
{ "label": "Num Lock", "x": 1.25, "y": 1.25 },
|
|
||||||
{ "label": "/", "x": 2.25, "y": 1.25 },
|
{"matrix": [1, 0], "x": 1.25, "y": 1.25},
|
||||||
{ "label": "*", "x": 3.25, "y": 1.25 },
|
{"matrix": [1, 1], "x": 2.25, "y": 1.25},
|
||||||
{ "label": "-", "x": 4.25, "y": 1.25 },
|
{"matrix": [1, 2], "x": 3.25, "y": 1.25},
|
||||||
{ "label": "7", "x": 1.25, "y": 2.25 },
|
{"matrix": [1, 3], "x": 4.25, "y": 1.25},
|
||||||
{ "label": "8", "x": 2.25, "y": 2.25 },
|
|
||||||
{ "label": "9", "x": 3.25, "y": 2.25 },
|
{"matrix": [2, 0], "x": 1.25, "y": 2.25},
|
||||||
{ "x": 4.25, "y": 2.25 },
|
{"matrix": [2, 1], "x": 2.25, "y": 2.25},
|
||||||
{ "label": "4", "x": 1.25, "y": 3.25 },
|
{"matrix": [2, 2], "x": 3.25, "y": 2.25},
|
||||||
{ "label": "5", "x": 2.25, "y": 3.25 },
|
{"matrix": [2, 3], "x": 4.25, "y": 2.25},
|
||||||
{ "label": "6", "x": 3.25, "y": 3.25 },
|
|
||||||
{ "x": 4.25, "y": 3.25 },
|
{"matrix": [3, 0], "x": 1.25, "y": 3.25},
|
||||||
{ "label": "1", "x": 1.25, "y": 4.25 },
|
{"matrix": [3, 1], "x": 2.25, "y": 3.25},
|
||||||
{ "label": "2", "x": 2.25, "y": 4.25 },
|
{"matrix": [3, 2], "x": 3.25, "y": 3.25},
|
||||||
{ "label": "3", "x": 3.25, "y": 4.25 },
|
{"matrix": [3, 3], "x": 4.25, "y": 3.25},
|
||||||
{ "x": 4.25, "y": 4.25 },
|
|
||||||
{ "label": "Enc", "x": 0, "y": 5.25 },
|
{"matrix": [4, 0], "x": 1.25, "y": 4.25},
|
||||||
{ "x": 1.25, "y": 5.25 },
|
{"matrix": [4, 1], "x": 2.25, "y": 4.25},
|
||||||
{ "x": 2.25, "y": 5.25 },
|
{"matrix": [4, 2], "x": 3.25, "y": 4.25},
|
||||||
{ "label": ".", "x": 3.25, "y": 5.25 },
|
{"matrix": [4, 3], "x": 4.25, "y": 4.25},
|
||||||
{ "x": 4.25, "y": 5.25 }
|
|
||||||
|
{"matrix": [5, 4], "x": 0, "y": 5.25},
|
||||||
|
|
||||||
|
{"matrix": [5, 0], "x": 1.25, "y": 5.25},
|
||||||
|
{"matrix": [5, 1], "x": 2.25, "y": 5.25},
|
||||||
|
{"matrix": [5, 2], "x": 3.25, "y": 5.25},
|
||||||
|
{"matrix": [5, 3], "x": 4.25, "y": 5.25}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
|
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
|
||||||
[2] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
[2] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
||||||
|
@ -53,7 +53,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
|
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
|
||||||
[2] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
[2] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
||||||
|
@ -52,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
|
[1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
|
||||||
[2] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
[2] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
|
||||||
|
@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
|
||||||
};
|
};
|
||||||
|
@ -64,7 +64,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
|
|
||||||
/* Encoder */
|
/* Encoder */
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -63,7 +63,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
|
|
||||||
/* Encoder */
|
/* Encoder */
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -62,7 +62,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -25,60 +25,64 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"F1", "x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"label":"Tab", "x":1.25, "y":0, "w":1.5},
|
|
||||||
{"label":"Q", "x":2.75, "y":0},
|
|
||||||
{"label":"W", "x":3.75, "y":0},
|
|
||||||
{"label":"E", "x":4.75, "y":0},
|
|
||||||
{"label":"R", "x":5.75, "y":0},
|
|
||||||
{"label":"T", "x":6.75, "y":0},
|
|
||||||
{"label":"Y", "x":7.75, "y":0},
|
|
||||||
{"label":"U", "x":8.75, "y":0},
|
|
||||||
{"label":"I", "x":9.75, "y":0},
|
|
||||||
{"label":"O", "x":10.75, "y":0},
|
|
||||||
{"label":"P", "x":11.75, "y":0},
|
|
||||||
{"label":"{", "x":12.75, "y":0},
|
|
||||||
{"label":"Backspace", "x":13.75, "y":0, "w":1.5},
|
|
||||||
|
|
||||||
{"label":"F2", "x":0, "y":1},
|
{"matrix": [0, 1], "x": 1.25, "y": 0, "w": 1.5},
|
||||||
{"label":"Caps Lock", "x":1.25, "y":1, "w":1.75},
|
{"matrix": [0, 2], "x": 2.75, "y": 0},
|
||||||
{"label":"A", "x":3, "y":1},
|
{"matrix": [0, 3], "x": 3.75, "y": 0},
|
||||||
{"label":"S", "x":4, "y":1},
|
{"matrix": [0, 4], "x": 4.75, "y": 0},
|
||||||
{"label":"D", "x":5, "y":1},
|
{"matrix": [0, 5], "x": 5.75, "y": 0},
|
||||||
{"label":"F", "x":6, "y":1},
|
{"matrix": [0, 6], "x": 6.75, "y": 0},
|
||||||
{"label":"G", "x":7, "y":1},
|
{"matrix": [0, 7], "x": 7.75, "y": 0},
|
||||||
{"label":"H", "x":8, "y":1},
|
{"matrix": [0, 8], "x": 8.75, "y": 0},
|
||||||
{"label":"J", "x":9, "y":1},
|
{"matrix": [0, 9], "x": 9.75, "y": 0},
|
||||||
{"label":"K", "x":10, "y":1},
|
{"matrix": [0, 10], "x": 10.75, "y": 0},
|
||||||
{"label":"L", "x":11, "y":1},
|
{"matrix": [0, 11], "x": 11.75, "y": 0},
|
||||||
{"label":":", "x":12, "y":1},
|
{"matrix": [0, 12], "x": 12.75, "y": 0},
|
||||||
{"label":"Enter", "x":13, "y":1, "w":2.25},
|
{"matrix": [0, 13], "x": 13.75, "y": 0, "w": 1.5},
|
||||||
|
|
||||||
{"label":"F3", "x":0, "y":2},
|
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||||
{"label":"Shift", "x":1.25, "y":2, "w":2.25},
|
|
||||||
{"label":"Z", "x":3.5, "y":2},
|
{"matrix": [1, 1], "x": 1.25, "y": 1, "w": 1.75},
|
||||||
{"label":"X", "x":4.5, "y":2},
|
{"matrix": [1, 2], "x": 3, "y": 1},
|
||||||
{"label":"C", "x":5.5, "y":2},
|
{"matrix": [1, 3], "x": 4, "y": 1},
|
||||||
{"label":"V", "x":6.5, "y":2},
|
{"matrix": [1, 4], "x": 5, "y": 1},
|
||||||
{"label":"B", "x":7.5, "y":2},
|
{"matrix": [1, 5], "x": 6, "y": 1},
|
||||||
{"label":"N", "x":8.5, "y":2},
|
{"matrix": [1, 6], "x": 7, "y": 1},
|
||||||
{"label":"M", "x":9.5, "y":2},
|
{"matrix": [1, 7], "x": 8, "y": 1},
|
||||||
{"label":"<", "x":10.5, "y":2},
|
{"matrix": [1, 8], "x": 9, "y": 1},
|
||||||
{"label":"Shift", "x":11.5, "y":2, "w":1.75},
|
{"matrix": [1, 9], "x": 10, "y": 1},
|
||||||
{"label":"Up", "x":13.25, "y":2},
|
{"matrix": [1, 10], "x": 11, "y": 1},
|
||||||
{"label":"?", "x":14.25, "y":2},
|
{"matrix": [1, 11], "x": 12, "y": 1},
|
||||||
|
{"matrix": [1, 13], "x": 13, "y": 1, "w": 2.25},
|
||||||
{"label":"F4", "x":0, "y":3},
|
|
||||||
{"label":"Ctrl", "x":1.25, "y":3, "w":1.25},
|
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||||
{"label":"Win", "x":2.5, "y":3},
|
|
||||||
{"label":"Alt", "x":3.5, "y":3, "w":1.25},
|
{"matrix": [2, 1], "x": 1.25, "y": 2, "w": 2.25},
|
||||||
{"label":"Spacebar", "x":4.75, "y":3, "w":2.25},
|
{"matrix": [2, 2], "x": 3.5, "y": 2},
|
||||||
{"label":"Spacebar", "x":7, "y":3, "w":1.25},
|
{"matrix": [2, 3], "x": 4.5, "y": 2},
|
||||||
{"label":"Spacebar", "x":8.25, "y":3, "w":2.75},
|
{"matrix": [2, 4], "x": 5.5, "y": 2},
|
||||||
{"label":"Alt", "x":11, "y":3, "w":1.25},
|
{"matrix": [2, 5], "x": 6.5, "y": 2},
|
||||||
{"label":"Left", "x":12.25, "y":3},
|
{"matrix": [2, 6], "x": 7.5, "y": 2},
|
||||||
{"label":"Down", "x":13.25, "y":3},
|
{"matrix": [2, 7], "x": 8.5, "y": 2},
|
||||||
{"label":"Right", "x":14.25, "y":3}
|
{"matrix": [2, 8], "x": 9.5, "y": 2},
|
||||||
|
{"matrix": [2, 9], "x": 10.5, "y": 2},
|
||||||
|
{"matrix": [2, 10], "x": 11.5, "y": 2, "w": 1.75},
|
||||||
|
{"matrix": [2, 12], "x": 13.25, "y": 2},
|
||||||
|
{"matrix": [2, 13], "x": 14.25, "y": 2},
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||||
|
|
||||||
|
{"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
|
||||||
|
{"matrix": [3, 2], "x": 2.5, "y": 3},
|
||||||
|
{"matrix": [3, 3], "x": 3.5, "y": 3, "w": 1.25},
|
||||||
|
{"matrix": [3, 5], "x": 4.75, "y": 3, "w": 2.25},
|
||||||
|
{"matrix": [3, 6], "x": 7, "y": 3, "w": 1.25},
|
||||||
|
{"matrix": [3, 7], "x": 8.25, "y": 3, "w": 2.75},
|
||||||
|
{"matrix": [3, 10], "x": 11, "y": 3, "w": 1.25},
|
||||||
|
{"matrix": [3, 11], "x": 12.25, "y": 3},
|
||||||
|
{"matrix": [3, 12], "x": 13.25, "y": 3},
|
||||||
|
{"matrix": [3, 13], "x": 14.25, "y": 3}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
// Copyright 2022 Arturo Avila (@ADPenrose)
|
|
||||||
// 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_all( \
|
|
||||||
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, K1D, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2C, K2D, \
|
|
||||||
K30, K31, K32, K33, K35, K36, K37, K3A, K3B, K3C, K3D \
|
|
||||||
) { \
|
|
||||||
{ 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, KC_NO, K1D }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, KC_NO, K2C, K2D }, \
|
|
||||||
{ K30, K31, K32, K33, KC_NO, K35, K36, K37, KC_NO, KC_NO, K3A, K3B, K3C, K3D } \
|
|
||||||
}
|
|
@ -18,7 +18,60 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"Esc", "x":1.25, "y":0}, {"label":"Q", "x":2.25, "y":0}, {"label":"W", "x":3.25, "y":0}, {"label":"E", "x":4.25, "y":0}, {"label":"R", "x":5.25, "y":0}, {"label":"T", "x":6.25, "y":0}, {"label":"Y", "x":7.75, "y":0}, {"label":"U", "x":8.75, "y":0}, {"label":"I", "x":9.75, "y":0}, {"label":"O", "x":10.75, "y":0}, {"label":"P", "x":11.75, "y":0}, {"label":"Backspace", "x":12.75, "y":0, "w":1.5}, {"label":"Caps Lock", "x":0.5, "y":1, "w":1.75}, {"label":"A", "x":2.25, "y":1}, {"label":"S", "x":3.25, "y":1}, {"label":"D", "x":4.25, "y":1}, {"label":"F", "x":5.25, "y":1}, {"label":"G", "x":6.25, "y":1}, {"label":"H", "x":7.75, "y":1}, {"label":"J", "x":8.75, "y":1}, {"label":"K", "x":9.75, "y":1}, {"label":"L", "x":10.75, "y":1}, {"label":":", "x":11.75, "y":1}, {"label":"Enter", "x":12.75, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.25}, {"label":"Fn", "x":1.25, "y":2}, {"label":"Z", "x":2.25, "y":2}, {"label":"X", "x":3.25, "y":2}, {"label":"C", "x":4.25, "y":2}, {"label":"V", "x":5.25, "y":2}, {"label":"B", "x":6.25, "y":2}, {"label":"B", "x":7.75, "y":2}, {"label":"N", "x":8.75, "y":2}, {"label":"M", "x":9.75, "y":2}, {"label":"<", "x":10.75, "y":2}, {"label":">", "x":11.75, "y":2}, {"label":"Up", "x":12.75, "y":2}, {"label":"?", "x":13.75, "y":2, "w":1.25}, {"label":"Ctrl", "x":0, "y":3, "w":1.5}, {"label":"Win", "x":3, "y":3}, {"x":4, "y":3, "w":2.25}, {"label":"Alt", "x":6.25, "y":3}, {"x":7.75, "y":3, "w":2.75}, {"label":"Left", "x":11.75, "y":3}, {"label":"Down", "x":12.75, "y":3}, {"label":"Right", "x":13.75, "y":3}
|
{"matrix": [0, 0], "x": 1.25, "y": 0},
|
||||||
|
{"matrix": [0, 1], "x": 2.25, "y": 0},
|
||||||
|
{"matrix": [0, 2], "x": 3.25, "y": 0},
|
||||||
|
{"matrix": [0, 3], "x": 4.25, "y": 0},
|
||||||
|
{"matrix": [0, 4], "x": 5.25, "y": 0},
|
||||||
|
{"matrix": [0, 5], "x": 6.25, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [0, 6], "x": 7.75, "y": 0},
|
||||||
|
{"matrix": [1, 0], "x": 8.75, "y": 0},
|
||||||
|
{"matrix": [1, 1], "x": 9.75, "y": 0},
|
||||||
|
{"matrix": [1, 2], "x": 10.75, "y": 0},
|
||||||
|
{"matrix": [1, 3], "x": 11.75, "y": 0},
|
||||||
|
{"matrix": [1, 4], "x": 12.75, "y": 0, "w": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [1, 5], "x": 0.5, "y": 1, "w": 1.75},
|
||||||
|
{"matrix": [1, 6], "x": 2.25, "y": 1},
|
||||||
|
{"matrix": [2, 0], "x": 3.25, "y": 1},
|
||||||
|
{"matrix": [2, 1], "x": 4.25, "y": 1},
|
||||||
|
{"matrix": [2, 2], "x": 5.25, "y": 1},
|
||||||
|
{"matrix": [2, 3], "x": 6.25, "y": 1},
|
||||||
|
|
||||||
|
{"matrix": [2, 4], "x": 7.75, "y": 1},
|
||||||
|
{"matrix": [2, 5], "x": 8.75, "y": 1},
|
||||||
|
{"matrix": [2, 6], "x": 9.75, "y": 1},
|
||||||
|
{"matrix": [3, 0], "x": 10.75, "y": 1},
|
||||||
|
{"matrix": [3, 3], "x": 11.75, "y": 1},
|
||||||
|
{"matrix": [3, 4], "x": 12.75, "y": 1, "w": 1.75},
|
||||||
|
|
||||||
|
{"matrix": [3, 5], "x": 0, "y": 2, "w": 1.25},
|
||||||
|
{"matrix": [4, 0], "x": 1.25, "y": 2},
|
||||||
|
{"matrix": [4, 1], "x": 2.25, "y": 2},
|
||||||
|
{"matrix": [4, 2], "x": 3.25, "y": 2},
|
||||||
|
{"matrix": [4, 3], "x": 4.25, "y": 2},
|
||||||
|
{"matrix": [4, 4], "x": 5.25, "y": 2},
|
||||||
|
{"matrix": [4, 5], "x": 6.25, "y": 2},
|
||||||
|
|
||||||
|
{"matrix": [5, 0], "x": 7.75, "y": 2},
|
||||||
|
{"matrix": [5, 1], "x": 8.75, "y": 2},
|
||||||
|
{"matrix": [5, 2], "x": 9.75, "y": 2},
|
||||||
|
{"matrix": [5, 3], "x": 10.75, "y": 2},
|
||||||
|
{"matrix": [5, 4], "x": 11.75, "y": 2},
|
||||||
|
{"matrix": [5, 5], "x": 12.75, "y": 2},
|
||||||
|
{"matrix": [6, 0], "x": 13.75, "y": 2, "w": 1.25},
|
||||||
|
|
||||||
|
{"matrix": [6, 1], "x": 0, "y": 3, "w": 1.5},
|
||||||
|
{"matrix": [6, 2], "x": 3, "y": 3},
|
||||||
|
{"matrix": [6, 3], "x": 4, "y": 3, "w": 2.25},
|
||||||
|
{"matrix": [6, 4], "x": 6.25, "y": 3},
|
||||||
|
|
||||||
|
{"matrix": [6, 5], "x": 7.75, "y": 3, "w": 2.75},
|
||||||
|
|
||||||
|
{"matrix": [7, 0], "x": 11.75, "y": 3},
|
||||||
|
{"matrix": [7, 4], "x": 12.75, "y": 3},
|
||||||
|
{"matrix": [7, 5], "x": 13.75, "y": 3}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
// Copyright 2022 Arturo Avila (@ADPenrose)
|
|
||||||
// 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 XXX KC_NO
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
k00, k01, k02, k03, k04, k05, k06, k10, k11, k12, k13, k14, \
|
|
||||||
k15, k16, k20, k21, k22, k23, k24, k25, k26, k30, k33, k34, \
|
|
||||||
k35, k40, k41, k42, k43, k44, k45, k50, k51, k52, k53, k54, k55, k60, \
|
|
||||||
k61, k62, k63, k64, k65, k70, k74, k75 \
|
|
||||||
) { \
|
|
||||||
{ k00, k01, k02, k03, k04, k05, k06 }, \
|
|
||||||
{ k10, k11, k12, k13, k14, k15, k16 }, \
|
|
||||||
{ k20, k21, k22, k23, k24, k25, k26 }, \
|
|
||||||
{ k30, XXX, XXX, k33, k34, k35, XXX }, \
|
|
||||||
{ k40, k41, k42, k43, k44, k45, XXX }, \
|
|
||||||
{ k50, k51, k52, k53, k54, k55, XXX }, \
|
|
||||||
{ k60, k61, k62, k63, k64, k65, XXX }, \
|
|
||||||
{ k70, XXX, XXX, XXX, k74, k75, XXX } \
|
|
||||||
}
|
|
@ -18,78 +18,78 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0},
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
{"x":14, "y":0},
|
{"matrix": [2, 13], "x": 14, "y": 0},
|
||||||
{"x":15, "y":0},
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
{"x":15, "y":1},
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"label":"\"", "x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2, "w":2.25},
|
{"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
{"x":15, "y":2},
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3, "w":1.75},
|
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
{"x":14, "y":3},
|
{"matrix": [3, 13], "x": 14, "y": 3},
|
||||||
{"x":15, "y":3},
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 8], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.5},
|
{"matrix": [4, 9], "x": 10, "y": 4, "w": 1.5},
|
||||||
{"x":11.5, "y":4, "w":1.5},
|
{"matrix": [4, 10], "x": 11.5, "y": 4, "w": 1.5},
|
||||||
{"x":13, "y":4},
|
{"matrix": [4, 12], "x": 13, "y": 4},
|
||||||
{"x":14, "y":4},
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
{"x":15, "y":4}
|
{"matrix": [4, 14], "x": 15, "y": 4}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
/* Copyright 2018 Jason Williams (Wilba)
|
|
||||||
* Copyright 2021 Harrison Chan (Xelus)
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define ____ KC_NO
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K213, K014, \
|
|
||||||
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, K214, \
|
|
||||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \
|
|
||||||
K400, K401, K402, K408, K409, K410, K412, K413, K414 \
|
|
||||||
) { \
|
|
||||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
|
|
||||||
{ 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, ____, K312, K313, K314 }, \
|
|
||||||
{ K400, K401, K402, ____, ____, ____, ____, ____, K408, K409, K410, ____, K412, K413, K414 } \
|
|
||||||
}
|
|
@ -18,78 +18,78 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0},
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
{"x":14, "y":0},
|
{"matrix": [2, 13], "x": 14, "y": 0},
|
||||||
{"x":15, "y":0},
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
{"x":15, "y":1},
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"label":"\"", "x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2, "w":2.25},
|
{"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
{"x":15, "y":2},
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3, "w":1.75},
|
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
{"x":14, "y":3},
|
{"matrix": [3, 13], "x": 14, "y": 3},
|
||||||
{"x":15, "y":3},
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 8], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.5},
|
{"matrix": [4, 9], "x": 10, "y": 4, "w": 1.5},
|
||||||
{"x":11.5, "y":4, "w":1.5},
|
{"matrix": [4, 10], "x": 11.5, "y": 4, "w": 1.5},
|
||||||
{"x":13, "y":4},
|
{"matrix": [4, 12], "x": 13, "y": 4},
|
||||||
{"x":14, "y":4},
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
{"x":15, "y":4}
|
{"matrix": [4, 14], "x": 15, "y": 4}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rev2.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
void matrix_io_delay(void) {
|
void matrix_io_delay(void) {
|
||||||
__asm__ volatile("nop\nnop\nnop\n");
|
__asm__ volatile("nop\nnop\nnop\n");
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
/* Copyright 2021 Harrison Chan (Xelus)
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define ____ KC_NO
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K213, K014, \
|
|
||||||
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, K214, \
|
|
||||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \
|
|
||||||
K400, K401, K402, K408, K409, K410, K412, K413, K414 \
|
|
||||||
) { \
|
|
||||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
|
|
||||||
{ 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, ____, K312, K313, K314 }, \
|
|
||||||
{ K400, K401, K402, ____, ____, ____, ____, ____, K408, K409, K410, ____, K412, K413, K414 } \
|
|
||||||
}
|
|
@ -18,78 +18,78 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0},
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
{"x":14, "y":0},
|
{"matrix": [2, 13], "x": 14, "y": 0},
|
||||||
{"x":15, "y":0},
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
{"x":15, "y":1},
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"label":"\"", "x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2, "w":2.25},
|
{"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
{"x":15, "y":2},
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3, "w":1.75},
|
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
{"x":14, "y":3},
|
{"matrix": [3, 13], "x": 14, "y": 3},
|
||||||
{"x":15, "y":3},
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.5},
|
{"matrix": [4, 9], "x": 10, "y": 4, "w": 1.5},
|
||||||
{"x":11.5, "y":4, "w":1.5},
|
{"matrix": [4, 10], "x": 11.5, "y": 4, "w": 1.5},
|
||||||
{"x":13, "y":4},
|
{"matrix": [4, 12], "x": 13, "y": 4},
|
||||||
{"x":14, "y":4},
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
{"x":15, "y":4}
|
{"matrix": [4, 14], "x": 15, "y": 4}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
/* Copyright 2018 Jason Williams (Wilba)
|
|
||||||
* Copyright 2022 Harrison Chan (Xelus)
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define ____ KC_NO
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K213, K014, \
|
|
||||||
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, K214, \
|
|
||||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \
|
|
||||||
K400, K401, K402, K405, K409, K410, K412, K413, K414 \
|
|
||||||
) { \
|
|
||||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
|
|
||||||
{ 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, ____, K312, K313, K314 }, \
|
|
||||||
{ K400, K401, K402, ____, ____, K405, ____, ____, ____, K409, K410, ____, K412, K413, K414 } \
|
|
||||||
}
|
|
@ -21,77 +21,77 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0, "w":2},
|
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
|
||||||
{"x":15, "y":0},
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
{"x":15, "y":1},
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"label":"\"", "x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2, "w":2.25},
|
{"matrix": [2, 12], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
{"x":15, "y":2},
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3, "w":1.75},
|
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
{"x":14, "y":3},
|
{"matrix": [3, 13], "x": 14, "y": 3},
|
||||||
{"x":15, "y":3},
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 5], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.5},
|
{"matrix": [4, 9], "x": 10, "y": 4, "w": 1.5},
|
||||||
{"x":11.5, "y":4, "w":1.5},
|
{"matrix": [4, 10], "x": 11.5, "y": 4, "w": 1.5},
|
||||||
{"x":13, "y":4},
|
{"matrix": [4, 12], "x": 13, "y": 4},
|
||||||
{"x":14, "y":4},
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
{"x":15, "y":4}
|
{"matrix": [4, 14], "x": 15, "y": 4}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "rev1.h"
|
#include "quantum.h"
|
||||||
#include "i2c_master.h"
|
#include "i2c_master.h"
|
||||||
#include "drivers/led/issi/is31fl3731.h"
|
#include "drivers/led/issi/is31fl3731.h"
|
||||||
|
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
/* Copyright 2022 Harrison Chan (Xelus)
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define ____ KC_NO
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \
|
|
||||||
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, K214, \
|
|
||||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \
|
|
||||||
K400, K401, K402, K405, K409, K410, K412, K413, K414 \
|
|
||||||
) { \
|
|
||||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
|
|
||||||
{ 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, ____, K214 }, \
|
|
||||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, ____, K312, K313, K314 }, \
|
|
||||||
{ K400, K401, K402, ____, ____, K405, ____, ____, ____, K409, K410, ____, K412, K413, K414 } \
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
/* Copyright 2019 Ryota Goto
|
|
||||||
*
|
|
||||||
* 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_all( \
|
|
||||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \
|
|
||||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, \
|
|
||||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \
|
|
||||||
K300, K301, K302, K304, K306, K308, K309, K310, K311 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \
|
|
||||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111 }, \
|
|
||||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \
|
|
||||||
{ K300, K301, K302, KC_NO, K304, KC_NO, K306, KC_NO, K308, K309, K310, K311 } \
|
|
||||||
}
|
|
@ -11,52 +11,55 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"Tab", "x":0, "y":0, "w":1.5},
|
{"matrix": [0, 0], "x": 0, "y": 0, "w": 1.5},
|
||||||
{"label":"Q", "x":1.5, "y":0},
|
{"matrix": [0, 1], "x": 1.5, "y": 0},
|
||||||
{"label":"W", "x":2.5, "y":0},
|
{"matrix": [0, 2], "x": 2.5, "y": 0},
|
||||||
{"label":"E", "x":3.5, "y":0},
|
{"matrix": [0, 3], "x": 3.5, "y": 0},
|
||||||
{"label":"R", "x":4.5, "y":0},
|
{"matrix": [0, 4], "x": 4.5, "y": 0},
|
||||||
{"label":"T", "x":5.5, "y":0},
|
{"matrix": [0, 5], "x": 5.5, "y": 0},
|
||||||
{"label":"Y", "x":6.5, "y":0},
|
{"matrix": [0, 6], "x": 6.5, "y": 0},
|
||||||
{"label":"U", "x":7.5, "y":0},
|
{"matrix": [0, 7], "x": 7.5, "y": 0},
|
||||||
{"label":"I", "x":8.5, "y":0},
|
{"matrix": [0, 8], "x": 8.5, "y": 0},
|
||||||
{"label":"O", "x":9.5, "y":0},
|
{"matrix": [0, 9], "x": 9.5, "y": 0},
|
||||||
{"label":"P", "x":10.5, "y":0},
|
{"matrix": [0, 10], "x": 10.5, "y": 0},
|
||||||
{"label":"|", "x":11.5, "y":0, "w":1.5},
|
{"matrix": [0, 11], "x": 11.5, "y": 0, "w": 1.5},
|
||||||
{"label":"Caps Lock", "x":0, "y":1, "w":1.75},
|
|
||||||
{"label":"A", "x":1.75, "y":1},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.75},
|
||||||
{"label":"S", "x":2.75, "y":1},
|
{"matrix": [1, 1], "x": 1.75, "y": 1},
|
||||||
{"label":"D", "x":3.75, "y":1},
|
{"matrix": [1, 2], "x": 2.75, "y": 1},
|
||||||
{"label":"F", "x":4.75, "y":1},
|
{"matrix": [1, 3], "x": 3.75, "y": 1},
|
||||||
{"label":"G", "x":5.75, "y":1},
|
{"matrix": [1, 4], "x": 4.75, "y": 1},
|
||||||
{"label":"H", "x":6.75, "y":1},
|
{"matrix": [1, 5], "x": 5.75, "y": 1},
|
||||||
{"label":"J", "x":7.75, "y":1},
|
{"matrix": [1, 6], "x": 6.75, "y": 1},
|
||||||
{"label":"K", "x":8.75, "y":1},
|
{"matrix": [1, 7], "x": 7.75, "y": 1},
|
||||||
{"label":"L", "x":9.75, "y":1},
|
{"matrix": [1, 8], "x": 8.75, "y": 1},
|
||||||
{"label":":", "x":10.75, "y":1},
|
{"matrix": [1, 9], "x": 9.75, "y": 1},
|
||||||
{"label":"Enter", "x":11.75, "y":1, "w":1.25},
|
{"matrix": [1, 10], "x": 10.75, "y": 1},
|
||||||
{"label":"Shift", "x":0, "y":2, "w":1.25},
|
{"matrix": [1, 11], "x": 11.75, "y": 1, "w": 1.25},
|
||||||
{"label":"Fn", "x":1.25, "y":2},
|
|
||||||
{"label":"Z", "x":2.25, "y":2},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.25},
|
||||||
{"label":"X", "x":3.25, "y":2},
|
{"matrix": [2, 1], "x": 1.25, "y": 2},
|
||||||
{"label":"C", "x":4.25, "y":2},
|
{"matrix": [2, 2], "x": 2.25, "y": 2},
|
||||||
{"label":"V", "x":5.25, "y":2},
|
{"matrix": [2, 3], "x": 3.25, "y": 2},
|
||||||
{"label":"B", "x":6.25, "y":2},
|
{"matrix": [2, 4], "x": 4.25, "y": 2},
|
||||||
{"label":"N", "x":7.25, "y":2},
|
{"matrix": [2, 5], "x": 5.25, "y": 2},
|
||||||
{"label":"M", "x":8.25, "y":2},
|
{"matrix": [2, 6], "x": 6.25, "y": 2},
|
||||||
{"label":"<", "x":9.25, "y":2},
|
{"matrix": [2, 7], "x": 7.25, "y": 2},
|
||||||
{"label":">", "x":10.25, "y":2},
|
{"matrix": [2, 8], "x": 8.25, "y": 2},
|
||||||
{"label":"Shift", "x":11.25, "y":2, "w":1.75},
|
{"matrix": [2, 9], "x": 9.25, "y": 2},
|
||||||
{"label":"Ctrl", "x":0, "y":3, "w":1.25},
|
{"matrix": [2, 10], "x": 10.25, "y": 2},
|
||||||
{"label":"Super", "x":1.25, "y":3},
|
{"matrix": [2, 11], "x": 11.25, "y": 2, "w": 1.75},
|
||||||
{"label":"Alt", "x":2.25, "y":3, "w":1.25},
|
|
||||||
{"x":3.5, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||||
{"x":5.75, "y":3},
|
{"matrix": [3, 1], "x": 1.25, "y": 3},
|
||||||
{"x":6.75, "y":3, "w":2.75},
|
{"matrix": [3, 2], "x": 2.25, "y": 3, "w": 1.25},
|
||||||
{"label":"Alt", "x":9.5, "y":3, "w":1.25},
|
{"matrix": [3, 4], "x": 3.5, "y": 3, "w": 2.25},
|
||||||
{"label":"Super", "x":10.75, "y":3},
|
{"matrix": [3, 6], "x": 5.75, "y": 3},
|
||||||
{"label":"Ctrl", "x":11.75, "y":3, "w":1.25}
|
{"matrix": [3, 8], "x": 6.75, "y": 3, "w": 2.75},
|
||||||
]
|
{"matrix": [3, 9], "x": 9.5, "y": 3, "w": 1.25},
|
||||||
|
{"matrix": [3, 10], "x": 10.75, "y": 3},
|
||||||
|
{"matrix": [3, 11], "x": 11.75, "y": 3, "w": 1.25}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,372 +18,82 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
"label": "Esc",
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
"x": 0,
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
"y": 0
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
"label": "!",
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
"x": 1,
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
"y": 0
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
"label": "@",
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
"x": 2,
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
"y": 0
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
},
|
{"matrix": [2, 12], "x": 14, "y": 0},
|
||||||
{
|
{"matrix": [0, 14], "x": 15, "y": 0},
|
||||||
"label": "#",
|
|
||||||
"x": 3,
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
"y": 0
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
"label": "$",
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
"x": 4,
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
"y": 0
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
"label": "%",
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
"x": 5,
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
"y": 0
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
"label": "^",
|
{"matrix": [1, 14], "x": 15, "y": 1},
|
||||||
"x": 6,
|
|
||||||
"y": 0
|
{"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},
|
||||||
"label": "&",
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
"x": 7,
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
"y": 0
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
"label": "*",
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
"x": 8,
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
"y": 0
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{
|
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
"label": "(",
|
{"matrix": [2, 14], "x": 15, "y": 2},
|
||||||
"x": 9,
|
|
||||||
"y": 0
|
{"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},
|
||||||
"label": ")",
|
{"matrix": [3, 3], "x": 3.25, "y": 3},
|
||||||
"x": 10,
|
{"matrix": [3, 4], "x": 4.25, "y": 3},
|
||||||
"y": 0
|
{"matrix": [3, 5], "x": 5.25, "y": 3},
|
||||||
},
|
{"matrix": [3, 6], "x": 6.25, "y": 3},
|
||||||
{
|
{"matrix": [3, 7], "x": 7.25, "y": 3},
|
||||||
"label": "_",
|
{"matrix": [3, 8], "x": 8.25, "y": 3},
|
||||||
"x": 11,
|
{"matrix": [3, 9], "x": 9.25, "y": 3},
|
||||||
"y": 0
|
{"matrix": [3, 10], "x": 10.25, "y": 3},
|
||||||
},
|
{"matrix": [3, 11], "x": 11.25, "y": 3},
|
||||||
{
|
{"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
"label": "+",
|
{"matrix": [3, 13], "x": 14, "y": 3},
|
||||||
"x": 12,
|
{"matrix": [3, 14], "x": 15, "y": 3},
|
||||||
"y": 0
|
|
||||||
},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
"label": "Back Space",
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
"x": 13,
|
{"matrix": [4, 4], "x": 3.75, "y": 4, "w": 2.25},
|
||||||
"y": 0
|
{"matrix": [4, 6], "x": 6, "y": 4, "w": 1.25},
|
||||||
},
|
{"matrix": [4, 8], "x": 7.25, "y": 4, "w": 2.75},
|
||||||
{
|
{"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25},
|
||||||
"label": "Delete",
|
{"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
"x": 14,
|
|
||||||
"y": 0
|
{"matrix": [4, 12], "x": 13, "y": 4},
|
||||||
},
|
{"matrix": [4, 13], "x": 14, "y": 4},
|
||||||
{
|
{"matrix": [4, 14], "x": 15, "y": 4}
|
||||||
"label": "PgUp",
|
|
||||||
"x": 15,
|
|
||||||
"y": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Tab",
|
|
||||||
"x": 0,
|
|
||||||
"y": 1,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Q",
|
|
||||||
"x": 1.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "W",
|
|
||||||
"x": 2.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "E",
|
|
||||||
"x": 3.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "R",
|
|
||||||
"x": 4.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "T",
|
|
||||||
"x": 5.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Y",
|
|
||||||
"x": 6.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "U",
|
|
||||||
"x": 7.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "I",
|
|
||||||
"x": 8.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "O",
|
|
||||||
"x": 9.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "P",
|
|
||||||
"x": 10.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "{",
|
|
||||||
"x": 11.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "}",
|
|
||||||
"x": 12.5,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "|",
|
|
||||||
"x": 13.5,
|
|
||||||
"y": 1,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "PgDn",
|
|
||||||
"x": 15,
|
|
||||||
"y": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Caps Lock",
|
|
||||||
"x": 0,
|
|
||||||
"y": 2,
|
|
||||||
"w": 1.75
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "A",
|
|
||||||
"x": 1.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "S",
|
|
||||||
"x": 2.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "D",
|
|
||||||
"x": 3.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "F",
|
|
||||||
"x": 4.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "G",
|
|
||||||
"x": 5.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "H",
|
|
||||||
"x": 6.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "J",
|
|
||||||
"x": 7.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "K",
|
|
||||||
"x": 8.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "L",
|
|
||||||
"x": 9.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ":",
|
|
||||||
"x": 10.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "\"",
|
|
||||||
"x": 11.75,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Enter",
|
|
||||||
"x": 12.75,
|
|
||||||
"y": 2,
|
|
||||||
"w": 2.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Home",
|
|
||||||
"x": 15,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Shift",
|
|
||||||
"x": 0,
|
|
||||||
"y": 3,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "|",
|
|
||||||
"x": 1.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Z",
|
|
||||||
"x": 2.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "X",
|
|
||||||
"x": 3.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "C",
|
|
||||||
"x": 4.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "V",
|
|
||||||
"x": 5.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "B",
|
|
||||||
"x": 6.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "N",
|
|
||||||
"x": 7.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "M",
|
|
||||||
"x": 8.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "<",
|
|
||||||
"x": 9.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ">",
|
|
||||||
"x": 10.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "?",
|
|
||||||
"x": 11.25,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Shift",
|
|
||||||
"x": 12.25,
|
|
||||||
"y": 3,
|
|
||||||
"w": 1.75
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "↑",
|
|
||||||
"x": 14,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "End",
|
|
||||||
"x": 15,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Ctrl",
|
|
||||||
"x": 0,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Win",
|
|
||||||
"x": 1.25,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Alt",
|
|
||||||
"x": 2.5,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 3.75,
|
|
||||||
"y": 4,
|
|
||||||
"w": 2.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 6,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 7.25,
|
|
||||||
"y": 4,
|
|
||||||
"w": 2.75
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Alt",
|
|
||||||
"x": 10,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Ctrl",
|
|
||||||
"x": 11.25,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "←",
|
|
||||||
"x": 13,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "↓",
|
|
||||||
"x": 14,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "→",
|
|
||||||
"x": 15,
|
|
||||||
"y": 4
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "vega.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
void matrix_init_kb(void) {
|
void matrix_init_kb(void) {
|
||||||
// Initialize indicator LEDs to output
|
// Initialize indicator LEDs to output
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
/* Copyright 2020 ai03
|
|
||||||
*
|
|
||||||
* 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_all( \
|
|
||||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, K014, \
|
|
||||||
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, K213, K214, \
|
|
||||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, \
|
|
||||||
K400, K401, K402, K404, K406, K408, K410, K411, K412, K413, K414 \
|
|
||||||
) { \
|
|
||||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \
|
|
||||||
{ 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, K312, K313, K314 }, \
|
|
||||||
{ K400, K401, K402, KC_NO, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, K412, K413, K414 } \
|
|
||||||
}
|
|
@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_MAIN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_MAIN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_LEFT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_LEFT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_RIGHT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_RIGHT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_MAIN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_MAIN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_LEFT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_LEFT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_RIGHT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_RIGHT] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
/* Copyright 2018 MechMerlin
|
|
||||||
*
|
|
||||||
* 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( \
|
|
||||||
k50, k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F, k4F, k4E, \
|
|
||||||
k51, k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k2F, k4D, \
|
|
||||||
k52, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, \
|
|
||||||
k53, k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, k4C, \
|
|
||||||
k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B \
|
|
||||||
) { \
|
|
||||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F }, \
|
|
||||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F }, \
|
|
||||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F }, \
|
|
||||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F }, \
|
|
||||||
{ k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F }, \
|
|
||||||
{ k50, k51, k52, k53, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define LAYOUT_split_bs( \
|
|
||||||
k50, k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k5C, k0C, k0D, k0E, k0F, k4F, k4E, \
|
|
||||||
k51, k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F, k2F, k4D, \
|
|
||||||
k52, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, \
|
|
||||||
k53, k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F, k4C, \
|
|
||||||
k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B \
|
|
||||||
) { \
|
|
||||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, k0F }, \
|
|
||||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, k1F }, \
|
|
||||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, k2E, k2F }, \
|
|
||||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, k3F }, \
|
|
||||||
{ k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C, k4D, k4E, k4F }, \
|
|
||||||
{ k50, k51, k52, k53, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, k5C, XXX, XXX, XXX } \
|
|
||||||
}
|
|
@ -23,206 +23,207 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x": 0, "y": 0},
|
{"matrix": [5, 0], "x": 0, "y": 0},
|
||||||
{"x": 1, "y": 0},
|
{"matrix": [0, 0], "x": 1, "y": 0},
|
||||||
{"x": 2, "y": 0},
|
{"matrix": [0, 1], "x": 2, "y": 0},
|
||||||
{"x": 3, "y": 0},
|
{"matrix": [0, 2], "x": 3, "y": 0},
|
||||||
{"x": 4, "y": 0},
|
{"matrix": [0, 3], "x": 4, "y": 0},
|
||||||
{"x": 5, "y": 0},
|
{"matrix": [0, 4], "x": 5, "y": 0},
|
||||||
{"x": 6, "y": 0},
|
{"matrix": [0, 5], "x": 6, "y": 0},
|
||||||
{"x": 7, "y": 0},
|
{"matrix": [0, 6], "x": 7, "y": 0},
|
||||||
{"x": 8, "y": 0},
|
{"matrix": [0, 7], "x": 8, "y": 0},
|
||||||
{"x": 9, "y": 0},
|
{"matrix": [0, 8], "x": 9, "y": 0},
|
||||||
{"x": 10, "y": 0},
|
{"matrix": [0, 9], "x": 10, "y": 0},
|
||||||
{"x": 11, "y": 0},
|
{"matrix": [0, 10], "x": 11, "y": 0},
|
||||||
{"x": 12, "y": 0},
|
{"matrix": [0, 11], "x": 12, "y": 0},
|
||||||
{"x": 13, "y": 0, "w": 2},
|
{"matrix": [0, 12], "x": 13, "y": 0, "w": 2},
|
||||||
|
|
||||||
{"x": 15.25, "y": 0},
|
{"matrix": [0, 13], "x": 15.25, "y": 0},
|
||||||
|
|
||||||
{"x": 16.5, "y": 0},
|
{"matrix": [0, 14], "x": 16.5, "y": 0},
|
||||||
{"x": 17.5, "y": 0},
|
{"matrix": [0, 15], "x": 17.5, "y": 0},
|
||||||
{"x": 18.5, "y": 0},
|
{"matrix": [4, 15], "x": 18.5, "y": 0},
|
||||||
{"x": 19.5, "y": 0},
|
{"matrix": [4, 14], "x": 19.5, "y": 0},
|
||||||
|
|
||||||
{"x": 0, "y": 1, "w": 1.5},
|
{"matrix": [5, 1], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x": 1.5, "y": 1},
|
{"matrix": [1, 0], "x": 1.5, "y": 1},
|
||||||
{"x": 2.5, "y": 1},
|
{"matrix": [1, 1], "x": 2.5, "y": 1},
|
||||||
{"x": 3.5, "y": 1},
|
{"matrix": [1, 2], "x": 3.5, "y": 1},
|
||||||
{"x": 4.5, "y": 1},
|
{"matrix": [1, 3], "x": 4.5, "y": 1},
|
||||||
{"x": 5.5, "y": 1},
|
{"matrix": [1, 4], "x": 5.5, "y": 1},
|
||||||
{"x": 6.5, "y": 1},
|
{"matrix": [1, 5], "x": 6.5, "y": 1},
|
||||||
{"x": 7.5, "y": 1},
|
{"matrix": [1, 6], "x": 7.5, "y": 1},
|
||||||
{"x": 8.5, "y": 1},
|
{"matrix": [1, 7], "x": 8.5, "y": 1},
|
||||||
{"x": 9.5, "y": 1},
|
{"matrix": [1, 8], "x": 9.5, "y": 1},
|
||||||
{"x": 10.5, "y": 1},
|
{"matrix": [1, 9], "x": 10.5, "y": 1},
|
||||||
{"x": 11.5, "y": 1},
|
{"matrix": [1, 10], "x": 11.5, "y": 1},
|
||||||
{"x": 12.5, "y": 1},
|
{"matrix": [1, 11], "x": 12.5, "y": 1},
|
||||||
{"x": 13.5, "y": 1, "w": 1.5},
|
{"matrix": [1, 12], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
{"x": 15.25, "y": 1},
|
{"matrix": [1, 13], "x": 15.25, "y": 1},
|
||||||
|
|
||||||
{"x": 16.5, "y": 1},
|
{"matrix": [1, 14], "x": 16.5, "y": 1},
|
||||||
{"x": 17.5, "y": 1},
|
{"matrix": [1, 15], "x": 17.5, "y": 1},
|
||||||
{"x": 18.5, "y": 1},
|
{"matrix": [2, 15], "x": 18.5, "y": 1},
|
||||||
{"x": 19.5, "y": 1, "h": 2},
|
{"matrix": [4, 13], "x": 19.5, "y": 1, "h": 2},
|
||||||
|
|
||||||
{"x": 0, "y": 2, "w": 1.75},
|
{"matrix": [5, 2], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x": 1.75, "y": 2},
|
{"matrix": [2, 0], "x": 1.75, "y": 2},
|
||||||
{"x": 2.75, "y": 2},
|
{"matrix": [2, 1], "x": 2.75, "y": 2},
|
||||||
{"x": 3.75, "y": 2},
|
{"matrix": [2, 2], "x": 3.75, "y": 2},
|
||||||
{"x": 4.75, "y": 2},
|
{"matrix": [2, 3], "x": 4.75, "y": 2},
|
||||||
{"x": 5.75, "y": 2},
|
{"matrix": [2, 4], "x": 5.75, "y": 2},
|
||||||
{"x": 6.75, "y": 2},
|
{"matrix": [2, 5], "x": 6.75, "y": 2},
|
||||||
{"x": 7.75, "y": 2},
|
{"matrix": [2, 6], "x": 7.75, "y": 2},
|
||||||
{"x": 8.75, "y": 2},
|
{"matrix": [2, 7], "x": 8.75, "y": 2},
|
||||||
{"x": 9.75, "y": 2},
|
{"matrix": [2, 8], "x": 9.75, "y": 2},
|
||||||
{"x": 10.75, "y": 2},
|
{"matrix": [2, 9], "x": 10.75, "y": 2},
|
||||||
{"x": 11.75, "y": 2},
|
{"matrix": [2, 10], "x": 11.75, "y": 2},
|
||||||
{"x": 12.75, "y": 2, "w": 2.25},
|
{"matrix": [2, 11], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
{"x": 16.5, "y": 2},
|
{"matrix": [2, 12], "x": 16.5, "y": 2},
|
||||||
{"x": 17.5, "y": 2},
|
{"matrix": [2, 13], "x": 17.5, "y": 2},
|
||||||
{"x": 18.5, "y": 2},
|
{"matrix": [2, 14], "x": 18.5, "y": 2},
|
||||||
|
|
||||||
{"x": 0, "y": 3, "w": 2.25},
|
{"matrix": [5, 3], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x": 2.25, "y": 3},
|
{"matrix": [3, 0], "x": 2.25, "y": 3},
|
||||||
{"x": 3.25, "y": 3},
|
{"matrix": [3, 1], "x": 3.25, "y": 3},
|
||||||
{"x": 4.25, "y": 3},
|
{"matrix": [3, 2], "x": 4.25, "y": 3},
|
||||||
{"x": 5.25, "y": 3},
|
{"matrix": [3, 3], "x": 5.25, "y": 3},
|
||||||
{"x": 6.25, "y": 3},
|
{"matrix": [3, 4], "x": 6.25, "y": 3},
|
||||||
{"x": 7.25, "y": 3},
|
{"matrix": [3, 5], "x": 7.25, "y": 3},
|
||||||
{"x": 8.25, "y": 3},
|
{"matrix": [3, 6], "x": 8.25, "y": 3},
|
||||||
{"x": 9.25, "y": 3},
|
{"matrix": [3, 7], "x": 9.25, "y": 3},
|
||||||
{"x": 10.25, "y": 3},
|
{"matrix": [3, 8], "x": 10.25, "y": 3},
|
||||||
{"x": 11.25, "y": 3},
|
{"matrix": [3, 9], "x": 11.25, "y": 3},
|
||||||
{"x": 12.25, "y": 3, "w": 1.75},
|
{"matrix": [3, 10], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
{"x": 14, "y": 3},
|
{"matrix": [3, 11], "x": 14, "y": 3},
|
||||||
|
|
||||||
{"x": 15.25, "y": 3.25},
|
{"matrix": [3, 12], "x": 15.25, "y": 3.25},
|
||||||
|
|
||||||
{"x": 16.5, "y": 3},
|
{"matrix": [3, 13], "x": 16.5, "y": 3},
|
||||||
{"x": 17.5, "y": 3},
|
{"matrix": [3, 14], "x": 17.5, "y": 3},
|
||||||
{"x": 18.5, "y": 3},
|
{"matrix": [3, 15], "x": 18.5, "y": 3},
|
||||||
{"x": 19.5, "y": 3, "h": 2},
|
{"matrix": [4, 12], "x": 19.5, "y": 3, "h": 2},
|
||||||
|
|
||||||
{"x": 0, "y": 4, "w": 1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x": 1.25, "y": 4},
|
{"matrix": [4, 1], "x": 1.25, "y": 4},
|
||||||
{"x": 2.25, "y": 4, "w": 1.25},
|
{"matrix": [4, 2], "x": 2.25, "y": 4, "w": 1.25},
|
||||||
{"x": 3.5, "y": 4, "w": 7},
|
{"matrix": [4, 3], "x": 3.5, "y": 4, "w": 7},
|
||||||
{"x": 10.5, "y": 4, "w": 1.25},
|
{"matrix": [4, 4], "x": 10.5, "y": 4, "w": 1.25},
|
||||||
{"x": 11.75, "y": 4},
|
{"matrix": [4, 5], "x": 11.75, "y": 4},
|
||||||
{"x": 12.75, "y": 4, "w": 1.25},
|
{"matrix": [4, 6], "x": 12.75, "y": 4, "w": 1.25},
|
||||||
|
|
||||||
{"x": 14.25, "y": 4.25},
|
{"matrix": [4, 7], "x": 14.25, "y": 4.25},
|
||||||
{"x": 15.25, "y": 4.25},
|
{"matrix": [4, 8], "x": 15.25, "y": 4.25},
|
||||||
{"x": 16.25, "y": 4.25},
|
{"matrix": [4, 9], "x": 16.25, "y": 4.25},
|
||||||
|
|
||||||
{"x": 17.5, "y": 4},
|
{"matrix": [4, 10], "x": 17.5, "y": 4},
|
||||||
{"x": 18.5, "y": 4}
|
{"matrix": [4, 11], "x": 18.5, "y": 4}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"LAYOUT_split_bs": {
|
"LAYOUT_split_bs": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x": 0, "y": 0},
|
{"matrix": [5, 0], "x": 0, "y": 0},
|
||||||
{"x": 1, "y": 0},
|
{"matrix": [0, 0], "x": 1, "y": 0},
|
||||||
{"x": 2, "y": 0},
|
{"matrix": [0, 1], "x": 2, "y": 0},
|
||||||
{"x": 3, "y": 0},
|
{"matrix": [0, 2], "x": 3, "y": 0},
|
||||||
{"x": 4, "y": 0},
|
{"matrix": [0, 3], "x": 4, "y": 0},
|
||||||
{"x": 5, "y": 0},
|
{"matrix": [0, 4], "x": 5, "y": 0},
|
||||||
{"x": 6, "y": 0},
|
{"matrix": [0, 5], "x": 6, "y": 0},
|
||||||
{"x": 7, "y": 0},
|
{"matrix": [0, 6], "x": 7, "y": 0},
|
||||||
{"x": 8, "y": 0},
|
{"matrix": [0, 7], "x": 8, "y": 0},
|
||||||
{"x": 9, "y": 0},
|
{"matrix": [0, 8], "x": 9, "y": 0},
|
||||||
{"x": 10, "y": 0},
|
{"matrix": [0, 9], "x": 10, "y": 0},
|
||||||
{"x": 11, "y": 0},
|
{"matrix": [0, 10], "x": 11, "y": 0},
|
||||||
{"x": 12, "y": 0},
|
{"matrix": [0, 11], "x": 12, "y": 0},
|
||||||
{"x": 13, "y": 0},
|
{"matrix": [5, 12], "x": 13, "y": 0},
|
||||||
{"x": 14, "y": 0},
|
{"matrix": [0, 12], "x": 14, "y": 0},
|
||||||
|
|
||||||
{"x": 15.25, "y": 0},
|
{"matrix": [0, 13], "x": 15.25, "y": 0},
|
||||||
|
|
||||||
{"x": 16.5, "y": 0},
|
{"matrix": [0, 14], "x": 16.5, "y": 0},
|
||||||
{"x": 17.5, "y": 0},
|
{"matrix": [0, 15], "x": 17.5, "y": 0},
|
||||||
{"x": 18.5, "y": 0},
|
{"matrix": [4, 15], "x": 18.5, "y": 0},
|
||||||
{"x": 19.5, "y": 0},
|
{"matrix": [4, 14], "x": 19.5, "y": 0},
|
||||||
|
|
||||||
{"x": 0, "y": 1, "w": 1.5},
|
{"matrix": [5, 1], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x": 1.5, "y": 1},
|
{"matrix": [1, 0], "x": 1.5, "y": 1},
|
||||||
{"x": 2.5, "y": 1},
|
{"matrix": [1, 1], "x": 2.5, "y": 1},
|
||||||
{"x": 3.5, "y": 1},
|
{"matrix": [1, 2], "x": 3.5, "y": 1},
|
||||||
{"x": 4.5, "y": 1},
|
{"matrix": [1, 3], "x": 4.5, "y": 1},
|
||||||
{"x": 5.5, "y": 1},
|
{"matrix": [1, 4], "x": 5.5, "y": 1},
|
||||||
{"x": 6.5, "y": 1},
|
{"matrix": [1, 5], "x": 6.5, "y": 1},
|
||||||
{"x": 7.5, "y": 1},
|
{"matrix": [1, 6], "x": 7.5, "y": 1},
|
||||||
{"x": 8.5, "y": 1},
|
{"matrix": [1, 7], "x": 8.5, "y": 1},
|
||||||
{"x": 9.5, "y": 1},
|
{"matrix": [1, 8], "x": 9.5, "y": 1},
|
||||||
{"x": 10.5, "y": 1},
|
{"matrix": [1, 9], "x": 10.5, "y": 1},
|
||||||
{"x": 11.5, "y": 1},
|
{"matrix": [1, 10], "x": 11.5, "y": 1},
|
||||||
{"x": 12.5, "y": 1},
|
{"matrix": [1, 11], "x": 12.5, "y": 1},
|
||||||
{"x": 13.5, "y": 1, "w": 1.5},
|
{"matrix": [1, 12], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
{"x": 15.25, "y": 1},
|
{"matrix": [1, 13], "x": 15.25, "y": 1},
|
||||||
|
|
||||||
{"x": 16.5, "y": 1},
|
{"matrix": [1, 14], "x": 16.5, "y": 1},
|
||||||
{"x": 17.5, "y": 1},
|
{"matrix": [1, 15], "x": 17.5, "y": 1},
|
||||||
{"x": 18.5, "y": 1},
|
{"matrix": [2, 15], "x": 18.5, "y": 1},
|
||||||
{"x": 19.5, "y": 1, "h": 2},
|
{"matrix": [4, 13], "x": 19.5, "y": 1, "h": 2},
|
||||||
|
|
||||||
{"x": 0, "y": 2, "w": 1.75},
|
{"matrix": [5, 2], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x": 1.75, "y": 2},
|
{"matrix": [2, 0], "x": 1.75, "y": 2},
|
||||||
{"x": 2.75, "y": 2},
|
{"matrix": [2, 1], "x": 2.75, "y": 2},
|
||||||
{"x": 3.75, "y": 2},
|
{"matrix": [2, 2], "x": 3.75, "y": 2},
|
||||||
{"x": 4.75, "y": 2},
|
{"matrix": [2, 3], "x": 4.75, "y": 2},
|
||||||
{"x": 5.75, "y": 2},
|
{"matrix": [2, 4], "x": 5.75, "y": 2},
|
||||||
{"x": 6.75, "y": 2},
|
{"matrix": [2, 5], "x": 6.75, "y": 2},
|
||||||
{"x": 7.75, "y": 2},
|
{"matrix": [2, 6], "x": 7.75, "y": 2},
|
||||||
{"x": 8.75, "y": 2},
|
{"matrix": [2, 7], "x": 8.75, "y": 2},
|
||||||
{"x": 9.75, "y": 2},
|
{"matrix": [2, 8], "x": 9.75, "y": 2},
|
||||||
{"x": 10.75, "y": 2},
|
{"matrix": [2, 9], "x": 10.75, "y": 2},
|
||||||
{"x": 11.75, "y": 2},
|
{"matrix": [2, 10], "x": 11.75, "y": 2},
|
||||||
{"x": 12.75, "y": 2, "w": 2.25},
|
{"matrix": [2, 11], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
{"x": 16.5, "y": 2},
|
{"matrix": [2, 12], "x": 16.5, "y": 2},
|
||||||
{"x": 17.5, "y": 2},
|
{"matrix": [2, 13], "x": 17.5, "y": 2},
|
||||||
{"x": 18.5, "y": 2},
|
{"matrix": [2, 14], "x": 18.5, "y": 2},
|
||||||
|
|
||||||
{"x": 0, "y": 3, "w": 2.25},
|
{"matrix": [5, 3], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x": 2.25, "y": 3},
|
{"matrix": [3, 0], "x": 2.25, "y": 3},
|
||||||
{"x": 3.25, "y": 3},
|
{"matrix": [3, 1], "x": 3.25, "y": 3},
|
||||||
{"x": 4.25, "y": 3},
|
{"matrix": [3, 2], "x": 4.25, "y": 3},
|
||||||
{"x": 5.25, "y": 3},
|
{"matrix": [3, 3], "x": 5.25, "y": 3},
|
||||||
{"x": 6.25, "y": 3},
|
{"matrix": [3, 4], "x": 6.25, "y": 3},
|
||||||
{"x": 7.25, "y": 3},
|
{"matrix": [3, 5], "x": 7.25, "y": 3},
|
||||||
{"x": 8.25, "y": 3},
|
{"matrix": [3, 6], "x": 8.25, "y": 3},
|
||||||
{"x": 9.25, "y": 3},
|
{"matrix": [3, 7], "x": 9.25, "y": 3},
|
||||||
{"x": 10.25, "y": 3},
|
{"matrix": [3, 8], "x": 10.25, "y": 3},
|
||||||
{"x": 11.25, "y": 3},
|
{"matrix": [3, 9], "x": 11.25, "y": 3},
|
||||||
{"x": 12.25, "y": 3, "w": 1.75},
|
{"matrix": [3, 10], "x": 12.25, "y": 3, "w": 1.75},
|
||||||
{"x": 14, "y": 3},
|
{"matrix": [3, 11], "x": 14, "y": 3},
|
||||||
|
|
||||||
{"x": 15.25, "y": 3.25},
|
{"matrix": [3, 12], "x": 15.25, "y": 3.25},
|
||||||
|
|
||||||
{"x": 16.5, "y": 3},
|
{"matrix": [3, 13], "x": 16.5, "y": 3},
|
||||||
{"x": 17.5, "y": 3},
|
{"matrix": [3, 14], "x": 17.5, "y": 3},
|
||||||
{"x": 18.5, "y": 3},
|
{"matrix": [3, 15], "x": 18.5, "y": 3},
|
||||||
{"x": 19.5, "y": 3, "h": 2},
|
{"matrix": [4, 12], "x": 19.5, "y": 3, "h": 2},
|
||||||
|
|
||||||
{"x": 0, "y": 4, "w": 1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x": 1.25, "y": 4},
|
{"matrix": [4, 1], "x": 1.25, "y": 4},
|
||||||
{"x": 2.25, "y": 4, "w": 1.25},
|
{"matrix": [4, 2], "x": 2.25, "y": 4, "w": 1.25},
|
||||||
{"x": 3.5, "y": 4, "w": 7},
|
{"matrix": [4, 3], "x": 3.5, "y": 4, "w": 7},
|
||||||
{"x": 10.5, "y": 4, "w": 1.25},
|
{"matrix": [4, 4], "x": 10.5, "y": 4, "w": 1.25},
|
||||||
{"x": 11.75, "y": 4},
|
{"matrix": [4, 5], "x": 11.75, "y": 4},
|
||||||
{"x": 12.75, "y": 4, "w": 1.25},
|
{"matrix": [4, 6], "x": 12.75, "y": 4, "w": 1.25},
|
||||||
|
|
||||||
{"x": 14.25, "y": 4.25},
|
{"matrix": [4, 7], "x": 14.25, "y": 4.25},
|
||||||
{"x": 15.25, "y": 4.25},
|
{"matrix": [4, 8], "x": 15.25, "y": 4.25},
|
||||||
{"x": 16.25, "y": 4.25},
|
{"matrix": [4, 9], "x": 16.25, "y": 4.25},
|
||||||
|
|
||||||
{"x": 17.5, "y": 4},
|
{"matrix": [4, 10], "x": 17.5, "y": 4},
|
||||||
{"x": 18.5, "y": 4}
|
{"matrix": [4, 11], "x": 18.5, "y": 4}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
/* Copyright 2018 MechMerlin
|
|
||||||
*
|
|
||||||
* 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 a shortcut to help you visually see your layout.
|
|
||||||
// The following is an example using the Planck MIT 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_all( \
|
|
||||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \
|
|
||||||
k10, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \
|
|
||||||
k20, 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, k3E, \
|
|
||||||
k40, k42, k43, k45, k47, k48, k4A, k4B, k4C, k4D, k4E \
|
|
||||||
) { \
|
|
||||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \
|
|
||||||
{ k10, XXX, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E }, \
|
|
||||||
{ k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, k2D, XXX }, \
|
|
||||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \
|
|
||||||
{ k40, XXX, k42, k43, XXX, k45, XXX, k47, k48, XXX, k4A, k4B, k4C, k4D, k4E } \
|
|
||||||
}
|
|
@ -28,7 +28,81 @@
|
|||||||
"bootloader": "atmel-dfu",
|
"bootloader": "atmel-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"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}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":2.75}, {"x":6.5, "y":4, "w":1.25}, {"x":7.75, "y":4, "w":2.25}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}, {"x":14, "y":4}]
|
"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": [0, 11], "x": 11, "y": 0},
|
||||||
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
|
{"matrix": [0, 13], "x": 13, "y": 0},
|
||||||
|
{"matrix": [0, 14], "x": 14, "y": 0},
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
|
{"matrix": [1, 2], "x": 1.5, "y": 1},
|
||||||
|
{"matrix": [1, 3], "x": 2.5, "y": 1},
|
||||||
|
{"matrix": [1, 4], "x": 3.5, "y": 1},
|
||||||
|
{"matrix": [1, 5], "x": 4.5, "y": 1},
|
||||||
|
{"matrix": [1, 6], "x": 5.5, "y": 1},
|
||||||
|
{"matrix": [1, 7], "x": 6.5, "y": 1},
|
||||||
|
{"matrix": [1, 8], "x": 7.5, "y": 1},
|
||||||
|
{"matrix": [1, 9], "x": 8.5, "y": 1},
|
||||||
|
{"matrix": [1, 10], "x": 9.5, "y": 1},
|
||||||
|
{"matrix": [1, 11], "x": 10.5, "y": 1},
|
||||||
|
{"matrix": [1, 12], "x": 11.5, "y": 1},
|
||||||
|
{"matrix": [1, 13], "x": 12.5, "y": 1},
|
||||||
|
{"matrix": [1, 14], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
|
{"matrix": [2, 2], "x": 1.75, "y": 2},
|
||||||
|
{"matrix": [2, 3], "x": 2.75, "y": 2},
|
||||||
|
{"matrix": [2, 4], "x": 3.75, "y": 2},
|
||||||
|
{"matrix": [2, 5], "x": 4.75, "y": 2},
|
||||||
|
{"matrix": [2, 6], "x": 5.75, "y": 2},
|
||||||
|
{"matrix": [2, 7], "x": 6.75, "y": 2},
|
||||||
|
{"matrix": [2, 8], "x": 7.75, "y": 2},
|
||||||
|
{"matrix": [2, 9], "x": 8.75, "y": 2},
|
||||||
|
{"matrix": [2, 10], "x": 9.75, "y": 2},
|
||||||
|
{"matrix": [2, 11], "x": 10.75, "y": 2},
|
||||||
|
{"matrix": [2, 12], "x": 11.75, "y": 2},
|
||||||
|
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||||
|
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||||
|
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||||
|
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||||
|
{"matrix": [3, 4], "x": 4, "y": 3},
|
||||||
|
{"matrix": [3, 5], "x": 5, "y": 3},
|
||||||
|
{"matrix": [3, 6], "x": 6, "y": 3},
|
||||||
|
{"matrix": [3, 7], "x": 7, "y": 3},
|
||||||
|
{"matrix": [3, 8], "x": 8, "y": 3},
|
||||||
|
{"matrix": [3, 9], "x": 9, "y": 3},
|
||||||
|
{"matrix": [3, 10], "x": 10, "y": 3},
|
||||||
|
{"matrix": [3, 11], "x": 11, "y": 3},
|
||||||
|
{"matrix": [3, 12], "x": 12, "y": 3},
|
||||||
|
{"matrix": [3, 13], "x": 13, "y": 3},
|
||||||
|
{"matrix": [3, 14], "x": 14, "y": 3},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 2], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 5], "x": 3.75, "y": 4, "w": 2.75},
|
||||||
|
{"matrix": [4, 7], "x": 6.5, "y": 4, "w": 1.25},
|
||||||
|
{"matrix": [4, 8], "x": 7.75, "y": 4, "w": 2.25},
|
||||||
|
{"matrix": [4, 10], "x": 10, "y": 4},
|
||||||
|
{"matrix": [4, 11], "x": 11, "y": 4},
|
||||||
|
{"matrix": [4, 12], "x": 12, "y": 4},
|
||||||
|
{"matrix": [4, 13], "x": 13, "y": 4},
|
||||||
|
{"matrix": [4, 14], "x": 14, "y": 4}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,79 +28,79 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":1.5, "y":0},
|
{"matrix": [4, 4], "x": 1.5, "y": 0},
|
||||||
{"x":2.5, "y":0},
|
{"matrix": [4, 8], "x": 2.5, "y": 0},
|
||||||
|
|
||||||
{"label":"~", "x":0, "y":1},
|
{"matrix": [0, 0], "x": 0, "y": 1},
|
||||||
{"label":"!", "x":1, "y":1},
|
{"matrix": [0, 1], "x": 1, "y": 1},
|
||||||
{"label":"@", "x":2, "y":1},
|
{"matrix": [0, 2], "x": 2, "y": 1},
|
||||||
{"label":"#", "x":3, "y":1},
|
{"matrix": [0, 3], "x": 3, "y": 1},
|
||||||
{"label":"$", "x":4, "y":1},
|
{"matrix": [0, 4], "x": 4, "y": 1},
|
||||||
{"label":"%", "x":5, "y":1},
|
{"matrix": [0, 5], "x": 5, "y": 1},
|
||||||
{"label":"^", "x":6, "y":1},
|
{"matrix": [0, 6], "x": 6, "y": 1},
|
||||||
{"label":"&", "x":7, "y":1},
|
{"matrix": [0, 7], "x": 7, "y": 1},
|
||||||
{"label":"*", "x":8, "y":1},
|
{"matrix": [0, 8], "x": 8, "y": 1},
|
||||||
{"label":"(", "x":9, "y":1},
|
{"matrix": [0, 9], "x": 9, "y": 1},
|
||||||
{"label":")", "x":10, "y":1},
|
{"matrix": [0, 10], "x": 10, "y": 1},
|
||||||
{"label":"_", "x":11, "y":1},
|
{"matrix": [0, 11], "x": 11, "y": 1},
|
||||||
{"label":"+", "x":12, "y":1},
|
{"matrix": [0, 12], "x": 12, "y": 1},
|
||||||
{"x":13, "y":1},
|
{"matrix": [0, 13], "x": 13, "y": 1},
|
||||||
{"x":14, "y":1},
|
{"matrix": [0, 14], "x": 14, "y": 1},
|
||||||
|
|
||||||
{"label":"Tab", "x":0, "y":2, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 2, "w": 1.5},
|
||||||
{"label":"Q", "x":1.5, "y":2},
|
{"matrix": [1, 2], "x": 1.5, "y": 2},
|
||||||
{"label":"W", "x":2.5, "y":2},
|
{"matrix": [1, 3], "x": 2.5, "y": 2},
|
||||||
{"label":"E", "x":3.5, "y":2},
|
{"matrix": [1, 4], "x": 3.5, "y": 2},
|
||||||
{"label":"R", "x":4.5, "y":2},
|
{"matrix": [1, 5], "x": 4.5, "y": 2},
|
||||||
{"label":"T", "x":5.5, "y":2},
|
{"matrix": [1, 6], "x": 5.5, "y": 2},
|
||||||
{"label":"Y", "x":6.5, "y":2},
|
{"matrix": [1, 7], "x": 6.5, "y": 2},
|
||||||
{"label":"U", "x":7.5, "y":2},
|
{"matrix": [1, 8], "x": 7.5, "y": 2},
|
||||||
{"label":"I", "x":8.5, "y":2},
|
{"matrix": [1, 9], "x": 8.5, "y": 2},
|
||||||
{"label":"O", "x":9.5, "y":2},
|
{"matrix": [1, 10], "x": 9.5, "y": 2},
|
||||||
{"label":"P", "x":10.5, "y":2},
|
{"matrix": [1, 11], "x": 10.5, "y": 2},
|
||||||
{"label":"{", "x":11.5, "y":2},
|
{"matrix": [1, 12], "x": 11.5, "y": 2},
|
||||||
{"label":"}", "x":12.5, "y":2},
|
{"matrix": [1, 13], "x": 12.5, "y": 2},
|
||||||
{"label":"|", "x":13.5, "y":2, "w":1.5},
|
{"matrix": [1, 14], "x": 13.5, "y": 2, "w": 1.5},
|
||||||
|
|
||||||
{"label":"Caps Lock", "x":0, "y":3, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 3, "w": 1.75},
|
||||||
{"label":"A", "x":1.75, "y":3},
|
{"matrix": [2, 2], "x": 1.75, "y": 3},
|
||||||
{"label":"S", "x":2.75, "y":3},
|
{"matrix": [2, 3], "x": 2.75, "y": 3},
|
||||||
{"label":"D", "x":3.75, "y":3},
|
{"matrix": [2, 4], "x": 3.75, "y": 3},
|
||||||
{"label":"F", "x":4.75, "y":3},
|
{"matrix": [2, 5], "x": 4.75, "y": 3},
|
||||||
{"label":"G", "x":5.75, "y":3},
|
{"matrix": [2, 6], "x": 5.75, "y": 3},
|
||||||
{"label":"H", "x":6.75, "y":3},
|
{"matrix": [2, 7], "x": 6.75, "y": 3},
|
||||||
{"label":"J", "x":7.75, "y":3},
|
{"matrix": [2, 8], "x": 7.75, "y": 3},
|
||||||
{"label":"K", "x":8.75, "y":3},
|
{"matrix": [2, 9], "x": 8.75, "y": 3},
|
||||||
{"label":"L", "x":9.75, "y":3},
|
{"matrix": [2, 10], "x": 9.75, "y": 3},
|
||||||
{"label":":", "x":10.75, "y":3},
|
{"matrix": [2, 11], "x": 10.75, "y": 3},
|
||||||
{"label":"\"", "x":11.75, "y":3},
|
{"matrix": [2, 12], "x": 11.75, "y": 3},
|
||||||
{"label":"Enter", "x":12.75, "y":3, "w":2.25},
|
{"matrix": [2, 13], "x": 12.75, "y": 3, "w": 2.25},
|
||||||
|
|
||||||
{"label":"Shift", "x":0, "y":4},
|
{"matrix": [3, 0], "x": 0, "y": 4},
|
||||||
{"x":1, "y":4},
|
{"matrix": [3, 1], "x": 1, "y": 4},
|
||||||
{"label":"Z", "x":2, "y":4},
|
{"matrix": [3, 2], "x": 2, "y": 4},
|
||||||
{"label":"X", "x":3, "y":4},
|
{"matrix": [3, 3], "x": 3, "y": 4},
|
||||||
{"label":"C", "x":4, "y":4},
|
{"matrix": [3, 4], "x": 4, "y": 4},
|
||||||
{"label":"V", "x":5, "y":4},
|
{"matrix": [3, 5], "x": 5, "y": 4},
|
||||||
{"label":"B", "x":6, "y":4},
|
{"matrix": [3, 6], "x": 6, "y": 4},
|
||||||
{"label":"N", "x":7, "y":4},
|
{"matrix": [3, 7], "x": 7, "y": 4},
|
||||||
{"label":"M", "x":8, "y":4},
|
{"matrix": [3, 8], "x": 8, "y": 4},
|
||||||
{"label":"<", "x":9, "y":4},
|
{"matrix": [3, 9], "x": 9, "y": 4},
|
||||||
{"label":">", "x":10, "y":4},
|
{"matrix": [3, 10], "x": 10, "y": 4},
|
||||||
{"label":"?", "x":11, "y":4},
|
{"matrix": [3, 11], "x": 11, "y": 4},
|
||||||
{"x":12, "y":4},
|
{"matrix": [3, 12], "x": 12, "y": 4},
|
||||||
{"x":13, "y":4},
|
{"matrix": [3, 13], "x": 13, "y": 4},
|
||||||
{"x":14, "y":4},
|
{"matrix": [3, 14], "x": 14, "y": 4},
|
||||||
|
|
||||||
{"label":"Ctrl", "x":0, "y":5, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 5, "w": 1.25},
|
||||||
{"label":"Win", "x":1.25, "y":5, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||||
{"label":"Alt", "x":2.5, "y":5, "w":1.25},
|
{"matrix": [4, 3], "x": 2.5, "y": 5, "w": 1.25},
|
||||||
{"x":3.75, "y":5, "w":6.25},
|
{"matrix": [4, 6], "x": 3.75, "y": 5, "w": 6.25},
|
||||||
{"label":"Alt", "x":10, "y":5},
|
{"matrix": [4, 10], "x": 10, "y": 5},
|
||||||
{"label":"Win", "x":11, "y":5},
|
{"matrix": [4, 11], "x": 11, "y": 5},
|
||||||
{"label":"Menu", "x":12, "y":5},
|
{"matrix": [4, 12], "x": 12, "y": 5},
|
||||||
{"label":"Ctrl", "x":13, "y":5},
|
{"matrix": [4, 13], "x": 13, "y": 5},
|
||||||
{"x":14, "y":5}
|
{"matrix": [4, 14], "x": 14, "y": 5}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
/* Copyright 2018-2021 @fixed, MechMerlin, QMK
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define ___ KC_NO
|
|
||||||
|
|
||||||
// K44 and K48 are the microswitches at the top of the PCB
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K44, K48, \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
|
|
||||||
K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
|
|
||||||
K20, 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, K3E, \
|
|
||||||
K40, K41, K43, K46, K4A, K4B, K4C, K4D, K4E \
|
|
||||||
) { \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
|
|
||||||
{ K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
|
|
||||||
{ K20, ___, 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, K3E }, \
|
|
||||||
{ K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, K4C, K4D, K4E } \
|
|
||||||
}
|
|
@ -1,32 +0,0 @@
|
|||||||
/* Copyright 2021
|
|
||||||
*
|
|
||||||
* 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"
|
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K00, K01, K02, K03, K04, K05, \
|
|
||||||
K10, K11, K12, K13, K14, K15, \
|
|
||||||
K20, K21, K22, K23, K24, K25, \
|
|
||||||
K30, K31, K32, K33, K34 \
|
|
||||||
) { \
|
|
||||||
{ K00, K01, K02, K03, K04, K05 }, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15 }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25 }, \
|
|
||||||
{ K30, K31, K32, K33, KC_NO, K34 } \
|
|
||||||
}
|
|
||||||
// clang-format on
|
|
@ -21,29 +21,32 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"K00", "x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"label":"K01", "x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"label":"K02", "x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"label":"K03", "x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"label":"K04", "x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"label":"K05", "x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"label":"K10", "x":0, "y":1},
|
|
||||||
{"label":"K11", "x":1, "y":1},
|
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||||
{"label":"K12", "x":2, "y":1},
|
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||||
{"label":"K13", "x":3, "y":1},
|
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||||
{"label":"K14", "x":4, "y":1},
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
{"label":"K15", "x":5, "y":1},
|
{"matrix": [1, 4], "x": 4, "y": 1},
|
||||||
{"label":"K20", "x":0, "y":2},
|
{"matrix": [1, 5], "x": 5, "y": 1},
|
||||||
{"label":"K21", "x":1, "y":2},
|
|
||||||
{"label":"K22", "x":2, "y":2},
|
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||||
{"label":"K23", "x":3, "y":2},
|
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||||
{"label":"K24", "x":4, "y":2},
|
{"matrix": [2, 2], "x": 2, "y": 2},
|
||||||
{"label":"K25", "x":5, "y":2},
|
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||||
{"label":"K30", "x":0, "y":3},
|
{"matrix": [2, 4], "x": 4, "y": 2},
|
||||||
{"label":"K31", "x":1, "y":3},
|
{"matrix": [2, 5], "x": 5, "y": 2},
|
||||||
{"label":"K32", "x":2, "y":3},
|
|
||||||
{"label":"K33", "x":3, "y":3},
|
{"matrix": [3, 0], "x": 0, "y": 3},
|
||||||
{"label":"K34", "x":4, "y":3, "w":2}
|
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||||
|
{"matrix": [3, 2], "x": 2, "y": 3},
|
||||||
|
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||||
|
{"matrix": [3, 5], "x": 4, "y": 3, "w": 2}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
/* Copyright 2017 MechMerlin
|
|
||||||
*
|
|
||||||
* 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_all( \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K09, K0A, K0C, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K0B, K0F, K6F, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F, K0D, K6D, \
|
|
||||||
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, K4F, K6E, \
|
|
||||||
K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K5A, K5B, K5C, K5D, K5E, K5F, K0E, K07, \
|
|
||||||
K60, K61, K62, K63, K64, K65, K66, K68, K69, K6A, K6B, K6C \
|
|
||||||
) { \
|
|
||||||
{ XXX, XXX, XXX, XXX, XXX, XXX, XXX, K07, XXX, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, K3F }, \
|
|
||||||
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, K4F }, \
|
|
||||||
{ K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K5A, K5B, K5C, K5D, K5E, K5F }, \
|
|
||||||
{ K60, K61, K62, K63, K64, K65, K66, XXX, K68, K69, K6A, K6B, K6C, K6D, K6E, K6F } \
|
|
||||||
}
|
|
@ -19,114 +19,114 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"Esc", "x":0, "y":0},
|
{"matrix": [1, 0], "x": 0, "y": 0},
|
||||||
{"label":"F1", "x":1, "y":0},
|
{"matrix": [1, 1], "x": 1, "y": 0},
|
||||||
{"label":"F2", "x":2, "y":0},
|
{"matrix": [1, 2], "x": 2, "y": 0},
|
||||||
{"label":"F3", "x":3, "y":0},
|
{"matrix": [1, 3], "x": 3, "y": 0},
|
||||||
{"label":"F4", "x":4, "y":0},
|
{"matrix": [1, 4], "x": 4, "y": 0},
|
||||||
{"label":"F5", "x":5, "y":0},
|
{"matrix": [1, 5], "x": 5, "y": 0},
|
||||||
{"label":"F6", "x":6, "y":0},
|
{"matrix": [1, 6], "x": 6, "y": 0},
|
||||||
{"label":"F7", "x":7, "y":0},
|
{"matrix": [1, 7], "x": 7, "y": 0},
|
||||||
{"label":"F8", "x":8, "y":0},
|
{"matrix": [1, 8], "x": 8, "y": 0},
|
||||||
{"label":"F9", "x":9, "y":0},
|
{"matrix": [1, 9], "x": 9, "y": 0},
|
||||||
{"label":"F10", "x":10, "y":0},
|
{"matrix": [1, 10], "x": 10, "y": 0},
|
||||||
{"label":"F11", "x":11, "y":0},
|
{"matrix": [1, 11], "x": 11, "y": 0},
|
||||||
{"label":"F12", "x":12, "y":0},
|
{"matrix": [1, 12], "x": 12, "y": 0},
|
||||||
{"label":"Print Screen", "x":13, "y":0},
|
{"matrix": [1, 13], "x": 13, "y": 0},
|
||||||
{"label":"Pause", "x":14, "y":0},
|
{"matrix": [1, 14], "x": 14, "y": 0},
|
||||||
{"label":"Ins", "x":15, "y":0},
|
{"matrix": [1, 15], "x": 15, "y": 0},
|
||||||
{"label":"Del", "x":16, "y":0},
|
{"matrix": [0, 9], "x": 16, "y": 0},
|
||||||
{"label":"Page Up", "x":17, "y":0},
|
{"matrix": [0, 10], "x": 17, "y": 0},
|
||||||
{"label":"Page Down", "x":18, "y":0},
|
{"matrix": [0, 12], "x": 18, "y": 0},
|
||||||
|
|
||||||
{"label":"` ~", "x":0, "y":1},
|
{"matrix": [2, 0], "x": 0, "y": 1},
|
||||||
{"label":"1 !", "x":1, "y":1},
|
{"matrix": [2, 1], "x": 1, "y": 1},
|
||||||
{"label":"2 @", "x":2, "y":1},
|
{"matrix": [2, 2], "x": 2, "y": 1},
|
||||||
{"label":"3 #", "x":3, "y":1},
|
{"matrix": [2, 3], "x": 3, "y": 1},
|
||||||
{"label":"4 $", "x":4, "y":1},
|
{"matrix": [2, 4], "x": 4, "y": 1},
|
||||||
{"label":"5 %", "x":5, "y":1},
|
{"matrix": [2, 5], "x": 5, "y": 1},
|
||||||
{"label":"6 ^", "x":6, "y":1},
|
{"matrix": [2, 6], "x": 6, "y": 1},
|
||||||
{"label":"7 &", "x":7, "y":1},
|
{"matrix": [2, 7], "x": 7, "y": 1},
|
||||||
{"label":"8 *", "x":8, "y":1},
|
{"matrix": [2, 8], "x": 8, "y": 1},
|
||||||
{"label":"9 (", "x":9, "y":1},
|
{"matrix": [2, 9], "x": 9, "y": 1},
|
||||||
{"label":"0 )", "x":10, "y":1},
|
{"matrix": [2, 10], "x": 10, "y": 1},
|
||||||
{"label":"- _", "x":11, "y":1},
|
{"matrix": [2, 11], "x": 11, "y": 1},
|
||||||
{"label":"= +", "x":12, "y":1},
|
{"matrix": [2, 12], "x": 12, "y": 1},
|
||||||
{"label":"Back Space", "x":13, "y":1},
|
{"matrix": [2, 13], "x": 13, "y": 1},
|
||||||
{"label":"Back Space 2", "x":14, "y":1},
|
{"matrix": [2, 14], "x": 14, "y": 1},
|
||||||
{"label":"Num Lock", "x":15, "y":1},
|
{"matrix": [2, 15], "x": 15, "y": 1},
|
||||||
{"label":"/", "x":16, "y":1},
|
{"matrix": [0, 11], "x": 16, "y": 1},
|
||||||
{"label":"*", "x":17, "y":1},
|
{"matrix": [0, 15], "x": 17, "y": 1},
|
||||||
{"label":"-", "x":18, "y":1},
|
{"matrix": [6, 15], "x": 18, "y": 1},
|
||||||
|
|
||||||
{"label":"Tab", "x":0, "y":2, "w":1.5},
|
{"matrix": [3, 0], "x": 0, "y": 2, "w": 1.5},
|
||||||
{"label":"Q", "x":1.5, "y":2},
|
{"matrix": [3, 1], "x": 1.5, "y": 2},
|
||||||
{"label":"W", "x":2.5, "y":2},
|
{"matrix": [3, 2], "x": 2.5, "y": 2},
|
||||||
{"label":"E", "x":3.5, "y":2},
|
{"matrix": [3, 3], "x": 3.5, "y": 2},
|
||||||
{"label":"R", "x":4.5, "y":2},
|
{"matrix": [3, 4], "x": 4.5, "y": 2},
|
||||||
{"label":"T", "x":5.5, "y":2},
|
{"matrix": [3, 5], "x": 5.5, "y": 2},
|
||||||
{"label":"Y", "x":6.5, "y":2},
|
{"matrix": [3, 6], "x": 6.5, "y": 2},
|
||||||
{"label":"U", "x":7.5, "y":2},
|
{"matrix": [3, 7], "x": 7.5, "y": 2},
|
||||||
{"label":"I", "x":8.5, "y":2},
|
{"matrix": [3, 8], "x": 8.5, "y": 2},
|
||||||
{"label":"O", "x":9.5, "y":2},
|
{"matrix": [3, 9], "x": 9.5, "y": 2},
|
||||||
{"label":"P", "x":10.5, "y":2},
|
{"matrix": [3, 10], "x": 10.5, "y": 2},
|
||||||
{"label":"[ {", "x":11.5, "y":2},
|
{"matrix": [3, 11], "x": 11.5, "y": 2},
|
||||||
{"label":"] }", "x":12.5, "y":2},
|
{"matrix": [3, 12], "x": 12.5, "y": 2},
|
||||||
{"label":"\\ |", "x":13.5, "y":2, "w":1.5},
|
{"matrix": [3, 13], "x": 13.5, "y": 2, "w": 1.5},
|
||||||
{"label":"7", "x":15, "y":2},
|
{"matrix": [3, 14], "x": 15, "y": 2},
|
||||||
{"label":"8", "x":16, "y":2},
|
{"matrix": [3, 15], "x": 16, "y": 2},
|
||||||
{"label":"9", "x":17, "y":2},
|
{"matrix": [0, 13], "x": 17, "y": 2},
|
||||||
{"label":"+", "x":18, "y":2},
|
{"matrix": [6, 13], "x": 18, "y": 2},
|
||||||
|
|
||||||
{"label":"Caps Lock", "x":0, "y":3, "w":1.75},
|
{"matrix": [4, 0], "x": 0, "y": 3, "w": 1.75},
|
||||||
{"label":"A", "x":1.75, "y":3},
|
{"matrix": [4, 1], "x": 1.75, "y": 3},
|
||||||
{"label":"S", "x":2.75, "y":3},
|
{"matrix": [4, 2], "x": 2.75, "y": 3},
|
||||||
{"label":"D", "x":3.75, "y":3},
|
{"matrix": [4, 3], "x": 3.75, "y": 3},
|
||||||
{"label":"F", "x":4.75, "y":3},
|
{"matrix": [4, 4], "x": 4.75, "y": 3},
|
||||||
{"label":"G", "x":5.75, "y":3},
|
{"matrix": [4, 5], "x": 5.75, "y": 3},
|
||||||
{"label":"H", "x":6.75, "y":3},
|
{"matrix": [4, 6], "x": 6.75, "y": 3},
|
||||||
{"label":"J", "x":7.75, "y":3},
|
{"matrix": [4, 7], "x": 7.75, "y": 3},
|
||||||
{"label":"K", "x":8.75, "y":3},
|
{"matrix": [4, 8], "x": 8.75, "y": 3},
|
||||||
{"label":"L", "x":9.75, "y":3},
|
{"matrix": [4, 9], "x": 9.75, "y": 3},
|
||||||
{"label":"; :", "x":10.75, "y":3},
|
{"matrix": [4, 10], "x": 10.75, "y": 3},
|
||||||
{"label":"' \"", "x":11.75, "y":3},
|
{"matrix": [4, 11], "x": 11.75, "y": 3},
|
||||||
{"label":"Enter", "x":12.75, "y":3, "w":2.25},
|
{"matrix": [4, 12], "x": 12.75, "y": 3, "w": 2.25},
|
||||||
{"label":"4", "x":15, "y":3},
|
{"matrix": [4, 13], "x": 15, "y": 3},
|
||||||
{"label":"5", "x":16, "y":3},
|
{"matrix": [4, 14], "x": 16, "y": 3},
|
||||||
{"label":"6", "x":17, "y":3},
|
{"matrix": [4, 15], "x": 17, "y": 3},
|
||||||
{"label":"+", "x":18, "y":3},
|
{"matrix": [6, 14], "x": 18, "y": 3},
|
||||||
|
|
||||||
{"label":"Shift", "x":0, "y":4, "w":1.25},
|
{"matrix": [5, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"label":"ISO \\", "x":1.25, "y":4},
|
{"matrix": [5, 1], "x": 1.25, "y": 4},
|
||||||
{"label":"Z", "x":2.25, "y":4},
|
{"matrix": [5, 2], "x": 2.25, "y": 4},
|
||||||
{"label":"X", "x":3.25, "y":4},
|
{"matrix": [5, 3], "x": 3.25, "y": 4},
|
||||||
{"label":"C", "x":4.25, "y":4},
|
{"matrix": [5, 4], "x": 4.25, "y": 4},
|
||||||
{"label":"V", "x":5.25, "y":4},
|
{"matrix": [5, 5], "x": 5.25, "y": 4},
|
||||||
{"label":"B", "x":6.25, "y":4},
|
{"matrix": [5, 6], "x": 6.25, "y": 4},
|
||||||
{"label":"N", "x":7.25, "y":4},
|
{"matrix": [5, 7], "x": 7.25, "y": 4},
|
||||||
{"label":"M", "x":8.25, "y":4},
|
{"matrix": [5, 8], "x": 8.25, "y": 4},
|
||||||
{"label":", <", "x":9.25, "y":4},
|
{"matrix": [5, 9], "x": 9.25, "y": 4},
|
||||||
{"label":". >", "x":10.25, "y":4},
|
{"matrix": [5, 10], "x": 10.25, "y": 4},
|
||||||
{"label":"/ ?", "x":11.25, "y":4},
|
{"matrix": [5, 11], "x": 11.25, "y": 4},
|
||||||
{"label":"Shift", "x":12.25, "y":4, "w":1.75},
|
{"matrix": [5, 12], "x": 12.25, "y": 4, "w": 1.75},
|
||||||
{"label":"Up", "x":14, "y":4},
|
{"matrix": [5, 13], "x": 14, "y": 4},
|
||||||
{"label":"1", "x":15, "y":4},
|
{"matrix": [5, 14], "x": 15, "y": 4},
|
||||||
{"label":"2", "x":16, "y":4},
|
{"matrix": [5, 15], "x": 16, "y": 4},
|
||||||
{"label":"3", "x":17, "y":4},
|
{"matrix": [0, 14], "x": 17, "y": 4},
|
||||||
{"label":"Enter", "x":18, "y":4},
|
{"matrix": [0, 7], "x": 18, "y": 4},
|
||||||
|
|
||||||
{"label":"Ctrl", "x":0, "y":5, "w":1.25},
|
{"matrix": [6, 0], "x": 0, "y": 5, "w": 1.25},
|
||||||
{"label":"GUI", "x":1.25, "y":5, "w":1.25},
|
{"matrix": [6, 1], "x": 1.25, "y": 5, "w": 1.25},
|
||||||
{"label":"Alt", "x":2.5, "y":5, "w":1.25},
|
{"matrix": [6, 2], "x": 2.5, "y": 5, "w": 1.25},
|
||||||
{"label":"Space", "x":3.75, "y":5, "w":6.25},
|
{"matrix": [6, 3], "x": 3.75, "y": 5, "w": 6.25},
|
||||||
{"label":"Alt", "x":10, "y":5, "w":1.5},
|
{"matrix": [6, 4], "x": 10, "y": 5, "w": 1.5},
|
||||||
{"label":"Fn", "x":11.5, "y":5, "w":1.5},
|
{"matrix": [6, 5], "x": 11.5, "y": 5, "w": 1.5},
|
||||||
{"label":"Left", "x":13, "y":5},
|
{"matrix": [6, 6], "x": 13, "y": 5},
|
||||||
{"label":"Down", "x":14, "y":5},
|
{"matrix": [6, 8], "x": 14, "y": 5},
|
||||||
{"label":"Right", "x":15, "y":5},
|
{"matrix": [6, 9], "x": 15, "y": 5},
|
||||||
{"label":"0", "x":16, "y":5},
|
{"matrix": [6, 10], "x": 16, "y": 5},
|
||||||
{"label":".", "x":17, "y":5},
|
{"matrix": [6, 11], "x": 17, "y": 5},
|
||||||
{"label":"Enter", "x":18, "y":5}
|
{"matrix": [6, 12], "x": 18, "y": 5}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
/* Copyright 2022 Sebastien Sauve-Hoover (@sauvehoo)
|
|
||||||
*
|
|
||||||
* 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 "ano.h"
|
|
@ -1,35 +0,0 @@
|
|||||||
/* Copyright 2022 Sebastien Sauve-Hoover (@sauvehoo)
|
|
||||||
*
|
|
||||||
* 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_all( \
|
|
||||||
K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K117, \
|
|
||||||
K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, K217, \
|
|
||||||
K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K216, K317, \
|
|
||||||
K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, K315, K316, K417, \
|
|
||||||
K400, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414, K415, K416, \
|
|
||||||
K500, K501, K502, K506, K510, K511, K512, K513, K514, K515, K516, K517 \
|
|
||||||
) { \
|
|
||||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, KC_NO, KC_NO, KC_NO, KC_NO }, \
|
|
||||||
{ K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, K115, K116, K117 }, \
|
|
||||||
{ K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, K214, K215, K216, K217 }, \
|
|
||||||
{ K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314, K315, K316, K317 }, \
|
|
||||||
{ K400, KC_NO, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K414, K415, K416, K417 }, \
|
|
||||||
{ K500, K501, K502, KC_NO, KC_NO, KC_NO, K506, KC_NO, KC_NO, KC_NO, K510, K511, K512, K513, K514, K515, K516, K517 } \
|
|
||||||
}
|
|
@ -23,108 +23,114 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"label":"Esc", "x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"label":"F1", "x":1.25, "y":0},
|
|
||||||
{"label":"F2", "x":2.25, "y":0},
|
|
||||||
{"label":"F3", "x":3.25, "y":0},
|
|
||||||
{"label":"F4", "x":4.25, "y":0},
|
|
||||||
{"label":"F5", "x":5.5, "y":0},
|
|
||||||
{"label":"F6", "x":6.5, "y":0},
|
|
||||||
{"label":"F7", "x":7.5, "y":0},
|
|
||||||
{"label":"F8", "x":8.5, "y":0},
|
|
||||||
{"label":"F9", "x":9.75, "y":0},
|
|
||||||
{"label":"F10", "x":10.75, "y":0},
|
|
||||||
{"label":"F11", "x":11.75, "y":0},
|
|
||||||
{"label":"F12", "x":12.75, "y":0},
|
|
||||||
{"label":"Delete", "x":14, "y":0},
|
|
||||||
{"label":"Encoder", "x":18, "y":0},
|
|
||||||
|
|
||||||
{"label":"~", "x":0, "y":1.25},
|
{"matrix": [0, 1], "x": 1.25, "y": 0},
|
||||||
{"label":"!", "x":1, "y":1.25},
|
{"matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
{"label":"@", "x":2, "y":1.25},
|
{"matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
{"label":"#", "x":3, "y":1.25},
|
{"matrix": [0, 4], "x": 4.25, "y": 0},
|
||||||
{"label":"$", "x":4, "y":1.25},
|
|
||||||
{"label":"%", "x":5, "y":1.25},
|
|
||||||
{"label":"^", "x":6, "y":1.25},
|
|
||||||
{"label":"&", "x":7, "y":1.25},
|
|
||||||
{"label":"*", "x":8, "y":1.25},
|
|
||||||
{"label":"(", "x":9, "y":1.25},
|
|
||||||
{"label":")", "x":10, "y":1.25},
|
|
||||||
{"label":"_", "x":11, "y":1.25},
|
|
||||||
{"label":"+", "x":12, "y":1.25},
|
|
||||||
{"label":"Backspace", "x":13, "y":1.25, "w":2},
|
|
||||||
{"label":"Num Lock", "x":15, "y":1.25},
|
|
||||||
{"label":"/", "x":16, "y":1.25},
|
|
||||||
{"label":"*", "x":17, "y":1.25},
|
|
||||||
{"label":"*", "x":18, "y":1.25},
|
|
||||||
|
|
||||||
{"label":"Tab", "x":0, "y":2.25, "w":1.5},
|
{"matrix": [0, 5], "x": 5.5, "y": 0},
|
||||||
{"label":"Q", "x":1.5, "y":2.25},
|
{"matrix": [0, 6], "x": 6.5, "y": 0},
|
||||||
{"label":"W", "x":2.5, "y":2.25},
|
{"matrix": [0, 7], "x": 7.5, "y": 0},
|
||||||
{"label":"E", "x":3.5, "y":2.25},
|
{"matrix": [0, 8], "x": 8.5, "y": 0},
|
||||||
{"label":"R", "x":4.5, "y":2.25},
|
|
||||||
{"label":"T", "x":5.5, "y":2.25},
|
|
||||||
{"label":"Y", "x":6.5, "y":2.25},
|
|
||||||
{"label":"U", "x":7.5, "y":2.25},
|
|
||||||
{"label":"I", "x":8.5, "y":2.25},
|
|
||||||
{"label":"O", "x":9.5, "y":2.25},
|
|
||||||
{"label":"P", "x":10.5, "y":2.25},
|
|
||||||
{"label":"{", "x":11.5, "y":2.25},
|
|
||||||
{"label":"}", "x":12.5, "y":2.25},
|
|
||||||
{"label":"|", "x":13.5, "y":2.25, "w":1.5},
|
|
||||||
{"label":"7", "x":15, "y":2.25},
|
|
||||||
{"label":"8", "x":16, "y":2.25},
|
|
||||||
{"label":"9", "x":17, "y":2.25},
|
|
||||||
{"label":"-", "x":18, "y":2.25},
|
|
||||||
|
|
||||||
{"label":"Caps Lock", "x":0, "y":3.25, "w":1.75},
|
{"matrix": [0, 9], "x": 9.75, "y": 0},
|
||||||
{"label":"A", "x":1.75, "y":3.25},
|
{"matrix": [0, 10], "x": 10.75, "y": 0},
|
||||||
{"label":"S", "x":2.75, "y":3.25},
|
{"matrix": [0, 11], "x": 11.75, "y": 0},
|
||||||
{"label":"D", "x":3.75, "y":3.25},
|
{"matrix": [0, 12], "x": 12.75, "y": 0},
|
||||||
{"label":"F", "x":4.75, "y":3.25},
|
|
||||||
{"label":"G", "x":5.75, "y":3.25},
|
|
||||||
{"label":"H", "x":6.75, "y":3.25},
|
|
||||||
{"label":"J", "x":7.75, "y":3.25},
|
|
||||||
{"label":"K", "x":8.75, "y":3.25},
|
|
||||||
{"label":"L", "x":9.75, "y":3.25},
|
|
||||||
{"label":":", "x":10.75, "y":3.25},
|
|
||||||
{"label":"\"", "x":11.75, "y":3.25},
|
|
||||||
{"label":"Enter", "x":12.75, "y":3.25, "w":2.25},
|
|
||||||
{"label":"4", "x":15, "y":3.25},
|
|
||||||
{"label":"5", "x":16, "y":3.25},
|
|
||||||
{"label":"6", "x":17, "y":3.25},
|
|
||||||
{"label":"+", "x":18, "y":3.25},
|
|
||||||
|
|
||||||
{"label":"Shift", "x":0, "y":4.25, "w":2.25},
|
{"matrix": [0, 13], "x": 14, "y": 0},
|
||||||
{"label":"Z", "x":2.25, "y":4.25},
|
|
||||||
{"label":"X", "x":3.25, "y":4.25},
|
|
||||||
{"label":"C", "x":4.25, "y":4.25},
|
|
||||||
{"label":"V", "x":5.25, "y":4.25},
|
|
||||||
{"label":"B", "x":6.25, "y":4.25},
|
|
||||||
{"label":"N", "x":7.25, "y":4.25},
|
|
||||||
{"label":"M", "x":8.25, "y":4.25},
|
|
||||||
{"label":"<", "x":9.25, "y":4.25},
|
|
||||||
{"label":">", "x":10.25, "y":4.25},
|
|
||||||
{"label":"?", "x":11.25, "y":4.25},
|
|
||||||
{"label":"Shift", "x":12.25, "y":4.25, "w":1.75},
|
|
||||||
{"label":"\u2191", "x":14, "y":4.25},
|
|
||||||
{"label":"1", "x":15, "y":4.25},
|
|
||||||
{"label":"2", "x":16, "y":4.25},
|
|
||||||
{"label":"3", "x":17, "y":4.25},
|
|
||||||
|
|
||||||
{"label":"Ctrl", "x":0, "y":5.25, "w":1.25},
|
{"matrix": [1, 17], "x": 18, "y": 0},
|
||||||
{"label":"Win", "x":1.25, "y":5.25, "w":1.25},
|
|
||||||
{"label":"Alt", "x":2.5, "y":5.25, "w":1.25},
|
{"matrix": [1, 0], "x": 0, "y": 1.25},
|
||||||
{"x":3.75, "y":5.25, "w":6.25},
|
{"matrix": [1, 1], "x": 1, "y": 1.25},
|
||||||
{"label":"Alt", "x":10, "y":5.25, "w":1.5},
|
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||||
{"label":"Ctrl", "x":11.5, "y":5.25, "w":1.5},
|
{"matrix": [1, 3], "x": 3, "y": 1.25},
|
||||||
{"label":"\u2190", "x":13, "y":5.25},
|
{"matrix": [1, 4], "x": 4, "y": 1.25},
|
||||||
{"label":"\u2193", "x":14, "y":5.25},
|
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||||
{"label":"\u2192", "x":15, "y":5.25},
|
{"matrix": [1, 6], "x": 6, "y": 1.25},
|
||||||
{"label":"0", "x":16, "y":5.25},
|
{"matrix": [1, 7], "x": 7, "y": 1.25},
|
||||||
{"label":".", "x":17, "y":5.25},
|
{"matrix": [1, 8], "x": 8, "y": 1.25},
|
||||||
{"label":"Enter", "x":18, "y":4.25, "h":2}
|
{"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": [1, 15], "x": 16, "y": 1.25},
|
||||||
|
{"matrix": [1, 16], "x": 17, "y": 1.25},
|
||||||
|
{"matrix": [2, 17], "x": 18, "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": [2, 15], "x": 16, "y": 2.25},
|
||||||
|
{"matrix": [2, 16], "x": 17, "y": 2.25},
|
||||||
|
{"matrix": [3, 17], "x": 18, "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": [3, 15], "x": 16, "y": 3.25},
|
||||||
|
{"matrix": [3, 16], "x": 17, "y": 3.25},
|
||||||
|
{"matrix": [4, 17], "x": 18, "y": 3.25},
|
||||||
|
|
||||||
|
{"matrix": [4, 0], "x": 0, "y": 4.25, "w": 2.25},
|
||||||
|
{"matrix": [4, 2], "x": 2.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 3], "x": 3.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 4], "x": 4.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 5], "x": 5.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 6], "x": 6.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 7], "x": 7.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 8], "x": 8.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 9], "x": 9.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 10], "x": 10.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 11], "x": 11.25, "y": 4.25},
|
||||||
|
{"matrix": [4, 12], "x": 12.25, "y": 4.25, "w": 1.75},
|
||||||
|
{"matrix": [4, 13], "x": 14, "y": 4.25},
|
||||||
|
{"matrix": [4, 14], "x": 15, "y": 4.25},
|
||||||
|
{"matrix": [4, 15], "x": 16, "y": 4.25},
|
||||||
|
{"matrix": [4, 16], "x": 17, "y": 4.25},
|
||||||
|
|
||||||
|
{"matrix": [5, 0], "x": 0, "y": 5.25, "w": 1.25},
|
||||||
|
{"matrix": [5, 1], "x": 1.25, "y": 5.25, "w": 1.25},
|
||||||
|
{"matrix": [5, 2], "x": 2.5, "y": 5.25, "w": 1.25},
|
||||||
|
{"matrix": [5, 6], "x": 3.75, "y": 5.25, "w": 6.25},
|
||||||
|
{"matrix": [5, 10], "x": 10, "y": 5.25, "w": 1.5},
|
||||||
|
{"matrix": [5, 11], "x": 11.5, "y": 5.25, "w": 1.5},
|
||||||
|
{"matrix": [5, 12], "x": 13, "y": 5.25},
|
||||||
|
{"matrix": [5, 13], "x": 14, "y": 5.25},
|
||||||
|
{"matrix": [5, 14], "x": 15, "y": 5.25},
|
||||||
|
{"matrix": [5, 15], "x": 16, "y": 5.25},
|
||||||
|
{"matrix": [5, 16], "x": 17, "y": 5.25},
|
||||||
|
{"matrix": [5, 17], "x": 18, "y": 4.25, "h": 2}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
/* Copyright 2021 Salmon Cat Studio
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation, either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
#define LAYOUT( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3D, K3E, K3F, \
|
|
||||||
K40, K41, K42, K44, K48, K49, K4A, K4D, K4E, K4F \
|
|
||||||
) { \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D, KC_NO, KC_NO }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, KC_NO, K3D, K3E, K3F }, \
|
|
||||||
{ K40, K41, K42, KC_NO, K44, KC_NO, KC_NO, KC_NO, K48, K49, K4A, KC_NO, KC_NO, K4D, K4E, K4F }, \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define LAYOUT_all( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0G, K0D, K0E, K0F, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \
|
|
||||||
K30, K3G, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3C, K3D, K3E, K3F, \
|
|
||||||
K40, K41, K42, K44, K48, K49, K4A, K4D, K4E, K4F \
|
|
||||||
) { \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G }, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, KC_NO }, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, KC_NO, KC_NO }, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, K3C, K3D, K3E, K3F, K3G }, \
|
|
||||||
{ K40, K41, K42, KC_NO, K44, KC_NO, KC_NO, KC_NO, K48, K49, K4A, KC_NO, KC_NO, K4D, K4E, K4F, KC_NO }, \
|
|
||||||
}
|
|
@ -18,168 +18,168 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT": {
|
"LAYOUT": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0, "w":2},
|
{"matrix": [0, 13], "x": 13, "y": 0, "w": 2},
|
||||||
|
|
||||||
{"x":15.25, "y":0},
|
{"matrix": [0, 14], "x": 15.25, "y": 0},
|
||||||
{"x":16.25, "y":0},
|
{"matrix": [0, 15], "x": 16.25, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
{"x":15.25, "y":1},
|
{"matrix": [1, 14], "x": 15.25, "y": 1},
|
||||||
{"x":16.25, "y":1},
|
{"matrix": [1, 15], "x": 16.25, "y": 1},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2, "w":2.25},
|
{"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":2.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3, "w":2.75},
|
{"matrix": [3, 13], "x": 12.25, "y": 3, "w": 2.75},
|
||||||
|
|
||||||
{"x":15.25, "y":3},
|
{"matrix": [3, 14], "x": 15.25, "y": 3},
|
||||||
{"x":16.25, "y":3},
|
{"matrix": [3, 15], "x": 16.25, "y": 3},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 4], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.25},
|
{"matrix": [4, 8], "x": 10, "y": 4, "w": 1.25},
|
||||||
{"x":11.25, "y":4, "w":1.25},
|
{"matrix": [4, 9], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
{"x":12.5, "y":4, "w":1.25},
|
{"matrix": [4, 10], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
|
|
||||||
{"x":14.25, "y":4},
|
{"matrix": [4, 13], "x": 14.25, "y": 4},
|
||||||
{"x":15.25, "y":4},
|
{"matrix": [4, 14], "x": 15.25, "y": 4},
|
||||||
{"x":16.25, "y":4}
|
{"matrix": [4, 15], "x": 16.25, "y": 4}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{"x":0, "y":0},
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
{"x":1, "y":0},
|
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||||
{"x":2, "y":0},
|
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||||
{"x":3, "y":0},
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
{"x":4, "y":0},
|
{"matrix": [0, 4], "x": 4, "y": 0},
|
||||||
{"x":5, "y":0},
|
{"matrix": [0, 5], "x": 5, "y": 0},
|
||||||
{"x":6, "y":0},
|
{"matrix": [0, 6], "x": 6, "y": 0},
|
||||||
{"x":7, "y":0},
|
{"matrix": [0, 7], "x": 7, "y": 0},
|
||||||
{"x":8, "y":0},
|
{"matrix": [0, 8], "x": 8, "y": 0},
|
||||||
{"x":9, "y":0},
|
{"matrix": [0, 9], "x": 9, "y": 0},
|
||||||
{"x":10, "y":0},
|
{"matrix": [0, 10], "x": 10, "y": 0},
|
||||||
{"x":11, "y":0},
|
{"matrix": [0, 11], "x": 11, "y": 0},
|
||||||
{"x":12, "y":0},
|
{"matrix": [0, 12], "x": 12, "y": 0},
|
||||||
{"x":13, "y":0},
|
{"matrix": [0, 16], "x": 13, "y": 0},
|
||||||
{"x":14, "y":0},
|
{"matrix": [0, 13], "x": 14, "y": 0},
|
||||||
|
|
||||||
{"x":15.25, "y":0},
|
{"matrix": [0, 14], "x": 15.25, "y": 0},
|
||||||
{"x":16.25, "y":0},
|
{"matrix": [0, 15], "x": 16.25, "y": 0},
|
||||||
|
|
||||||
{"x":0, "y":1, "w":1.5},
|
{"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5},
|
||||||
{"x":1.5, "y":1},
|
{"matrix": [1, 1], "x": 1.5, "y": 1},
|
||||||
{"x":2.5, "y":1},
|
{"matrix": [1, 2], "x": 2.5, "y": 1},
|
||||||
{"x":3.5, "y":1},
|
{"matrix": [1, 3], "x": 3.5, "y": 1},
|
||||||
{"x":4.5, "y":1},
|
{"matrix": [1, 4], "x": 4.5, "y": 1},
|
||||||
{"x":5.5, "y":1},
|
{"matrix": [1, 5], "x": 5.5, "y": 1},
|
||||||
{"x":6.5, "y":1},
|
{"matrix": [1, 6], "x": 6.5, "y": 1},
|
||||||
{"x":7.5, "y":1},
|
{"matrix": [1, 7], "x": 7.5, "y": 1},
|
||||||
{"x":8.5, "y":1},
|
{"matrix": [1, 8], "x": 8.5, "y": 1},
|
||||||
{"x":9.5, "y":1},
|
{"matrix": [1, 9], "x": 9.5, "y": 1},
|
||||||
{"x":10.5, "y":1},
|
{"matrix": [1, 10], "x": 10.5, "y": 1},
|
||||||
{"x":11.5, "y":1},
|
{"matrix": [1, 11], "x": 11.5, "y": 1},
|
||||||
{"x":12.5, "y":1},
|
{"matrix": [1, 12], "x": 12.5, "y": 1},
|
||||||
{"x":13.5, "y":1, "w":1.5},
|
{"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5},
|
||||||
|
|
||||||
{"x":15.25, "y":1},
|
{"matrix": [1, 14], "x": 15.25, "y": 1},
|
||||||
{"x":16.25, "y":1},
|
{"matrix": [1, 15], "x": 16.25, "y": 1},
|
||||||
|
|
||||||
{"x":0, "y":2, "w":1.75},
|
{"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75},
|
||||||
{"x":1.75, "y":2},
|
{"matrix": [2, 1], "x": 1.75, "y": 2},
|
||||||
{"x":2.75, "y":2},
|
{"matrix": [2, 2], "x": 2.75, "y": 2},
|
||||||
{"x":3.75, "y":2},
|
{"matrix": [2, 3], "x": 3.75, "y": 2},
|
||||||
{"x":4.75, "y":2},
|
{"matrix": [2, 4], "x": 4.75, "y": 2},
|
||||||
{"x":5.75, "y":2},
|
{"matrix": [2, 5], "x": 5.75, "y": 2},
|
||||||
{"x":6.75, "y":2},
|
{"matrix": [2, 6], "x": 6.75, "y": 2},
|
||||||
{"x":7.75, "y":2},
|
{"matrix": [2, 7], "x": 7.75, "y": 2},
|
||||||
{"x":8.75, "y":2},
|
{"matrix": [2, 8], "x": 8.75, "y": 2},
|
||||||
{"x":9.75, "y":2},
|
{"matrix": [2, 9], "x": 9.75, "y": 2},
|
||||||
{"x":10.75, "y":2},
|
{"matrix": [2, 10], "x": 10.75, "y": 2},
|
||||||
{"x":11.75, "y":2},
|
{"matrix": [2, 11], "x": 11.75, "y": 2},
|
||||||
{"x":12.75, "y":2},
|
{"matrix": [2, 12], "x": 12.75, "y": 2},
|
||||||
{"x":13.75, "y":2, "w":1.25},
|
{"matrix": [2, 13], "x": 13.75, "y": 2, "w": 1.25},
|
||||||
|
|
||||||
{"x":0, "y":3, "w":1.25},
|
{"matrix": [3, 0], "x": 0, "y": 3, "w": 1.25},
|
||||||
{"x":1.25, "y":3},
|
{"matrix": [3, 16], "x": 1.25, "y": 3},
|
||||||
{"x":2.25, "y":3},
|
{"matrix": [3, 1], "x": 2.25, "y": 3},
|
||||||
{"x":3.25, "y":3},
|
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||||
{"x":4.25, "y":3},
|
{"matrix": [3, 3], "x": 4.25, "y": 3},
|
||||||
{"x":5.25, "y":3},
|
{"matrix": [3, 4], "x": 5.25, "y": 3},
|
||||||
{"x":6.25, "y":3},
|
{"matrix": [3, 5], "x": 6.25, "y": 3},
|
||||||
{"x":7.25, "y":3},
|
{"matrix": [3, 6], "x": 7.25, "y": 3},
|
||||||
{"x":8.25, "y":3},
|
{"matrix": [3, 7], "x": 8.25, "y": 3},
|
||||||
{"x":9.25, "y":3},
|
{"matrix": [3, 8], "x": 9.25, "y": 3},
|
||||||
{"x":10.25, "y":3},
|
{"matrix": [3, 9], "x": 10.25, "y": 3},
|
||||||
{"x":11.25, "y":3},
|
{"matrix": [3, 10], "x": 11.25, "y": 3},
|
||||||
{"x":12.25, "y":3},
|
{"matrix": [3, 12], "x": 12.25, "y": 3},
|
||||||
{"x":13.25, "y":3, "w":1.75},
|
{"matrix": [3, 13], "x": 13.25, "y": 3, "w": 1.75},
|
||||||
|
|
||||||
{"x":15.25, "y":3},
|
{"matrix": [3, 14], "x": 15.25, "y": 3},
|
||||||
{"x":16.25, "y":3},
|
{"matrix": [3, 15], "x": 16.25, "y": 3},
|
||||||
|
|
||||||
{"x":0, "y":4, "w":1.25},
|
{"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25},
|
||||||
{"x":1.25, "y":4, "w":1.25},
|
{"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25},
|
||||||
{"x":2.5, "y":4, "w":1.25},
|
{"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25},
|
||||||
{"x":3.75, "y":4, "w":6.25},
|
{"matrix": [4, 4], "x": 3.75, "y": 4, "w": 6.25},
|
||||||
{"x":10, "y":4, "w":1.25},
|
{"matrix": [4, 8], "x": 10, "y": 4, "w": 1.25},
|
||||||
{"x":11.25, "y":4, "w":1.25},
|
{"matrix": [4, 9], "x": 11.25, "y": 4, "w": 1.25},
|
||||||
{"x":12.5, "y":4, "w":1.25},
|
{"matrix": [4, 10], "x": 12.5, "y": 4, "w": 1.25},
|
||||||
|
|
||||||
{"x":14.25, "y":4},
|
{"matrix": [4, 13], "x": 14.25, "y": 4},
|
||||||
{"x":15.25, "y":4},
|
{"matrix": [4, 14], "x": 15.25, "y": 4},
|
||||||
{"x":16.25, "y":4}
|
{"matrix": [4, 15], "x": 16.25, "y": 4}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[BL] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[BL] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[UL] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
[UL] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
||||||
};
|
};
|
||||||
|
@ -42,7 +42,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[BL] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[BL] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[UL] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
[UL] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
||||||
};
|
};
|
||||||
|
@ -60,7 +60,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ENCODER_MAP_ENABLE
|
#ifdef ENCODER_MAP_ENABLE
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[BL] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[BL] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[UL] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
[UL] = { ENCODER_CCW_CW(KC_BRID, KC_BRIU) },
|
||||||
[TL] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[TL] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "ash1800.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
if (led_update_user(led_state)) {
|
if (led_update_user(led_state)) {
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
/* Copyright 2019 angelbirth
|
|
||||||
*
|
|
||||||
* 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_all( \
|
|
||||||
k00, k01, k02, k03, k60, k61, k62, k63, k04, k05, k06, k07, k08, k54, k55, k56, k57, \
|
|
||||||
k64, k65, k66, k67, \
|
|
||||||
k10, k11, k12, k13, k70, k71, k72, k73, k14, k15, k16, k17, k18, k19, k74, k75, k76, k77, \
|
|
||||||
k20, k21, k22, k23, k80, k81, k82, k83, k24, k25, k26, k27, k28, k29, k84, k85, k86, k87, \
|
|
||||||
k30, k31, k32, k33, k90, k91, k92, k93, k34, k35, k36, k37, k38, k94, k95, k96, k97, \
|
|
||||||
k40, k41, k42, k43, ka0, ka1, ka2, ka3, k44, k45, k46, k47, k48, ka9, ka4, ka5, ka6, ka7, \
|
|
||||||
k50, k51, k52, k53, kb4, kb7, ka8, kb8, kb9, kb5, kb6 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, KC_NO }, \
|
|
||||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \
|
|
||||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
|
|
||||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, KC_NO }, \
|
|
||||||
{ k40, k41, k42, k43, k44, k45, k46, k47, k48, KC_NO }, \
|
|
||||||
{ k50, k51, k52, k53, k54, k55, k56, k57, KC_NO, KC_NO }, \
|
|
||||||
{ k60, k61, k62, k63, k64, k65, k66, k67, KC_NO, KC_NO }, \
|
|
||||||
{ k70, k71, k72, k73, k74, k75, k76, k77, KC_NO, KC_NO }, \
|
|
||||||
{ k80, k81, k82, k83, k84, k85, k86, k87, KC_NO, KC_NO }, \
|
|
||||||
{ k90, k91, k92, k93, k94, k95, k96, k97, KC_NO, KC_NO }, \
|
|
||||||
{ ka0, ka1, ka2, ka3, ka4, ka5, ka6, ka7, ka8, ka9 }, \
|
|
||||||
{ KC_NO, KC_NO, KC_NO, KC_NO, kb4, kb5, kb6, kb7, kb8, kb9 } \
|
|
||||||
}
|
|
||||||
|
|
@ -17,533 +17,126 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
"label": "Esc",
|
|
||||||
"x": 0,
|
{"matrix": [0, 1], "x": 1.25, "y": 0},
|
||||||
"y": 0
|
{"matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
},
|
{"matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
{
|
{"matrix": [6, 0], "x": 4.25, "y": 0},
|
||||||
"label": "F1",
|
|
||||||
"x": 1.25,
|
{"matrix": [6, 1], "x": 5.5, "y": 0},
|
||||||
"y": 0
|
{"matrix": [6, 2], "x": 6.5, "y": 0},
|
||||||
},
|
{"matrix": [6, 3], "x": 7.5, "y": 0},
|
||||||
{
|
{"matrix": [0, 4], "x": 8.5, "y": 0},
|
||||||
"label": "F2",
|
|
||||||
"x": 2.25,
|
{"matrix": [0, 5], "x": 9.75, "y": 0},
|
||||||
"y": 0
|
{"matrix": [0, 6], "x": 10.75, "y": 0},
|
||||||
},
|
{"matrix": [0, 7], "x": 11.75, "y": 0},
|
||||||
{
|
{"matrix": [0, 8], "x": 12.75, "y": 0},
|
||||||
"label": "F3",
|
|
||||||
"x": 3.25,
|
{"matrix": [5, 4], "x": 15.5, "y": 0},
|
||||||
"y": 0
|
{"matrix": [5, 5], "x": 16.5, "y": 0},
|
||||||
},
|
{"matrix": [5, 6], "x": 17.5, "y": 0},
|
||||||
{
|
{"matrix": [5, 7], "x": 18.5, "y": 0},
|
||||||
"label": "F4",
|
|
||||||
"x": 4.25,
|
{"matrix": [6, 4], "x": 15.5, "y": 1},
|
||||||
"y": 0
|
{"matrix": [6, 5], "x": 16.5, "y": 1},
|
||||||
},
|
{"matrix": [6, 6], "x": 17.5, "y": 1},
|
||||||
{
|
{"matrix": [6, 7], "x": 18.5, "y": 1},
|
||||||
"label": "F5",
|
|
||||||
"x": 5.5,
|
{"matrix": [1, 0], "x": 0, "y": 2},
|
||||||
"y": 0
|
{"matrix": [1, 1], "x": 1, "y": 2},
|
||||||
},
|
{"matrix": [1, 2], "x": 2, "y": 2},
|
||||||
{
|
{"matrix": [1, 3], "x": 3, "y": 2},
|
||||||
"label": "F6",
|
{"matrix": [7, 0], "x": 4, "y": 2},
|
||||||
"x": 6.5,
|
{"matrix": [7, 1], "x": 5, "y": 2},
|
||||||
"y": 0
|
{"matrix": [7, 2], "x": 6, "y": 2},
|
||||||
},
|
{"matrix": [7, 3], "x": 7, "y": 2},
|
||||||
{
|
{"matrix": [1, 4], "x": 8, "y": 2},
|
||||||
"label": "F7",
|
{"matrix": [1, 5], "x": 9, "y": 2},
|
||||||
"x": 7.5,
|
{"matrix": [1, 6], "x": 10, "y": 2},
|
||||||
"y": 0
|
{"matrix": [1, 7], "x": 11, "y": 2},
|
||||||
},
|
{"matrix": [1, 8], "x": 12, "y": 2},
|
||||||
{
|
{"matrix": [1, 9], "x": 13, "y": 2, "w": 2},
|
||||||
"label": "F8",
|
|
||||||
"x": 8.5,
|
{"matrix": [7, 4], "x": 15.5, "y": 2},
|
||||||
"y": 0
|
{"matrix": [7, 5], "x": 16.5, "y": 2},
|
||||||
},
|
{"matrix": [7, 6], "x": 17.5, "y": 2},
|
||||||
{
|
{"matrix": [7, 7], "x": 18.5, "y": 2},
|
||||||
"label": "F9",
|
|
||||||
"x": 9.75,
|
{"matrix": [2, 0], "x": 0, "y": 3, "w": 1.5},
|
||||||
"y": 0
|
{"matrix": [2, 1], "x": 1.5, "y": 3},
|
||||||
},
|
{"matrix": [2, 2], "x": 2.5, "y": 3},
|
||||||
{
|
{"matrix": [2, 3], "x": 3.5, "y": 3},
|
||||||
"label": "F10",
|
{"matrix": [8, 0], "x": 4.5, "y": 3},
|
||||||
"x": 10.75,
|
{"matrix": [8, 1], "x": 5.5, "y": 3},
|
||||||
"y": 0
|
{"matrix": [8, 2], "x": 6.5, "y": 3},
|
||||||
},
|
{"matrix": [8, 3], "x": 7.5, "y": 3},
|
||||||
{
|
{"matrix": [2, 4], "x": 8.5, "y": 3},
|
||||||
"label": "F11",
|
{"matrix": [2, 5], "x": 9.5, "y": 3},
|
||||||
"x": 11.75,
|
{"matrix": [2, 6], "x": 10.5, "y": 3},
|
||||||
"y": 0
|
{"matrix": [2, 7], "x": 11.5, "y": 3},
|
||||||
},
|
{"matrix": [2, 8], "x": 12.5, "y": 3},
|
||||||
{
|
{"matrix": [2, 9], "x": 13.5, "y": 3, "w": 1.5},
|
||||||
"label": "F12",
|
|
||||||
"x": 12.75,
|
{"matrix": [8, 4], "x": 15.5, "y": 3},
|
||||||
"y": 0
|
{"matrix": [8, 5], "x": 16.5, "y": 3},
|
||||||
},
|
{"matrix": [8, 6], "x": 17.5, "y": 3},
|
||||||
{
|
{"matrix": [8, 7], "x": 18.5, "y": 3},
|
||||||
"label": "Insert",
|
|
||||||
"x": 15.5,
|
{"matrix": [3, 0], "x": 0, "y": 4, "w": 1.75},
|
||||||
"y": 0
|
{"matrix": [3, 1], "x": 1.75, "y": 4},
|
||||||
},
|
{"matrix": [3, 2], "x": 2.75, "y": 4},
|
||||||
{
|
{"matrix": [3, 3], "x": 3.75, "y": 4},
|
||||||
"label": "Home",
|
{"matrix": [9, 0], "x": 4.75, "y": 4},
|
||||||
"x": 16.5,
|
{"matrix": [9, 1], "x": 5.75, "y": 4},
|
||||||
"y": 0
|
{"matrix": [9, 2], "x": 6.75, "y": 4},
|
||||||
},
|
{"matrix": [9, 3], "x": 7.75, "y": 4},
|
||||||
{
|
{"matrix": [3, 4], "x": 8.75, "y": 4},
|
||||||
"label": "PgUp",
|
{"matrix": [3, 5], "x": 9.75, "y": 4},
|
||||||
"x": 17.5,
|
{"matrix": [3, 6], "x": 10.75, "y": 4},
|
||||||
"y": 0
|
{"matrix": [3, 7], "x": 11.75, "y": 4},
|
||||||
},
|
{"matrix": [3, 8], "x": 12.75, "y": 4, "w": 2.25},
|
||||||
{
|
|
||||||
"label": "PrtSc",
|
{"matrix": [9, 4], "x": 15.5, "y": 4},
|
||||||
"x": 18.5,
|
{"matrix": [9, 5], "x": 16.5, "y": 4},
|
||||||
"y": 0
|
{"matrix": [9, 6], "x": 17.5, "y": 4},
|
||||||
},
|
{"matrix": [9, 7], "x": 18.5, "y": 4},
|
||||||
{
|
|
||||||
"label": "Del",
|
{"matrix": [4, 0], "x": 0, "y": 5, "w": 1.25},
|
||||||
"x": 15.5,
|
{"matrix": [4, 1], "x": 1.25, "y": 5},
|
||||||
"y": 1
|
{"matrix": [4, 2], "x": 2.25, "y": 5},
|
||||||
},
|
{"matrix": [4, 3], "x": 3.25, "y": 5},
|
||||||
{
|
{"matrix": [10, 0], "x": 4.25, "y": 5},
|
||||||
"label": "End",
|
{"matrix": [10, 1], "x": 5.25, "y": 5},
|
||||||
"x": 16.5,
|
{"matrix": [10, 2], "x": 6.25, "y": 5},
|
||||||
"y": 1
|
{"matrix": [10, 3], "x": 7.25, "y": 5},
|
||||||
},
|
{"matrix": [4, 4], "x": 8.25, "y": 5},
|
||||||
{
|
{"matrix": [4, 5], "x": 9.25, "y": 5},
|
||||||
"label": "PgDn",
|
{"matrix": [4, 6], "x": 10.25, "y": 5},
|
||||||
"x": 17.5,
|
{"matrix": [4, 7], "x": 11.25, "y": 5},
|
||||||
"y": 1
|
{"matrix": [4, 8], "x": 12.25, "y": 5, "w": 1.75},
|
||||||
},
|
|
||||||
{
|
{"matrix": [10, 9], "x": 14.25, "y": 5.25},
|
||||||
"label": "Scroll Lock",
|
|
||||||
"x": 18.5,
|
{"matrix": [10, 4], "x": 15.5, "y": 5},
|
||||||
"y": 1
|
{"matrix": [10, 5], "x": 16.5, "y": 5},
|
||||||
},
|
{"matrix": [10, 6], "x": 17.5, "y": 5},
|
||||||
{
|
{"matrix": [10, 7], "x": 18.5, "y": 5, "h": 2},
|
||||||
"label": "~",
|
|
||||||
"x": 0,
|
{"matrix": [5, 0], "x": 0, "y": 6, "w": 1.25},
|
||||||
"y": 2
|
{"matrix": [5, 1], "x": 1.25, "y": 6, "w": 1.25},
|
||||||
},
|
{"matrix": [5, 2], "x": 2.5, "y": 6, "w": 1.25},
|
||||||
{
|
{"matrix": [5, 3], "x": 3.75, "y": 6, "w": 6.25},
|
||||||
"label": "!",
|
{"matrix": [11, 4], "x": 10, "y": 6, "w": 1.5},
|
||||||
"x": 1,
|
{"matrix": [11, 7], "x": 11.5, "y": 6, "w": 1.5},
|
||||||
"y": 2
|
|
||||||
},
|
{"matrix": [10, 8], "x": 13.25, "y": 6.25},
|
||||||
{
|
{"matrix": [11, 8], "x": 14.25, "y": 6.25},
|
||||||
"label": "@",
|
{"matrix": [11, 9], "x": 15.25, "y": 6.25},
|
||||||
"x": 2,
|
|
||||||
"y": 2
|
{"matrix": [11, 5], "x": 16.5, "y": 6},
|
||||||
},
|
{"matrix": [11, 6], "x": 17.5, "y": 6}
|
||||||
{
|
|
||||||
"label": "#",
|
|
||||||
"x": 3,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "$",
|
|
||||||
"x": 4,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "%",
|
|
||||||
"x": 5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "^",
|
|
||||||
"x": 6,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "&",
|
|
||||||
"x": 7,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "",
|
|
||||||
"x": 8,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "(",
|
|
||||||
"x": 9,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ")",
|
|
||||||
"x": 10,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "_",
|
|
||||||
"x": 11,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "+",
|
|
||||||
"x": 12,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Backspace",
|
|
||||||
"x": 13,
|
|
||||||
"y": 2,
|
|
||||||
"w": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Num Lock",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "/",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Pause",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Tab",
|
|
||||||
"x": 0,
|
|
||||||
"y": 3,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Q",
|
|
||||||
"x": 1.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "W",
|
|
||||||
"x": 2.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "E",
|
|
||||||
"x": 3.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "R",
|
|
||||||
"x": 4.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "T",
|
|
||||||
"x": 5.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Y",
|
|
||||||
"x": 6.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "U",
|
|
||||||
"x": 7.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "I",
|
|
||||||
"x": 8.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "O",
|
|
||||||
"x": 9.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "P",
|
|
||||||
"x": 10.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "{",
|
|
||||||
"x": 11.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "}",
|
|
||||||
"x": 12.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "|",
|
|
||||||
"x": 13.5,
|
|
||||||
"y": 3,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "7",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "8",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "9",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "-",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Caps Lock",
|
|
||||||
"x": 0,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.75
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "A",
|
|
||||||
"x": 1.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "S",
|
|
||||||
"x": 2.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "D",
|
|
||||||
"x": 3.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "F",
|
|
||||||
"x": 4.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "G",
|
|
||||||
"x": 5.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "H",
|
|
||||||
"x": 6.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "J",
|
|
||||||
"x": 7.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "K",
|
|
||||||
"x": 8.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "L",
|
|
||||||
"x": 9.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ":",
|
|
||||||
"x": 10.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "\"",
|
|
||||||
"x": 11.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Enter",
|
|
||||||
"x": 12.75,
|
|
||||||
"y": 4,
|
|
||||||
"w": 2.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "4",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "5",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "6",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "+",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Shift",
|
|
||||||
"x": 0,
|
|
||||||
"y": 5,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "ISO1",
|
|
||||||
"x": 1.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Z",
|
|
||||||
"x": 2.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "X",
|
|
||||||
"x": 3.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "C",
|
|
||||||
"x": 4.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "V",
|
|
||||||
"x": 5.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "B",
|
|
||||||
"x": 6.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "N",
|
|
||||||
"x": 7.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "M",
|
|
||||||
"x": 8.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "<",
|
|
||||||
"x": 9.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ">",
|
|
||||||
"x": 10.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "?",
|
|
||||||
"x": 11.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Shift",
|
|
||||||
"x": 12.25,
|
|
||||||
"y": 5,
|
|
||||||
"w": 1.75
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "up",
|
|
||||||
"x": 14.25,
|
|
||||||
"y": 5.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "1",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "2",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "3",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Enter",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 5,
|
|
||||||
"h": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Ctrl",
|
|
||||||
"x": 0,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "OS",
|
|
||||||
"x": 1.25,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Alt",
|
|
||||||
"x": 2.5,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 3.75,
|
|
||||||
"y": 6,
|
|
||||||
"w": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Alt",
|
|
||||||
"x": 10,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Ctrl",
|
|
||||||
"x": 11.5,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "left",
|
|
||||||
"x": 13.25,
|
|
||||||
"y": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "down",
|
|
||||||
"x": 14.25,
|
|
||||||
"y": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "right",
|
|
||||||
"x": 15.25,
|
|
||||||
"y": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "0",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ".",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 6
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "ash_xiix.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
if (led_update_user(led_state)) {
|
if (led_update_user(led_state)) {
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
/* Copyright 2020 sh_xguitar
|
|
||||||
*
|
|
||||||
* 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_all( \
|
|
||||||
k00, k01, k02, k03, k60, k61, k62, k63, k04, k05, k06, k07, k08, k54, k55, k56, k57, \
|
|
||||||
k64, k65, k66, k67, \
|
|
||||||
k10, k11, k12, k13, k70, k71, k72, k73, k14, k15, k16, k17, k18, k19, k74, k75, k76, k77, \
|
|
||||||
k20, k21, k22, k23, k80, k81, k82, k83, k24, k25, k26, k27, k28, k29, k84, k85, k86, k87, \
|
|
||||||
k30, k31, k32, k33, k90, k91, k92, k93, k34, k35, k36, k37, k38, k94, k95, k96, k97, \
|
|
||||||
k40, k41, k42, k43, ka0, ka1, ka2, ka3, k44, k45, k46, k47, k48, ka9, ka4, ka5, ka6, ka7, \
|
|
||||||
k50, k51, k52, k53, kb4, kb7, ka8, kb8, kb9, kb5, kb6 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, KC_NO }, \
|
|
||||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \
|
|
||||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
|
|
||||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, KC_NO }, \
|
|
||||||
{ k40, k41, k42, k43, k44, k45, k46, k47, k48, KC_NO }, \
|
|
||||||
{ k50, k51, k52, k53, k54, k55, k56, k57, KC_NO, KC_NO }, \
|
|
||||||
{ k60, k61, k62, k63, k64, k65, k66, k67, KC_NO, KC_NO }, \
|
|
||||||
{ k70, k71, k72, k73, k74, k75, k76, k77, KC_NO, KC_NO }, \
|
|
||||||
{ k80, k81, k82, k83, k84, k85, k86, k87, KC_NO, KC_NO }, \
|
|
||||||
{ k90, k91, k92, k93, k94, k95, k96, k97, KC_NO, KC_NO }, \
|
|
||||||
{ ka0, ka1, ka2, ka3, ka4, ka5, ka6, ka7, ka8, ka9 }, \
|
|
||||||
{ KC_NO, KC_NO, KC_NO, KC_NO, kb4, kb5, kb6, kb7, kb8, kb9 } \
|
|
||||||
}
|
|
||||||
|
|
@ -18,533 +18,126 @@
|
|||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_all": {
|
"LAYOUT_all": {
|
||||||
"layout": [
|
"layout": [
|
||||||
{
|
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||||
"label": "Esc",
|
|
||||||
"x": 0,
|
{"matrix": [0, 1], "x": 1.25, "y": 0},
|
||||||
"y": 0
|
{"matrix": [0, 2], "x": 2.25, "y": 0},
|
||||||
},
|
{"matrix": [0, 3], "x": 3.25, "y": 0},
|
||||||
{
|
{"matrix": [6, 0], "x": 4.25, "y": 0},
|
||||||
"label": "F1",
|
|
||||||
"x": 1.25,
|
{"matrix": [6, 1], "x": 5.5, "y": 0},
|
||||||
"y": 0
|
{"matrix": [6, 2], "x": 6.5, "y": 0},
|
||||||
},
|
{"matrix": [6, 3], "x": 7.5, "y": 0},
|
||||||
{
|
{"matrix": [0, 4], "x": 8.5, "y": 0},
|
||||||
"label": "F2",
|
|
||||||
"x": 2.25,
|
{"matrix": [0, 5], "x": 9.75, "y": 0},
|
||||||
"y": 0
|
{"matrix": [0, 6], "x": 10.75, "y": 0},
|
||||||
},
|
{"matrix": [0, 7], "x": 11.75, "y": 0},
|
||||||
{
|
{"matrix": [0, 8], "x": 12.75, "y": 0},
|
||||||
"label": "F3",
|
|
||||||
"x": 3.25,
|
{"matrix": [5, 4], "x": 15.5, "y": 0},
|
||||||
"y": 0
|
{"matrix": [5, 5], "x": 16.5, "y": 0},
|
||||||
},
|
{"matrix": [5, 6], "x": 17.5, "y": 0},
|
||||||
{
|
{"matrix": [5, 7], "x": 18.5, "y": 0},
|
||||||
"label": "F4",
|
|
||||||
"x": 4.25,
|
{"matrix": [6, 4], "x": 15.5, "y": 1},
|
||||||
"y": 0
|
{"matrix": [6, 5], "x": 16.5, "y": 1},
|
||||||
},
|
{"matrix": [6, 6], "x": 17.5, "y": 1},
|
||||||
{
|
{"matrix": [6, 7], "x": 18.5, "y": 1},
|
||||||
"label": "F5",
|
|
||||||
"x": 5.5,
|
{"matrix": [1, 0], "x": 0, "y": 2},
|
||||||
"y": 0
|
{"matrix": [1, 1], "x": 1, "y": 2},
|
||||||
},
|
{"matrix": [1, 2], "x": 2, "y": 2},
|
||||||
{
|
{"matrix": [1, 3], "x": 3, "y": 2},
|
||||||
"label": "F6",
|
{"matrix": [7, 0], "x": 4, "y": 2},
|
||||||
"x": 6.5,
|
{"matrix": [7, 1], "x": 5, "y": 2},
|
||||||
"y": 0
|
{"matrix": [7, 2], "x": 6, "y": 2},
|
||||||
},
|
{"matrix": [7, 3], "x": 7, "y": 2},
|
||||||
{
|
{"matrix": [1, 4], "x": 8, "y": 2},
|
||||||
"label": "F7",
|
{"matrix": [1, 5], "x": 9, "y": 2},
|
||||||
"x": 7.5,
|
{"matrix": [1, 6], "x": 10, "y": 2},
|
||||||
"y": 0
|
{"matrix": [1, 7], "x": 11, "y": 2},
|
||||||
},
|
{"matrix": [1, 8], "x": 12, "y": 2},
|
||||||
{
|
{"matrix": [1, 9], "x": 13, "y": 2, "w": 2},
|
||||||
"label": "F8",
|
|
||||||
"x": 8.5,
|
{"matrix": [7, 4], "x": 15.5, "y": 2},
|
||||||
"y": 0
|
{"matrix": [7, 5], "x": 16.5, "y": 2},
|
||||||
},
|
{"matrix": [7, 6], "x": 17.5, "y": 2},
|
||||||
{
|
{"matrix": [7, 7], "x": 18.5, "y": 2},
|
||||||
"label": "F9",
|
|
||||||
"x": 9.75,
|
{"matrix": [2, 0], "x": 0, "y": 3, "w": 1.5},
|
||||||
"y": 0
|
{"matrix": [2, 1], "x": 1.5, "y": 3},
|
||||||
},
|
{"matrix": [2, 2], "x": 2.5, "y": 3},
|
||||||
{
|
{"matrix": [2, 3], "x": 3.5, "y": 3},
|
||||||
"label": "F10",
|
{"matrix": [8, 0], "x": 4.5, "y": 3},
|
||||||
"x": 10.75,
|
{"matrix": [8, 1], "x": 5.5, "y": 3},
|
||||||
"y": 0
|
{"matrix": [8, 2], "x": 6.5, "y": 3},
|
||||||
},
|
{"matrix": [8, 3], "x": 7.5, "y": 3},
|
||||||
{
|
{"matrix": [2, 4], "x": 8.5, "y": 3},
|
||||||
"label": "F11",
|
{"matrix": [2, 5], "x": 9.5, "y": 3},
|
||||||
"x": 11.75,
|
{"matrix": [2, 6], "x": 10.5, "y": 3},
|
||||||
"y": 0
|
{"matrix": [2, 7], "x": 11.5, "y": 3},
|
||||||
},
|
{"matrix": [2, 8], "x": 12.5, "y": 3},
|
||||||
{
|
{"matrix": [2, 9], "x": 13.5, "y": 3, "w": 1.5},
|
||||||
"label": "F12",
|
|
||||||
"x": 12.75,
|
{"matrix": [8, 4], "x": 15.5, "y": 3},
|
||||||
"y": 0
|
{"matrix": [8, 5], "x": 16.5, "y": 3},
|
||||||
},
|
{"matrix": [8, 6], "x": 17.5, "y": 3},
|
||||||
{
|
{"matrix": [8, 7], "x": 18.5, "y": 3},
|
||||||
"label": "Insert",
|
|
||||||
"x": 15.5,
|
{"matrix": [3, 0], "x": 0, "y": 4, "w": 1.75},
|
||||||
"y": 0
|
{"matrix": [3, 1], "x": 1.75, "y": 4},
|
||||||
},
|
{"matrix": [3, 2], "x": 2.75, "y": 4},
|
||||||
{
|
{"matrix": [3, 3], "x": 3.75, "y": 4},
|
||||||
"label": "Home",
|
{"matrix": [9, 0], "x": 4.75, "y": 4},
|
||||||
"x": 16.5,
|
{"matrix": [9, 1], "x": 5.75, "y": 4},
|
||||||
"y": 0
|
{"matrix": [9, 2], "x": 6.75, "y": 4},
|
||||||
},
|
{"matrix": [9, 3], "x": 7.75, "y": 4},
|
||||||
{
|
{"matrix": [3, 4], "x": 8.75, "y": 4},
|
||||||
"label": "PgUp",
|
{"matrix": [3, 5], "x": 9.75, "y": 4},
|
||||||
"x": 17.5,
|
{"matrix": [3, 6], "x": 10.75, "y": 4},
|
||||||
"y": 0
|
{"matrix": [3, 7], "x": 11.75, "y": 4},
|
||||||
},
|
{"matrix": [3, 8], "x": 12.75, "y": 4, "w": 2.25},
|
||||||
{
|
|
||||||
"label": "PrtSc",
|
{"matrix": [9, 4], "x": 15.5, "y": 4},
|
||||||
"x": 18.5,
|
{"matrix": [9, 5], "x": 16.5, "y": 4},
|
||||||
"y": 0
|
{"matrix": [9, 6], "x": 17.5, "y": 4},
|
||||||
},
|
{"matrix": [9, 7], "x": 18.5, "y": 4},
|
||||||
{
|
|
||||||
"label": "Del",
|
{"matrix": [4, 0], "x": 0, "y": 5, "w": 1.25},
|
||||||
"x": 15.5,
|
{"matrix": [4, 1], "x": 1.25, "y": 5},
|
||||||
"y": 1
|
{"matrix": [4, 2], "x": 2.25, "y": 5},
|
||||||
},
|
{"matrix": [4, 3], "x": 3.25, "y": 5},
|
||||||
{
|
{"matrix": [10, 0], "x": 4.25, "y": 5},
|
||||||
"label": "End",
|
{"matrix": [10, 1], "x": 5.25, "y": 5},
|
||||||
"x": 16.5,
|
{"matrix": [10, 2], "x": 6.25, "y": 5},
|
||||||
"y": 1
|
{"matrix": [10, 3], "x": 7.25, "y": 5},
|
||||||
},
|
{"matrix": [4, 4], "x": 8.25, "y": 5},
|
||||||
{
|
{"matrix": [4, 5], "x": 9.25, "y": 5},
|
||||||
"label": "PgDn",
|
{"matrix": [4, 6], "x": 10.25, "y": 5},
|
||||||
"x": 17.5,
|
{"matrix": [4, 7], "x": 11.25, "y": 5},
|
||||||
"y": 1
|
{"matrix": [4, 8], "x": 12.25, "y": 5, "w": 1.75},
|
||||||
},
|
|
||||||
{
|
{"matrix": [10, 9], "x": 14.25, "y": 5.25},
|
||||||
"label": "Scroll Lock",
|
|
||||||
"x": 18.5,
|
{"matrix": [10, 4], "x": 15.5, "y": 5},
|
||||||
"y": 1
|
{"matrix": [10, 5], "x": 16.5, "y": 5},
|
||||||
},
|
{"matrix": [10, 6], "x": 17.5, "y": 5},
|
||||||
{
|
{"matrix": [10, 7], "x": 18.5, "y": 5, "h": 2},
|
||||||
"label": "~",
|
|
||||||
"x": 0,
|
{"matrix": [5, 0], "x": 0, "y": 6, "w": 1.25},
|
||||||
"y": 2
|
{"matrix": [5, 1], "x": 1.25, "y": 6, "w": 1.25},
|
||||||
},
|
{"matrix": [5, 2], "x": 2.5, "y": 6, "w": 1.25},
|
||||||
{
|
{"matrix": [5, 3], "x": 3.75, "y": 6, "w": 6.25},
|
||||||
"label": "!",
|
{"matrix": [11, 4], "x": 10, "y": 6, "w": 1.5},
|
||||||
"x": 1,
|
{"matrix": [11, 7], "x": 11.5, "y": 6, "w": 1.5},
|
||||||
"y": 2
|
|
||||||
},
|
{"matrix": [10, 8], "x": 13.25, "y": 6.25},
|
||||||
{
|
{"matrix": [11, 8], "x": 14.25, "y": 6.25},
|
||||||
"label": "@",
|
{"matrix": [11, 9], "x": 15.25, "y": 6.25},
|
||||||
"x": 2,
|
|
||||||
"y": 2
|
{"matrix": [11, 5], "x": 16.5, "y": 6},
|
||||||
},
|
{"matrix": [11, 6], "x": 17.5, "y": 6}
|
||||||
{
|
|
||||||
"label": "#",
|
|
||||||
"x": 3,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "$",
|
|
||||||
"x": 4,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "%",
|
|
||||||
"x": 5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "^",
|
|
||||||
"x": 6,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "&",
|
|
||||||
"x": 7,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "",
|
|
||||||
"x": 8,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "(",
|
|
||||||
"x": 9,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ")",
|
|
||||||
"x": 10,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "_",
|
|
||||||
"x": 11,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "+",
|
|
||||||
"x": 12,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Backspace",
|
|
||||||
"x": 13,
|
|
||||||
"y": 2,
|
|
||||||
"w": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Num Lock",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "/",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Pause",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Tab",
|
|
||||||
"x": 0,
|
|
||||||
"y": 3,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Q",
|
|
||||||
"x": 1.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "W",
|
|
||||||
"x": 2.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "E",
|
|
||||||
"x": 3.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "R",
|
|
||||||
"x": 4.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "T",
|
|
||||||
"x": 5.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Y",
|
|
||||||
"x": 6.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "U",
|
|
||||||
"x": 7.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "I",
|
|
||||||
"x": 8.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "O",
|
|
||||||
"x": 9.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "P",
|
|
||||||
"x": 10.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "{",
|
|
||||||
"x": 11.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "}",
|
|
||||||
"x": 12.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "|",
|
|
||||||
"x": 13.5,
|
|
||||||
"y": 3,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "7",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "8",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "9",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "-",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 3
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Caps Lock",
|
|
||||||
"x": 0,
|
|
||||||
"y": 4,
|
|
||||||
"w": 1.75
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "A",
|
|
||||||
"x": 1.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "S",
|
|
||||||
"x": 2.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "D",
|
|
||||||
"x": 3.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "F",
|
|
||||||
"x": 4.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "G",
|
|
||||||
"x": 5.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "H",
|
|
||||||
"x": 6.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "J",
|
|
||||||
"x": 7.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "K",
|
|
||||||
"x": 8.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "L",
|
|
||||||
"x": 9.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ":",
|
|
||||||
"x": 10.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "\"",
|
|
||||||
"x": 11.75,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Enter",
|
|
||||||
"x": 12.75,
|
|
||||||
"y": 4,
|
|
||||||
"w": 2.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "4",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "5",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "6",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "+",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 4
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Shift",
|
|
||||||
"x": 0,
|
|
||||||
"y": 5,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "ISO1",
|
|
||||||
"x": 1.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Z",
|
|
||||||
"x": 2.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "X",
|
|
||||||
"x": 3.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "C",
|
|
||||||
"x": 4.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "V",
|
|
||||||
"x": 5.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "B",
|
|
||||||
"x": 6.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "N",
|
|
||||||
"x": 7.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "M",
|
|
||||||
"x": 8.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "<",
|
|
||||||
"x": 9.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ">",
|
|
||||||
"x": 10.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "?",
|
|
||||||
"x": 11.25,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Shift",
|
|
||||||
"x": 12.25,
|
|
||||||
"y": 5,
|
|
||||||
"w": 1.75
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "up",
|
|
||||||
"x": 14.25,
|
|
||||||
"y": 5.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "1",
|
|
||||||
"x": 15.5,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "2",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "3",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Enter",
|
|
||||||
"x": 18.5,
|
|
||||||
"y": 5,
|
|
||||||
"h": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Ctrl",
|
|
||||||
"x": 0,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "OS",
|
|
||||||
"x": 1.25,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Alt",
|
|
||||||
"x": 2.5,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"x": 3.75,
|
|
||||||
"y": 6,
|
|
||||||
"w": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Alt",
|
|
||||||
"x": 10,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Ctrl",
|
|
||||||
"x": 11.5,
|
|
||||||
"y": 6,
|
|
||||||
"w": 1.5
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "left",
|
|
||||||
"x": 13.25,
|
|
||||||
"y": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "down",
|
|
||||||
"x": 14.25,
|
|
||||||
"y": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "right",
|
|
||||||
"x": 15.25,
|
|
||||||
"y": 6.25
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "0",
|
|
||||||
"x": 16.5,
|
|
||||||
"y": 6
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": ".",
|
|
||||||
"x": 17.5,
|
|
||||||
"y": 6
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(RGB_HUI, RGB_HUD) },
|
[1] = { ENCODER_CCW_CW(RGB_HUI, RGB_HUD) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[2] = { ENCODER_CCW_CW(RGB_HUI, RGB_HUD) },
|
[2] = { ENCODER_CCW_CW(RGB_HUI, RGB_HUD) },
|
||||||
|
@ -40,7 +40,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[1] = { ENCODER_CCW_CW(RGB_HUI, RGB_HUD) },
|
[1] = { ENCODER_CCW_CW(RGB_HUI, RGB_HUD) },
|
||||||
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
[2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
|
||||||
|
@ -80,7 +80,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_OPEN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_OPEN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_CLOSE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_CLOSE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_FN] = { ENCODER_CCW_CW(_______, _______) },
|
[_FN] = { ENCODER_CCW_CW(_______, _______) },
|
||||||
|
@ -155,7 +155,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_OPEN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_OPEN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_CLOSE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_CLOSE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_QWERTY] = { ENCODER_CCW_CW(_______, _______) },
|
[_QWERTY] = { ENCODER_CCW_CW(_______, _______) },
|
||||||
|
@ -155,7 +155,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_OPEN] = { ENCODER_CCW_CW(MI_OCTD, MI_OCTU) },
|
[_OPEN] = { ENCODER_CCW_CW(MI_OCTD, MI_OCTU) },
|
||||||
[_CLOSE] = { ENCODER_CCW_CW(MI_OCTD, MI_OCTU) },
|
[_CLOSE] = { ENCODER_CCW_CW(MI_OCTD, MI_OCTU) },
|
||||||
[_QWERTY] = { ENCODER_CCW_CW(_______, _______) },
|
[_QWERTY] = { ENCODER_CCW_CW(_______, _______) },
|
||||||
|
@ -96,7 +96,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#if defined(ENCODER_MAP_ENABLE)
|
#if defined(ENCODER_MAP_ENABLE)
|
||||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||||
[_OPEN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_OPEN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_CLOSE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
[_CLOSE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||||
[_MISC] = { ENCODER_CCW_CW(_______, _______) },
|
[_MISC] = { ENCODER_CCW_CW(_______, _______) },
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user