diff options
Diffstat (limited to 'keyboards/pearlboards')
26 files changed, 2748 insertions, 690 deletions
diff --git a/keyboards/pearlboards/atlas/atlas.c b/keyboards/pearlboards/atlas/atlas.c deleted file mode 100644 index ff8577bde1..0000000000 --- a/keyboards/pearlboards/atlas/atlas.c +++ /dev/null @@ -1,31 +0,0 @@ -/* Copyright 2020 Koobaczech - * - * 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 "atlas.h" - -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { return false; } - if (index == 0) { - if (clockwise) { - tap_code_delay(KC_VOLU, 10); - } else { - tap_code_delay(KC_VOLD, 10); - } - } - return true; -} -#endif diff --git a/keyboards/pearlboards/atlas/atlas.h b/keyboards/pearlboards/atlas/atlas.h deleted file mode 100644 index 93ecc82f7c..0000000000 --- a/keyboards/pearlboards/atlas/atlas.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright 2021 Koobaczech - * - * 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/>. - */ - -/* - * This layout covers all of the possible build layouts. Also, any - * built layouts will work without having to change anything. -*/ - -#pragma once - -#include "quantum.h" - -#define LAYOUT_all( \ - 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, k1f, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2f, \ - k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3f, \ - k40, k41, k42, k47, k4b, k4c, k4d, 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, KC_NO, k1f}, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO, k2f}, \ - { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, KC_NO, k3f}, \ - { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, KC_NO, k4b, k4c, k4d, KC_NO, k4f } \ -} diff --git a/keyboards/pearlboards/atlas/config.h b/keyboards/pearlboards/atlas/config.h index 92cef2fde0..009f810b0c 100644 --- a/keyboards/pearlboards/atlas/config.h +++ b/keyboards/pearlboards/atlas/config.h @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { D6, E1, C0, C4, E3 } -#define MATRIX_COL_PINS { D5, D4, C1, C2, C3, C5, C7, A7, A6, A5, A4, A3, A2, A1, A0, F7 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - /* Audio Function */ #define AUDIO_CLICKY #define AUDIO_PIN C6 @@ -48,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /*== all animations enabled ==*/ /* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */ -#define RGB_DI_PIN B6 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS @@ -64,7 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_SLEEP -#endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/pearlboards/atlas/info.json b/keyboards/pearlboards/atlas/info.json index 77c129e79f..6c944ff329 100644 --- a/keyboards/pearlboards/atlas/info.json +++ b/keyboards/pearlboards/atlas/info.json @@ -8,6 +8,11 @@ "pid": "0x6964", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D5", "D4", "C1", "C2", "C3", "C5", "C7", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0", "F7"], + "rows": ["D6", "E1", "C0", "C4", "E3"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "E0", "pin_b": "D7", "resolution": 1} @@ -19,84 +24,397 @@ "scroll_lock": "F6", "on_state": 0 }, + "ws2812": { + "pin": "B6" + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { "LAYOUT_all": { "layout": [ - {"label":"k00", "x":0, "y":0}, - {"label":"k01", "x":1, "y":0}, - {"label":"k02", "x":2, "y":0}, - {"label":"k03", "x":3, "y":0}, - {"label":"k04", "x":4, "y":0}, - {"label":"k05", "x":5, "y":0}, - {"label":"k06", "x":6, "y":0}, - {"label":"k07", "x":7, "y":0}, - {"label":"k08", "x":8, "y":0}, - {"label":"k09", "x":9, "y":0}, - {"label":"k0a", "x":10, "y":0}, - {"label":"k0b", "x":11, "y":0}, - {"label":"k0c", "x":12, "y":0}, - {"label":"k0d", "x":13, "y":0}, - {"label":"k0e", "x":14, "y":0}, - {"label":"k0f", "x":15, "y":0}, - - {"label":"k10", "x":0, "y":1, "w":1.5}, - {"label":"k11", "x":1.5, "y":1}, - {"label":"k12", "x":2.5, "y":1}, - {"label":"k13", "x":3.5, "y":1}, - {"label":"k14", "x":4.5, "y":1}, - {"label":"k15", "x":5.5, "y":1}, - {"label":"k16", "x":6.5, "y":1}, - {"label":"k17", "x":7.5, "y":1}, - {"label":"k18", "x":8.5, "y":1}, - {"label":"k19", "x":9.5, "y":1}, - {"label":"k1a", "x":10.5, "y":1}, - {"label":"k1b", "x":11.5, "y":1}, - {"label":"k1c", "x":12.5, "y":1}, - {"label":"k1d", "x":13.5, "y":1, "w":1.5}, - {"label":"k1f", "x":15, "y":1}, - - {"label":"k20", "x":0, "y":2, "w":1.75}, - {"label":"k21", "x":1.75, "y":2}, - {"label":"k22", "x":2.75, "y":2}, - {"label":"k23", "x":3.75, "y":2}, - {"label":"k24", "x":4.75, "y":2}, - {"label":"k25", "x":5.75, "y":2}, - {"label":"k26", "x":6.75, "y":2}, - {"label":"k27", "x":7.75, "y":2}, - {"label":"k28", "x":8.75, "y":2}, - {"label":"k29", "x":9.75, "y":2}, - {"label":"k2a", "x":10.75, "y":2}, - {"label":"k2b", "x":11.75, "y":2}, - {"label":"k2c", "x":12.75, "y":2}, - {"label":"k2d", "x":13.75, "y":2, "w":1.25}, - {"label":"k2f", "x":15, "y":2}, - - {"label":"k30", "x":0, "y":3, "w":1.25}, - {"label":"k31", "x":1.25, "y":3}, - {"label":"k32", "x":2.25, "y":3}, - {"label":"k33", "x":3.25, "y":3}, - {"label":"k34", "x":4.25, "y":3}, - {"label":"k35", "x":5.25, "y":3}, - {"label":"k36", "x":6.25, "y":3}, - {"label":"k37", "x":7.25, "y":3}, - {"label":"k38", "x":8.25, "y":3}, - {"label":"k39", "x":9.25, "y":3}, - {"label":"k3a", "x":10.25, "y":3}, - {"label":"k3b", "x":11.25, "y":3}, - {"label":"k3c", "x":12.25, "y":3, "w":1.75}, - {"label":"k3d", "x":14, "y":3}, - {"label":"k3f", "x":15, "y":3}, - - {"label":"k40", "x":0, "y":4, "w":1.5}, - {"label":"k41", "x":1.5, "y":4}, - {"label":"k42", "x":2.5, "y":4, "w":1.5}, - {"label":"k47", "x":4, "y":4, "w":7}, - {"label":"k4b", "x":11, "y":4, "w":1.5}, - {"label":"k4c", "x":13, "y":4}, - {"label":"k4d", "x":14, "y":4}, - {"label":"k4f", "x":15, "y":4} + {"label": "Play/Pause", "matrix": [4, 2], "x": 3.5, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 1}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 1}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 1}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 1}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 1}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 1}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 1}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 1}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 1}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 1}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 1}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 1}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 1}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 1}, + {"label": "Copy", "matrix": [0, 15], "x": 15, "y": 1}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 2, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 2}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 2}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 2}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 2}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 2}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 2}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 2}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 2}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 2}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 2}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 2}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"label": "Paste", "matrix": [1, 15], "x": 15, "y": 2}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 3, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 3}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 3}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 3}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 3}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 3}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 3}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 3}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 3}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 3}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 3}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 3}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 3}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 3, "w": 1.25}, + {"label": "Find", "matrix": [2, 15], "x": 15, "y": 3}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 4}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 4}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 4}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 4}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 4}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 4}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 4}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 4}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 4}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 4}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 4}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"label": "\u2191", "matrix": [3, 13], "x": 14, "y": 4}, + {"label": "Fn", "matrix": [3, 15], "x": 15, "y": 4}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 5, "w": 1.5}, + {"label": "Alt", "matrix": [4, 1], "x": 2.25, "y": 5, "w": 1.5}, + {"label": "Space", "matrix": [4, 7], "x": 3.75, "y": 5, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 10.75, "y": 5, "w": 1.5}, + + {"label": "\u2190", "matrix": [4, 12], "x": 13, "y": 5}, + {"label": "\u2193", "matrix": [4, 13], "x": 14, "y": 5}, + {"label": "\u2192", "matrix": [4, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_ansi_blocker_tsangan_wkl": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 2], "x": 3.5, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 1}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 1}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 1}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 1}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 1}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 1}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 1}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 1}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 1}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 1}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 1}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 1}, + {"label": "Backspace", "matrix": [0, 14], "x": 13, "y": 1, "w": 2}, + {"label": "Copy", "matrix": [0, 15], "x": 15, "y": 1}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 2, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 2}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 2}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 2}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 2}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 2}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 2}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 2}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 2}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 2}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 2}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 2}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"label": "Paste", "matrix": [1, 15], "x": 15, "y": 2}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 3, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 3}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 3}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 3}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 3}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 3}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 3}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 3}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 3}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 3}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 3}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 3}, + {"label": "Enter", "matrix": [2, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"label": "Find", "matrix": [2, 15], "x": 15, "y": 3}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 4, "w": 2.25}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 4}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 4}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 4}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 4}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 4}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 4}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 4}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 4}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 4}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 4}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"label": "\u2191", "matrix": [3, 13], "x": 14, "y": 4}, + {"label": "Fn", "matrix": [3, 15], "x": 15, "y": 4}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 5, "w": 1.5}, + {"label": "Alt", "matrix": [4, 1], "x": 2.25, "y": 5, "w": 1.5}, + {"label": "Space", "matrix": [4, 7], "x": 3.75, "y": 5, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 10.75, "y": 5, "w": 1.5}, + + {"label": "\u2190", "matrix": [4, 12], "x": 13, "y": 5}, + {"label": "\u2193", "matrix": [4, 13], "x": 14, "y": 5}, + {"label": "\u2192", "matrix": [4, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_ansi_blocker_tsangan_wkl_split_bs": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 2], "x": 3.5, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 1}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 1}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 1}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 1}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 1}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 1}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 1}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 1}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 1}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 1}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 1}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 1}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 1}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 1}, + {"label": "Copy", "matrix": [0, 15], "x": 15, "y": 1}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 2, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 2}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 2}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 2}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 2}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 2}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 2}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 2}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 2}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 2}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 2}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 2}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 2, "w": 1.5}, + {"label": "Paste", "matrix": [1, 15], "x": 15, "y": 2}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 3, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 3}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 3}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 3}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 3}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 3}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 3}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 3}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 3}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 3}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 3}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 3}, + {"label": "Enter", "matrix": [2, 13], "x": 12.75, "y": 3, "w": 2.25}, + {"label": "Find", "matrix": [2, 15], "x": 15, "y": 3}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 4, "w": 2.25}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 4}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 4}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 4}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 4}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 4}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 4}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 4}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 4}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 4}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 4}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"label": "\u2191", "matrix": [3, 13], "x": 14, "y": 4}, + {"label": "Fn", "matrix": [3, 15], "x": 15, "y": 4}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 5, "w": 1.5}, + {"label": "Alt", "matrix": [4, 1], "x": 2.25, "y": 5, "w": 1.5}, + {"label": "Space", "matrix": [4, 7], "x": 3.75, "y": 5, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 10.75, "y": 5, "w": 1.5}, + + {"label": "\u2190", "matrix": [4, 12], "x": 13, "y": 5}, + {"label": "\u2193", "matrix": [4, 13], "x": 14, "y": 5}, + {"label": "\u2192", "matrix": [4, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_iso_blocker_tsangan_wkl": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 2], "x": 3.5, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 1}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 1}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 1}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 1}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 1}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 1}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 1}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 1}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 1}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 1}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 1}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 1}, + {"label": "Backspace", "matrix": [0, 14], "x": 13, "y": 1, "w": 2}, + {"label": "Copy", "matrix": [0, 15], "x": 15, "y": 1}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 2, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 2}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 2}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 2}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 2}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 2}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 2}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 2}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 2}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 2}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 2}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 2}, + {"label": "Paste", "matrix": [1, 15], "x": 15, "y": 2}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 3, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 3}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 3}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 3}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 3}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 3}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 3}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 3}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 3}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 3}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 3}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 3}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 3}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"label": "Find", "matrix": [2, 15], "x": 15, "y": 3}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 4}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 4}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 4}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 4}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 4}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 4}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 4}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 4}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 4}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 4}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 4}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"label": "\u2191", "matrix": [3, 13], "x": 14, "y": 4}, + {"label": "Fn", "matrix": [3, 15], "x": 15, "y": 4}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 5, "w": 1.5}, + {"label": "Alt", "matrix": [4, 1], "x": 2.25, "y": 5, "w": 1.5}, + {"label": "Space", "matrix": [4, 7], "x": 3.75, "y": 5, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 10.75, "y": 5, "w": 1.5}, + + {"label": "\u2190", "matrix": [4, 12], "x": 13, "y": 5}, + {"label": "\u2193", "matrix": [4, 13], "x": 14, "y": 5}, + {"label": "\u2192", "matrix": [4, 15], "x": 15, "y": 5} + ] + }, + "LAYOUT_iso_blocker_tsangan_wkl_split_bs": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 2], "x": 3.5, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 1}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 1}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 1}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 1}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 1}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 1}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 1}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 1}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 1}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 1}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 1}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 1}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 1}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 1}, + {"label": "Copy", "matrix": [0, 15], "x": 15, "y": 1}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 2, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 2}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 2}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 2}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 2}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 2}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 2}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 2}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 2}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 2}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 2}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 2}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 2}, + {"label": "Paste", "matrix": [1, 15], "x": 15, "y": 2}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 3, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 3}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 3}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 3}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 3}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 3}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 3}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 3}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 3}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 3}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 3}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 3}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 3}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 2, "w": 1.25, "h": 2}, + {"label": "Find", "matrix": [2, 15], "x": 15, "y": 3}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 4}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 4}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 4}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 4}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 4}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 4}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 4}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 4}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 4}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 4}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 4}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 4, "w": 1.75}, + {"label": "\u2191", "matrix": [3, 13], "x": 14, "y": 4}, + {"label": "Fn", "matrix": [3, 15], "x": 15, "y": 4}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 5, "w": 1.5}, + {"label": "Alt", "matrix": [4, 1], "x": 2.25, "y": 5, "w": 1.5}, + {"label": "Space", "matrix": [4, 7], "x": 3.75, "y": 5, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 10.75, "y": 5, "w": 1.5}, + + {"label": "\u2190", "matrix": [4, 12], "x": 13, "y": 5}, + {"label": "\u2193", "matrix": [4, 13], "x": 14, "y": 5}, + {"label": "\u2192", "matrix": [4, 15], "x": 15, "y": 5} ] } } diff --git a/keyboards/pearlboards/atlas/keymaps/default/keymap.c b/keyboards/pearlboards/atlas/keymaps/default/keymap.c index c67fbc32d1..dce3bdef08 100644 --- a/keyboards/pearlboards/atlas/keymaps/default/keymap.c +++ b/keyboards/pearlboards/atlas/keymaps/default/keymap.c @@ -18,17 +18,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - LAYOUT_all( - QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, KC_COPY, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PSTE, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT , KC_FIND, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP , MO(1), - KC_LCTL, KC_LALT, KC_MEDIA_PLAY_PAUSE, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RIGHT), - - LAYOUT_all( - QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, HF_FDBK, HF_TOGG, HF_ON, CK_ON, CK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) + + [0] = LAYOUT_all( + KC_MPLY, + QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, KC_COPY, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PSTE, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_FIND, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_all( + KC_TRNS, + QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, HF_FDBK, HF_TOGG, HF_ON, CK_ON, CK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) + }; diff --git a/keyboards/pearlboards/atlas/keymaps/via/keymap.c b/keyboards/pearlboards/atlas/keymaps/via/keymap.c index f0eb50e010..ef86478de9 100644 --- a/keyboards/pearlboards/atlas/keymaps/via/keymap.c +++ b/keyboards/pearlboards/atlas/keymaps/via/keymap.c @@ -18,31 +18,41 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( - QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT , KC_MEDIA_PLAY_PAUSE, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP , MO(1), - KC_LCTL, KC_LALT, KC_MEDIA_PLAY_PAUSE, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RIGHT), - - [1] = LAYOUT_all( - QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, KC_TRNS, - KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, HF_FDBK, HF_TOGG, HF_ON, CK_ON, CK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [2] = LAYOUT_all( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), - - [3] = LAYOUT_all( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) + + [0] = LAYOUT_all( + KC_MPLY, + QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_MPLY, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), + KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT + ), + + [1] = LAYOUT_all( + KC_TRNS, + QK_BOOT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, HF_FDBK, HF_TOGG, HF_ON, CK_ON, CK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [2] = LAYOUT_all( + KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + + [3] = LAYOUT_all( + KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) + }; diff --git a/keyboards/pearlboards/atlas/matrix_diagram.md b/keyboards/pearlboards/atlas/matrix_diagram.md new file mode 100644 index 0000000000..a5f2fa10d1 --- /dev/null +++ b/keyboards/pearlboards/atlas/matrix_diagram.md @@ -0,0 +1,20 @@ +# Matrix Diagram for Pearl Boards Atlas + +``` + ┌───┐ + │42 │ Rotary Encoder +┌───┬───┬───┬─┴─┬─┴─┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───────┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │0E │0F │ │0E │ 2u Backspace +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤ └─┬─────┤ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1F │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤ ┌──┴┐2D │ ISO Enter +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2D │2F │ │2C │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤ └───┴────┘ +│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │3F │ +├────┴┬──┼───┴─┬─┴───┴───┴───┴───┴───┴───┴─┬─┴───┼──┬───┼───┼───┤ +│40 │ │41 │47 │4B │ │4C │4D │4F │ +└─────┘ └─────┴───────────────────────────┴─────┘ └───┴───┴───┘ +┌────────┐ +│30 │ 2.25u LShift +└────────┘ +``` diff --git a/keyboards/pearlboards/pandora/config.h b/keyboards/pearlboards/pandora/config.h index c039db9a15..02fc30db97 100644 --- a/keyboards/pearlboards/pandora/config.h +++ b/keyboards/pearlboards/pandora/config.h @@ -17,29 +17,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { B4, D7, D6, B3, B0 } -#define MATRIX_COL_PINS { D2, D1, D0, D3, D5, B5, B6, B7, D4, C6, C7, F0, F1, F4, F7 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define DIP_SWITCH_PINS { B2, B5 } /*== all animations enabled ==*/ /* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */ -#define RGB_DI_PIN B1 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS @@ -54,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_SLEEP -#endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/pearlboards/pandora/info.json b/keyboards/pearlboards/pandora/info.json index 0114fb8e78..39f271d1b5 100644 --- a/keyboards/pearlboards/pandora/info.json +++ b/keyboards/pearlboards/pandora/info.json @@ -8,6 +8,11 @@ "pid": "0x6963", "device_version": "0.0.2" }, + "matrix_pins": { + "cols": ["D2", "D1", "D0", "D3", "D5", "B5", "B6", "B7", "D4", "C6", "C7", "F0", "F1", "F4", "F7"], + "rows": ["B4", "D7", "D6", "B3", "B0"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "F6", "pin_b": "F5", "resolution": 1} @@ -17,11 +22,722 @@ "caps_lock": "E6", "on_state": 0 }, + "ws2812": { + "pin": "B1" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "community_layouts": [ + "60_ansi", + "60_ansi_split_bs_rshift", + "60_ansi_tsangan", + "60_tsangan_hhkb", + "60_iso", + "60_iso_split_bs_rshift", + "60_iso_tsangan" + ], "layouts": { "LAYOUT_all": { - "layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"0,3", "x":3, "y":0}, {"label":"0,4", "x":4, "y":0}, {"label":"0,5", "x":5, "y":0}, {"label":"0,6", "x":6, "y":0}, {"label":"0,7", "x":7, "y":0}, {"label":"0,8", "x":8, "y":0}, {"label":"0,9", "x":9, "y":0}, {"label":"0,10", "x":10, "y":0}, {"label":"0,11", "x":11, "y":0}, {"label":"0,12", "x":12, "y":0}, {"label":"0,13", "x":13, "y":0}, {"label":"0,14", "x":14, "y":0}, {"label":"1,0", "x":0, "y":1, "w":1.5}, {"label":"1,1", "x":1.5, "y":1}, {"label":"1,2", "x":2.5, "y":1}, {"label":"1,3", "x":3.5, "y":1}, {"label":"1,4", "x":4.5, "y":1}, {"label":"1,5", "x":5.5, "y":1}, {"label":"1,6", "x":6.5, "y":1}, {"label":"1,7", "x":7.5, "y":1}, {"label":"1,8", "x":8.5, "y":1}, {"label":"1,9", "x":9.5, "y":1}, {"label":"1,10", "x":10.5, "y":1}, {"label":"1,11", "x":11.5, "y":1}, {"label":"1,12", "x":12.5, "y":1}, {"label":"1,13", "x":13.5, "y":1, "w":1.5}, {"label":"2,0", "x":0, "y":2, "w":1.75}, {"label":"2,1", "x":1.75, "y":2}, {"label":"2,2", "x":2.75, "y":2}, {"label":"2,3", "x":3.75, "y":2}, {"label":"2,4", "x":4.75, "y":2}, {"label":"2,5", "x":5.75, "y":2}, {"label":"2,6", "x":6.75, "y":2}, {"label":"2,7", "x":7.75, "y":2}, {"label":"2,8", "x":8.75, "y":2}, {"label":"2,9", "x":9.75, "y":2}, {"label":"2,10", "x":10.75, "y":2}, {"label":"2,11", "x":11.75, "y":2}, {"label":"2,12", "x":12.75, "y":2}, {"label":"2,13", "x":13.75, "y":2, "w":1.25}, {"label":"3,0", "x":0, "y":3, "w":1.25}, {"label":"3,1", "x":1.25, "y":3}, {"label":"3,2", "x":2.25, "y":3}, {"label":"3,3", "x":3.25, "y":3}, {"label":"3,4", "x":4.25, "y":3}, {"label":"3,5", "x":5.25, "y":3}, {"label":"3,6", "x":6.25, "y":3}, {"label":"3,7", "x":7.25, "y":3}, {"label":"3,8", "x":8.25, "y":3}, {"label":"3,9", "x":9.25, "y":3}, {"label":"3,10", "x":10.25, "y":3}, {"label":"3,11", "x":11.25, "y":3}, {"label":"3,12", "x":12.25, "y":3, "w":1.75}, {"label":"3,13", "x":14, "y":3}, {"label":"4,0", "x":0, "y":4, "w":1.25}, {"label":"4,1", "x":1.25, "y":4, "w":1.25}, {"label":"4,2", "x":2.5, "y":4, "w":1.25}, {"label":"4,6", "x":3.75, "y":4, "w":6.25}, {"label":"4,10", "x":10, "y":4, "w":1.25}, {"label":"4,11", "x":11.25, "y":4, "w":1.25}, {"label":"4,12", "x":12.5, "y":4, "w":1.25}, {"label":"4,13", "x":13.75, "y":4, "w":1.25}] + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 0}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 2, "w": 1.25}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 3}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"label": "Fn", "matrix": [3, 13], "x": 14, "y": 3}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"label": "Space", "matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"label": "Alt", "matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_ansi": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"label": "Space", "matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"label": "Alt", "matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_ansi_split_bs_rshift": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 0}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"label": "Fn", "matrix": [3, 13], "x": 14, "y": 3}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"label": "Space", "matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"label": "Alt", "matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_ansi_tsangan_split_rshift": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"label": "Fn", "matrix": [3, 13], "x": 14, "y": 3}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"label": "GUI", "matrix": [4, 1], "x": 1.5, "y": 4}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"label": "Space", "matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 11, "y": 4, "w": 1.5}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_ansi_tsangan": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"label": "GUI", "matrix": [4, 1], "x": 1.5, "y": 4}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"label": "Space", "matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 11, "y": 4, "w": 1.5}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_tsangan_hhkb": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 0}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + {"label": "\\", "matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"label": "Fn", "matrix": [3, 13], "x": 14, "y": 3}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"label": "GUI", "matrix": [4, 1], "x": 1.5, "y": 4}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"label": "Space", "matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 11, "y": 4, "w": 1.5}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_iso": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 3}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"label": "Space", "matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"label": "Alt", "matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_iso_split_bs_rshift": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 0}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 3}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"label": "Fn", "matrix": [3, 13], "x": 14, "y": 3}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.25}, + {"label": "Space", "matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"label": "Alt", "matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"label": "GUI", "matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4, "w": 1.25}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.75, "y": 4, "w": 1.25} + ] + }, + "LAYOUT_60_iso_tsangan": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Backspace", "matrix": [0, 13], "x": 13, "y": 0, "w": 2}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 3}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 2.75}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"label": "GUI", "matrix": [4, 1], "x": 1.5, "y": 4}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"label": "Space", "matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 11, "y": 4, "w": 1.5}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.5} + ] + }, + "LAYOUT_60_iso_tsangan_split_bs_rshift": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "7", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "8", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "9", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "0", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "=", "matrix": [0, 12], "x": 12, "y": 0}, + {"label": "Delete", "matrix": [0, 13], "x": 13, "y": 0}, + {"label": "Backspace", "matrix": [0, 14], "x": 14, "y": 0}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "W", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "E", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "R", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "T", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "U", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "I", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "O", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": "P", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "[", "matrix": [1, 11], "x": 11.5, "y": 1}, + {"label": "]", "matrix": [1, 12], "x": 12.5, "y": 1}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "A", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "D", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "F", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "G", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "H", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "J", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": "K", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": "L", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": ";", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "'", "matrix": [2, 11], "x": 11.75, "y": 2}, + {"label": "#", "matrix": [2, 12], "x": 12.75, "y": 2}, + {"label": "Enter", "matrix": [2, 13], "x": 13.75, "y": 1, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25}, + {"label": "\\", "matrix": [3, 1], "x": 1.25, "y": 3}, + {"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, + {"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, + {"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, + {"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, + {"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, + {"label": "N", "matrix": [3, 7], "x": 7.25, "y": 3}, + {"label": "M", "matrix": [3, 8], "x": 8.25, "y": 3}, + {"label": ",", "matrix": [3, 9], "x": 9.25, "y": 3}, + {"label": ".", "matrix": [3, 10], "x": 10.25, "y": 3}, + {"label": "/", "matrix": [3, 11], "x": 11.25, "y": 3}, + {"label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, + {"label": "Fn", "matrix": [3, 13], "x": 14, "y": 3}, + + {"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, + {"label": "GUI", "matrix": [4, 1], "x": 1.5, "y": 4}, + {"label": "Alt", "matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, + {"label": "Space", "matrix": [4, 6], "x": 4, "y": 4, "w": 7}, + {"label": "Alt", "matrix": [4, 11], "x": 11, "y": 4, "w": 1.5}, + {"label": "Menu", "matrix": [4, 12], "x": 12.5, "y": 4}, + {"label": "Ctrl", "matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.5} + ] } } } diff --git a/keyboards/pearlboards/pandora/matrix_diagram.md b/keyboards/pearlboards/pandora/matrix_diagram.md new file mode 100644 index 0000000000..ece45d1b1a --- /dev/null +++ b/keyboards/pearlboards/pandora/matrix_diagram.md @@ -0,0 +1,42 @@ +# Matrix Diagram for Pearl Boards Pandora + +## Hotswap + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │ +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2D │ +├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ +│30 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │ +├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┤ +│40 │41 │42 │46 │4B │4C │4D │ +└─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ +``` + +## Soldered + +``` + ┌───────┐ + 2u Backspace │0D │ + └───────┘ +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │0E │ +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ ┌─────┐ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ ┌──┴┐2D │ +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2D │ │2C │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ └───┴────┘ +│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │ ISO Enter +├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴───┤ +│40 │41 │42 │46 │4A │4B │4C │4D │ +└────┴────┴────┴────────────────────────┴────┴────┴────┴────┘ +┌────────┐ ┌──────────┐ +│30 │ 2.25u LShift 2.75u RShift │3C │ +└────────┘ └──────────┘ +┌─────┬───┬─────┬───────────────────────────┬─────┬───┬─────┐ +│40 │41 │42 │46 │4B │4C │4D │ Tsangan/WKL/HHKB +└─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ +``` diff --git a/keyboards/pearlboards/pandora/pandora.c b/keyboards/pearlboards/pandora/pandora.c index 608ee00edf..86044b92b6 100644 --- a/keyboards/pearlboards/pandora/pandora.c +++ b/keyboards/pearlboards/pandora/pandora.c @@ -14,25 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "pandora.h" - -// Encoder rotate function -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } - /* First encoder */ - if (index == 0) { - if (clockwise) { - tap_code(KC_AUDIO_VOL_UP); - } else { - tap_code(KC_AUDIO_VOL_DOWN); - } - } - return true; -} -#endif +#include "quantum.h" // Encoder click function #ifdef DIP_SWITCH_ENABLE diff --git a/keyboards/pearlboards/pandora/pandora.h b/keyboards/pearlboards/pandora/pandora.h deleted file mode 100644 index 73df657bcf..0000000000 --- a/keyboards/pearlboards/pandora/pandora.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright 2021 Koobaczech - * - * 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/>. - */ - -/* - * This layout covers all of the possible build layouts. Also, any - * built layouts will work without having to change anything. -*/ - -#pragma once - -#include "quantum.h" - -#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, k1a, k1b, k1c, k1d, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ - k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ - k40, k41, k42, k46, k4a, k4b, k4c, k4d \ -) { \ - { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, KC_NO }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO }, \ - { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, KC_NO }, \ - { k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4a, k4b, k4c, k4d, KC_NO } \ - } diff --git a/keyboards/pearlboards/pearl/config.h b/keyboards/pearlboards/pearl/config.h index 3faaca26a0..361c315929 100644 --- a/keyboards/pearlboards/pearl/config.h +++ b/keyboards/pearlboards/pearl/config.h @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { D3, F7, F0, E6 } -#define MATRIX_COL_PINS { D2, F1, F4, F5, F6, C7, B6, B5, B4, D7, D6, D4, D5 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - /* Audio Function */ #define AUDIO_CLICKY #define AUDIO_PIN C6 @@ -48,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /*== all animations enabled ==*/ /* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */ -#define RGB_DI_PIN B3 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS @@ -65,7 +46,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # define RGBLIGHT_SAT_STEP 8 # define RGBLIGHT_VAL_STEP 8 # define RGBLIGHT_SLEEP -#endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/pearlboards/pearl/info.json b/keyboards/pearlboards/pearl/info.json index f6082c1d37..c14c6685b3 100644 --- a/keyboards/pearlboards/pearl/info.json +++ b/keyboards/pearlboards/pearl/info.json @@ -8,65 +8,122 @@ "pid": "0x6965", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["D2", "F1", "F4", "F5", "F6", "C7", "B6", "B5", "B4", "D7", "D6", "D4", "D5"], + "rows": ["D3", "F7", "F0", "E6"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "B0", "num_lock": "B1", "scroll_lock": "B2", "on_state": 0 }, + "ws2812": { + "pin": "B3" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 4, "layouts": { "LAYOUT_all": { "layout": [ - {"label":"k00", "x":0, "y":0}, - {"label":"k01", "x":1, "y":0}, - {"label":"k02", "x":2, "y":0}, - {"label":"k03", "x":3, "y":0}, - {"label":"k04", "x":4, "y":0}, - {"label":"k05", "x":5, "y":0}, - {"label":"k06", "x":6, "y":0}, - {"label":"k07", "x":7, "y":0}, - {"label":"k08", "x":8, "y":0}, - {"label":"k09", "x":9, "y":0}, - {"label":"k0A", "x":10, "y":0}, - {"label":"k0B", "x":11, "y":0}, - {"label":"k0C", "x":12, "y":0}, + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "Q", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "W", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "E", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "R", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "T", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "Y", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "U", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "I", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "O", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "P", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "Backspace", "matrix": [0, 12], "x": 12, "y": 0}, + + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "A", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "S", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "D", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "F", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "G", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "H", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "J", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "K", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "L", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": ";", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "Enter", "matrix": [1, 11], "x": 11.5, "y": 1, "w": 1.5}, + + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "Z", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "X", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "C", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "V", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "B", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "N", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "M", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": ",", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": ".", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": "/", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "Shift", "matrix": [2, 11], "x": 11.75, "y": 2, "w": 1.25}, + + {"label": "Ctrl", "matrix": [3, 0], "x": 1.125, "y": 3}, + {"label": "Alt", "matrix": [3, 1], "x": 2.125, "y": 3, "w": 1.25}, + {"label": "GUI", "matrix": [3, 2], "x": 3.375, "y": 3, "w": 1.25}, + {"label": "Space", "matrix": [3, 3], "x": 4.625, "y": 3, "w": 2.25}, + {"label": "Backspace", "matrix": [3, 4], "x": 6.875, "y": 3, "w": 2.75}, + {"label": "Menu", "matrix": [3, 5], "x": 9.625, "y": 3, "w": 1.25}, + {"label": "Fn", "matrix": [3, 6], "x": 10.875, "y": 3} + ] + }, + "LAYOUT_625u_space": { + "layout": [ + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, + {"label": "Q", "matrix": [0, 1], "x": 1, "y": 0}, + {"label": "W", "matrix": [0, 2], "x": 2, "y": 0}, + {"label": "E", "matrix": [0, 3], "x": 3, "y": 0}, + {"label": "R", "matrix": [0, 4], "x": 4, "y": 0}, + {"label": "T", "matrix": [0, 5], "x": 5, "y": 0}, + {"label": "Y", "matrix": [0, 6], "x": 6, "y": 0}, + {"label": "U", "matrix": [0, 7], "x": 7, "y": 0}, + {"label": "I", "matrix": [0, 8], "x": 8, "y": 0}, + {"label": "O", "matrix": [0, 9], "x": 9, "y": 0}, + {"label": "P", "matrix": [0, 10], "x": 10, "y": 0}, + {"label": "-", "matrix": [0, 11], "x": 11, "y": 0}, + {"label": "Backspace", "matrix": [0, 12], "x": 12, "y": 0}, - {"label":"k10", "x":0, "y":1, "w":1.5}, - {"label":"k11", "x":1.5, "y":1}, - {"label":"k12", "x":2.5, "y":1}, - {"label":"k13", "x":3.5, "y":1}, - {"label":"k14", "x":4.5, "y":1}, - {"label":"k15", "x":5.5, "y":1}, - {"label":"k16", "x":6.5, "y":1}, - {"label":"k17", "x":7.5, "y":1}, - {"label":"k18", "x":8.5, "y":1}, - {"label":"k19", "x":9.5, "y":1}, - {"label":"k1A", "x":10.5, "y":1}, - {"label":"k1B", "x":11.5, "y":1, "w":1.5}, + {"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"label": "A", "matrix": [1, 1], "x": 1.5, "y": 1}, + {"label": "S", "matrix": [1, 2], "x": 2.5, "y": 1}, + {"label": "D", "matrix": [1, 3], "x": 3.5, "y": 1}, + {"label": "F", "matrix": [1, 4], "x": 4.5, "y": 1}, + {"label": "G", "matrix": [1, 5], "x": 5.5, "y": 1}, + {"label": "H", "matrix": [1, 6], "x": 6.5, "y": 1}, + {"label": "J", "matrix": [1, 7], "x": 7.5, "y": 1}, + {"label": "K", "matrix": [1, 8], "x": 8.5, "y": 1}, + {"label": "L", "matrix": [1, 9], "x": 9.5, "y": 1}, + {"label": ";", "matrix": [1, 10], "x": 10.5, "y": 1}, + {"label": "Enter", "matrix": [1, 11], "x": 11.5, "y": 1, "w": 1.5}, - {"label":"k20", "x":0, "y":2, "w":1.75}, - {"label":"k21", "x":1.75, "y":2}, - {"label":"k22", "x":2.75, "y":2}, - {"label":"k23", "x":3.75, "y":2}, - {"label":"k24", "x":4.75, "y":2}, - {"label":"k25", "x":5.75, "y":2}, - {"label":"k26", "x":6.75, "y":2}, - {"label":"k27", "x":7.75, "y":2}, - {"label":"k28", "x":8.75, "y":2}, - {"label":"k29", "x":9.75, "y":2}, - {"label":"k2A", "x":10.75, "y":2}, - {"label":"k2B", "x":11.75, "y":2, "w":1.25}, + {"label": "Caps Lock", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"label": "Z", "matrix": [2, 1], "x": 1.75, "y": 2}, + {"label": "X", "matrix": [2, 2], "x": 2.75, "y": 2}, + {"label": "C", "matrix": [2, 3], "x": 3.75, "y": 2}, + {"label": "V", "matrix": [2, 4], "x": 4.75, "y": 2}, + {"label": "B", "matrix": [2, 5], "x": 5.75, "y": 2}, + {"label": "N", "matrix": [2, 6], "x": 6.75, "y": 2}, + {"label": "M", "matrix": [2, 7], "x": 7.75, "y": 2}, + {"label": ",", "matrix": [2, 8], "x": 8.75, "y": 2}, + {"label": ".", "matrix": [2, 9], "x": 9.75, "y": 2}, + {"label": "/", "matrix": [2, 10], "x": 10.75, "y": 2}, + {"label": "Shift", "matrix": [2, 11], "x": 11.75, "y": 2, "w": 1.25}, - {"label":"k30", "x":1.125, "y":3}, - {"label":"k31", "x":2.125, "y":3, "w":1.25}, - {"label":"k32", "x":3.38, "y":3, "w":1.25}, - {"label":"k33", "x":4.625, "y":3, "w":2.25}, - {"label":"k34", "x":6.875, "y":3, "w":2.75}, - {"label":"k35", "x":9.625, "y":3, "w":1.25}, - {"label":"k36", "x":10.875, "y":3} + {"label": "Ctrl", "matrix": [3, 0], "x": 1.125, "y": 3}, + {"label": "Alt", "matrix": [3, 1], "x": 2.125, "y": 3, "w": 1.25}, + {"label": "Space", "matrix": [3, 3], "x": 3.375, "y": 3, "w": 6.25}, + {"label": "Menu", "matrix": [3, 5], "x": 9.625, "y": 3, "w": 1.25}, + {"label": "Fn", "matrix": [3, 6], "x": 10.875, "y": 3} ] } } diff --git a/keyboards/pearlboards/pearl/matrix_diagram.md b/keyboards/pearlboards/pearl/matrix_diagram.md new file mode 100644 index 0000000000..ebcc43466b --- /dev/null +++ b/keyboards/pearlboards/pearl/matrix_diagram.md @@ -0,0 +1,21 @@ +# Matrix Diagram for Pearl Boards Pearl + +``` +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ ┌───────┐ +│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │ │0C │ 2u Backspace +├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴───┤ └───────┘ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │ +├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤ ┌────────┐ +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │ │2A │ 2.25u RShift +└────┬─┴─┬─┴──┬┴───┼───┴───┴┬──┴───┴───┼───┴┬──┴┬───┘ └────────┘ + │30 │31 │32 │33 │34 │35 │36 │ + └───┴────┴────┴────────┴──────────┴────┴───┘ + ┌─ Alternate Split ──────┐ + ┌────┬───┬──────────┬────────┬────┬───┬────┐ + │30 │31 │32 │33 │34 │35 │36 │ + └────┴───┴──────────┴────────┴────┴───┴────┘ + ┌─ 6.25u Spacebar ───────┐ + ┌────────────────────────┐ + │33 │ + └────────────────────────┘ +``` diff --git a/keyboards/pearlboards/pearl/pearl.c b/keyboards/pearlboards/pearl/pearl.c deleted file mode 100644 index f1ccf3fd9a..0000000000 --- a/keyboards/pearlboards/pearl/pearl.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021 Koobaczech - * - * 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 "pearl.h" diff --git a/keyboards/pearlboards/pearl/pearl.h b/keyboards/pearlboards/pearl/pearl.h deleted file mode 100644 index d0a2fcb93f..0000000000 --- a/keyboards/pearlboards/pearl/pearl.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Copyright 2021 Koobaczech - * - * 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/>. - */ - -/* - * This layout covers all of the possible build layouts. Also, any - * built layouts will work without having to change anything. -*/ - -#pragma once - -#include "quantum.h" - -#define LAYOUT_all( \ - k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \ - k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ - k30, k31, k32, k33, k34, k35, k36 \ -){ \ - { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \ - { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, KC_NO}, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, KC_NO}, \ - { k30, k31, k32, k33, k34, k35, k36, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO} \ -} diff --git a/keyboards/pearlboards/zeus/config.h b/keyboards/pearlboards/zeus/config.h index deb979dd06..102c43e168 100644 --- a/keyboards/pearlboards/zeus/config.h +++ b/keyboards/pearlboards/zeus/config.h @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { F0, C1, E1, E0, D7, D6 } -#define MATRIX_COL_PINS { F1, F2, F3, F4, F5, F6, F7, A0, A1, A2, A3, A4, A5, A6, A7, C7, C2, C0 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - /* Audio Function */ #define AUDIO_CLICKY #define AUDIO_PIN C6 @@ -52,8 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /*== all animations enabled ==*/ /* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */ -#define RGB_DI_PIN D5 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS @@ -68,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_SLEEP -#endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/pearlboards/zeus/info.json b/keyboards/pearlboards/zeus/info.json index 3d2f44a892..0fbfc75c21 100644 --- a/keyboards/pearlboards/zeus/info.json +++ b/keyboards/pearlboards/zeus/info.json @@ -8,6 +8,11 @@ "pid": "0x6966", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C2", "C0"], + "rows": ["F0", "C1", "E1", "E0", "D7", "D6"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "E7", "pin_b": "E6", "resolution": 1} @@ -19,106 +24,1342 @@ "scroll_lock": "C3", "on_state": 0 }, + "ws2812": { + "pin": "D5" + }, "processor": "at90usb1286", "bootloader": "atmel-dfu", "layouts": { "LAYOUT_all": { "layout": [ - {"label":"k4F", "x":3, "y":0}, - - {"label":"k00", "x":0, "y":1.5}, - {"label":"k01", "x":2, "y":1.5}, - {"label":"k02", "x":3, "y":1.5}, - {"label":"k03", "x":4, "y":1.5}, - {"label":"k04", "x":5, "y":1.5}, - {"label":"k05", "x":6.5, "y":1.5}, - {"label":"k06", "x":7.5, "y":1.5}, - {"label":"k07", "x":8.5, "y":1.5}, - {"label":"k08", "x":9.5, "y":1.5}, - {"label":"k09", "x":11, "y":1.5}, - {"label":"k0B", "x":12, "y":1.5}, - {"label":"k0B", "x":13, "y":1.5}, - {"label":"k0C", "x":14, "y":1.5}, - - {"label":"k10", "x":0, "y":2.75}, - {"label":"k11", "x":1, "y":2.75}, - {"label":"k12", "x":2, "y":2.75}, - {"label":"k13", "x":3, "y":2.75}, - {"label":"k14", "x":4, "y":2.75}, - {"label":"k15", "x":5, "y":2.75}, - {"label":"k16", "x":6, "y":2.75}, - {"label":"k17", "x":7, "y":2.75}, - {"label":"k18", "x":8, "y":2.75}, - {"label":"k19", "x":9, "y":2.75}, - {"label":"k1B", "x":10, "y":2.75}, - {"label":"k1B", "x":11, "y":2.75}, - {"label":"k1C", "x":12, "y":2.75}, - {"label":"k1D", "x":13, "y":2.75}, - {"label":"k1E", "x":14, "y":2.75}, - {"label":"k1F", "x":15.25, "y":2.75}, - {"label":"k1G", "x":16.25, "y":2.75}, - {"label":"k1H", "x":17.25, "y":2.75}, - - {"label":"k20", "x":0, "y":3.75, "w":1.5}, - {"label":"k21", "x":1.5, "y":3.75}, - {"label":"k22", "x":2.5, "y":3.75}, - {"label":"k23", "x":3.5, "y":3.75}, - {"label":"k24", "x":4.5, "y":3.75}, - {"label":"k25", "x":5.5, "y":3.75}, - {"label":"k26", "x":6.5, "y":3.75}, - {"label":"k27", "x":7.5, "y":3.75}, - {"label":"k28", "x":8.5, "y":3.75}, - {"label":"k29", "x":9.5, "y":3.75}, - {"label":"k2A", "x":10.5, "y":3.75}, - {"label":"k2B", "x":11.5, "y":3.75}, - {"label":"k2C", "x":12.5, "y":3.75}, - {"label":"k2D", "x":13.5, "y":3.75, "w":1.5}, - {"label":"k2F", "x":15.25, "y":3.75}, - {"label":"k2G", "x":16.25, "y":3.75}, - {"label":"k2H", "x":17.25, "y":3.75}, - - {"label":"k30", "x":0, "y":4.75, "w":1.75}, - {"label":"k31", "x":1.75, "y":4.75}, - {"label":"k32", "x":2.75, "y":4.75}, - {"label":"k33", "x":3.75, "y":4.75}, - {"label":"k34", "x":4.75, "y":4.75}, - {"label":"k35", "x":5.75, "y":4.75}, - {"label":"k36", "x":6.75, "y":4.75}, - {"label":"k37", "x":7.75, "y":4.75}, - {"label":"k38", "x":8.75, "y":4.75}, - {"label":"k39", "x":9.75, "y":4.75}, - {"label":"k3A", "x":10.75, "y":4.75}, - {"label":"k3B", "x":11.75, "y":4.75}, - {"label":"k3C", "x":12.75, "y":4.75}, - {"label":"k3D", "x":13.75, "y":4.75, "w":1.25}, - - {"label":"k40", "x":0, "y":5.75, "w":1.25}, - {"label":"k41", "x":1.25, "y":5.75}, - {"label":"k42", "x":2.25, "y":5.75}, - {"label":"k43", "x":3.25, "y":5.75}, - {"label":"k44", "x":4.25, "y":5.75}, - {"label":"k45", "x":5.25, "y":5.75}, - {"label":"k46", "x":6.25, "y":5.75}, - {"label":"k47", "x":7.25, "y":5.75}, - {"label":"k48", "x":8.25, "y":5.75}, - {"label":"k49", "x":9.25, "y":5.75}, - {"label":"k4A", "x":10.25, "y":5.75}, - {"label":"k4B", "x":11.25, "y":5.75}, - {"label":"k4C", "x":12.25, "y":5.75, "w":1.75}, - {"label":"k4D", "x":14, "y":5.75}, - {"label":"k4G", "x":16.25, "y":5.75}, - - {"label":"k50", "x":0, "y":6.75, "w":1.25}, - {"label":"k51", "x":1.25, "y":6.75, "w":1.25}, - {"label":"k52", "x":2.5, "y":6.75, "w":1.25}, - {"label":"k56", "x":3.75, "y":6.75, "w":6.25}, - {"label":"k59", "x":10, "y":6.75, "w":1.25}, - {"label":"k5A", "x":11.25, "y":6.75, "w":1.25}, - {"label":"k5B", "x":12.5, "y":6.75, "w":1.25}, - {"label":"k5C", "x":13.75, "y":6.75, "w":1.25}, - {"label":"k5F", "x":15.25, "y":6.75}, - {"label":"k5G", "x":16.25, "y":6.75}, - {"label":"k5H", "x":17.25, "y":6.75} + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Delete", "matrix": [1, 13], "x": 13, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 14, "y": 2.75}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + {"label": "\\", "matrix": [2, 13], "x": 13.5, "y": 3.75, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "#", "matrix": [3, 12], "x": 12.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 4.75, "w": 1.25}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 1.25}, + {"label": "\\", "matrix": [4, 1], "x": 1.25, "y": 5.75}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 1.75}, + {"label": "Fn", "matrix": [4, 13], "x": 14, "y": 5.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 1], "x": 1.25, "y": 6.75, "w": 1.25}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.25}, + {"label": "Space", "matrix": [5, 6], "x": 3.75, "y": 6.75, "w": 6.25}, + {"label": "Alt", "matrix": [5, 9], "x": 10, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 10], "x": 11.25, "y": 6.75, "w": 1.25}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75, "w": 1.25}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.75, "y": 6.75, "w": 1.25}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_ansi": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 13, "y": 2.75, "w": 2}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + {"label": "\\", "matrix": [2, 13], "x": 13.5, "y": 3.75, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 4.75, "w": 2.25}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 2.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 2.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 1], "x": 1.25, "y": 6.75, "w": 1.25}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.25}, + {"label": "Space", "matrix": [5, 6], "x": 3.75, "y": 6.75, "w": 6.25}, + {"label": "Alt", "matrix": [5, 9], "x": 10, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 10], "x": 11.25, "y": 6.75, "w": 1.25}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75, "w": 1.25}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.75, "y": 6.75, "w": 1.25}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_ansi_split_bs_rshift": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Delete", "matrix": [1, 13], "x": 13, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 14, "y": 2.75}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + {"label": "\\", "matrix": [2, 13], "x": 13.5, "y": 3.75, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 4.75, "w": 2.25}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 2.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 1.75}, + {"label": "Fn", "matrix": [4, 13], "x": 14, "y": 5.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 1], "x": 1.25, "y": 6.75, "w": 1.25}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.25}, + {"label": "Space", "matrix": [5, 6], "x": 3.75, "y": 6.75, "w": 6.25}, + {"label": "Alt", "matrix": [5, 9], "x": 10, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 10], "x": 11.25, "y": 6.75, "w": 1.25}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75, "w": 1.25}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.75, "y": 6.75, "w": 1.25}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_ansi_tsangan": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 13, "y": 2.75, "w": 2}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + {"label": "\\", "matrix": [2, 13], "x": 13.5, "y": 3.75, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 4.75, "w": 2.25}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 2.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 2.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "GUI", "matrix": [5, 1], "x": 1.5, "y": 6.75}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_ansi_tsangan_split_bs_rshift": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Delete", "matrix": [1, 13], "x": 13, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 14, "y": 2.75}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + {"label": "\\", "matrix": [2, 13], "x": 13.5, "y": 3.75, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 4.75, "w": 2.25}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 2.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 1.75}, + {"label": "Fn", "matrix": [4, 13], "x": 14, "y": 5.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "GUI", "matrix": [5, 1], "x": 1.5, "y": 6.75}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_ansi_wkl": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 13, "y": 2.75, "w": 2}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + {"label": "\\", "matrix": [2, 13], "x": 13.5, "y": 3.75, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 4.75, "w": 2.25}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 2.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 2.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_ansi_wkl_split_bs_rshift": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Delete", "matrix": [1, 13], "x": 13, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 14, "y": 2.75}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + {"label": "\\", "matrix": [2, 13], "x": 13.5, "y": 3.75, "w": 1.5}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 12.75, "y": 4.75, "w": 2.25}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 2.25}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 1.75}, + {"label": "Fn", "matrix": [4, 13], "x": 14, "y": 5.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_iso": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 13, "y": 2.75, "w": 2}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "#", "matrix": [3, 12], "x": 12.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.75, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 1.25}, + {"label": "\\", "matrix": [4, 1], "x": 1.25, "y": 5.75}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 2.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 1], "x": 1.25, "y": 6.75, "w": 1.25}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.25}, + {"label": "Space", "matrix": [5, 6], "x": 3.75, "y": 6.75, "w": 6.25}, + {"label": "Alt", "matrix": [5, 9], "x": 10, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 10], "x": 11.25, "y": 6.75, "w": 1.25}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75, "w": 1.25}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.75, "y": 6.75, "w": 1.25}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_iso_split_bs_rshift": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Delete", "matrix": [1, 13], "x": 13, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 14, "y": 2.75}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "#", "matrix": [3, 12], "x": 12.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.75, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 1.25}, + {"label": "\\", "matrix": [4, 1], "x": 1.25, "y": 5.75}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 1.75}, + {"label": "Fn", "matrix": [4, 13], "x": 14, "y": 5.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 1], "x": 1.25, "y": 6.75, "w": 1.25}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.25}, + {"label": "Space", "matrix": [5, 6], "x": 3.75, "y": 6.75, "w": 6.25}, + {"label": "Alt", "matrix": [5, 9], "x": 10, "y": 6.75, "w": 1.25}, + {"label": "GUI", "matrix": [5, 10], "x": 11.25, "y": 6.75, "w": 1.25}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75, "w": 1.25}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.75, "y": 6.75, "w": 1.25}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_iso_tsangan": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 13, "y": 2.75, "w": 2}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "#", "matrix": [3, 12], "x": 12.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.75, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 1.25}, + {"label": "\\", "matrix": [4, 1], "x": 1.25, "y": 5.75}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 2.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "GUI", "matrix": [5, 1], "x": 1.5, "y": 6.75}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_iso_tsangan_split_bs_rshift": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Delete", "matrix": [1, 13], "x": 13, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 14, "y": 2.75}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "#", "matrix": [3, 12], "x": 12.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.75, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 1.25}, + {"label": "\\", "matrix": [4, 1], "x": 1.25, "y": 5.75}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 1.75}, + {"label": "Fn", "matrix": [4, 13], "x": 14, "y": 5.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "GUI", "matrix": [5, 1], "x": 1.5, "y": 6.75}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Fn", "matrix": [5, 11], "x": 12.5, "y": 6.75}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_iso_wkl": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 13, "y": 2.75, "w": 2}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "#", "matrix": [3, 12], "x": 12.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.75, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 1.25}, + {"label": "\\", "matrix": [4, 1], "x": 1.25, "y": 5.75}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 2.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} + ] + }, + "LAYOUT_iso_wkl_split_bs_rshift": { + "layout": [ + {"label": "Play/Pause", "matrix": [4, 15], "x": 3, "y": 0}, + + {"label": "Esc", "matrix": [0, 0], "x": 0, "y": 1.5}, + + {"label": "F1", "matrix": [0, 1], "x": 2, "y": 1.5}, + {"label": "F2", "matrix": [0, 2], "x": 3, "y": 1.5}, + {"label": "F3", "matrix": [0, 3], "x": 4, "y": 1.5}, + {"label": "F4", "matrix": [0, 4], "x": 5, "y": 1.5}, + + {"label": "F5", "matrix": [0, 5], "x": 6.5, "y": 1.5}, + {"label": "F6", "matrix": [0, 6], "x": 7.5, "y": 1.5}, + {"label": "F7", "matrix": [0, 7], "x": 8.5, "y": 1.5}, + {"label": "F8", "matrix": [0, 8], "x": 9.5, "y": 1.5}, + + {"label": "F9", "matrix": [0, 9], "x": 11, "y": 1.5}, + {"label": "F10", "matrix": [0, 10], "x": 12, "y": 1.5}, + {"label": "F11", "matrix": [0, 11], "x": 13, "y": 1.5}, + {"label": "F12", "matrix": [0, 12], "x": 14, "y": 1.5}, + + {"label": "`", "matrix": [1, 0], "x": 0, "y": 2.75}, + {"label": "1", "matrix": [1, 1], "x": 1, "y": 2.75}, + {"label": "2", "matrix": [1, 2], "x": 2, "y": 2.75}, + {"label": "3", "matrix": [1, 3], "x": 3, "y": 2.75}, + {"label": "4", "matrix": [1, 4], "x": 4, "y": 2.75}, + {"label": "5", "matrix": [1, 5], "x": 5, "y": 2.75}, + {"label": "6", "matrix": [1, 6], "x": 6, "y": 2.75}, + {"label": "7", "matrix": [1, 7], "x": 7, "y": 2.75}, + {"label": "8", "matrix": [1, 8], "x": 8, "y": 2.75}, + {"label": "9", "matrix": [1, 9], "x": 9, "y": 2.75}, + {"label": "0", "matrix": [1, 10], "x": 10, "y": 2.75}, + {"label": "-", "matrix": [1, 11], "x": 11, "y": 2.75}, + {"label": "=", "matrix": [1, 12], "x": 12, "y": 2.75}, + {"label": "Delete", "matrix": [1, 13], "x": 13, "y": 2.75}, + {"label": "Backspace", "matrix": [1, 14], "x": 14, "y": 2.75}, + + {"label": "Insert", "matrix": [1, 15], "x": 15.25, "y": 2.75}, + {"label": "Home", "matrix": [1, 16], "x": 16.25, "y": 2.75}, + {"label": "Page Up", "matrix": [1, 17], "x": 17.25, "y": 2.75}, + + {"label": "Tab", "matrix": [2, 0], "x": 0, "y": 3.75, "w": 1.5}, + {"label": "Q", "matrix": [2, 1], "x": 1.5, "y": 3.75}, + {"label": "W", "matrix": [2, 2], "x": 2.5, "y": 3.75}, + {"label": "E", "matrix": [2, 3], "x": 3.5, "y": 3.75}, + {"label": "R", "matrix": [2, 4], "x": 4.5, "y": 3.75}, + {"label": "T", "matrix": [2, 5], "x": 5.5, "y": 3.75}, + {"label": "Y", "matrix": [2, 6], "x": 6.5, "y": 3.75}, + {"label": "U", "matrix": [2, 7], "x": 7.5, "y": 3.75}, + {"label": "I", "matrix": [2, 8], "x": 8.5, "y": 3.75}, + {"label": "O", "matrix": [2, 9], "x": 9.5, "y": 3.75}, + {"label": "P", "matrix": [2, 10], "x": 10.5, "y": 3.75}, + {"label": "[", "matrix": [2, 11], "x": 11.5, "y": 3.75}, + {"label": "]", "matrix": [2, 12], "x": 12.5, "y": 3.75}, + + {"label": "Delete", "matrix": [2, 15], "x": 15.25, "y": 3.75}, + {"label": "End", "matrix": [2, 16], "x": 16.25, "y": 3.75}, + {"label": "Page Down", "matrix": [2, 17], "x": 17.25, "y": 3.75}, + + {"label": "Caps Lock", "matrix": [3, 0], "x": 0, "y": 4.75, "w": 1.75}, + {"label": "A", "matrix": [3, 1], "x": 1.75, "y": 4.75}, + {"label": "S", "matrix": [3, 2], "x": 2.75, "y": 4.75}, + {"label": "D", "matrix": [3, 3], "x": 3.75, "y": 4.75}, + {"label": "F", "matrix": [3, 4], "x": 4.75, "y": 4.75}, + {"label": "G", "matrix": [3, 5], "x": 5.75, "y": 4.75}, + {"label": "H", "matrix": [3, 6], "x": 6.75, "y": 4.75}, + {"label": "J", "matrix": [3, 7], "x": 7.75, "y": 4.75}, + {"label": "K", "matrix": [3, 8], "x": 8.75, "y": 4.75}, + {"label": "L", "matrix": [3, 9], "x": 9.75, "y": 4.75}, + {"label": ";", "matrix": [3, 10], "x": 10.75, "y": 4.75}, + {"label": "'", "matrix": [3, 11], "x": 11.75, "y": 4.75}, + {"label": "#", "matrix": [3, 12], "x": 12.75, "y": 4.75}, + {"label": "Enter", "matrix": [3, 13], "x": 13.75, "y": 3.75, "w": 1.25, "h": 2}, + + {"label": "Shift", "matrix": [4, 0], "x": 0, "y": 5.75, "w": 1.25}, + {"label": "\\", "matrix": [4, 1], "x": 1.25, "y": 5.75}, + {"label": "Z", "matrix": [4, 2], "x": 2.25, "y": 5.75}, + {"label": "X", "matrix": [4, 3], "x": 3.25, "y": 5.75}, + {"label": "C", "matrix": [4, 4], "x": 4.25, "y": 5.75}, + {"label": "V", "matrix": [4, 5], "x": 5.25, "y": 5.75}, + {"label": "B", "matrix": [4, 6], "x": 6.25, "y": 5.75}, + {"label": "N", "matrix": [4, 7], "x": 7.25, "y": 5.75}, + {"label": "M", "matrix": [4, 8], "x": 8.25, "y": 5.75}, + {"label": ",", "matrix": [4, 9], "x": 9.25, "y": 5.75}, + {"label": ".", "matrix": [4, 10], "x": 10.25, "y": 5.75}, + {"label": "/", "matrix": [4, 11], "x": 11.25, "y": 5.75}, + {"label": "Shift", "matrix": [4, 12], "x": 12.25, "y": 5.75, "w": 1.75}, + {"label": "Fn", "matrix": [4, 13], "x": 14, "y": 5.75}, + + {"label": "\u2191", "matrix": [4, 16], "x": 16.25, "y": 5.75}, + + {"label": "Ctrl", "matrix": [5, 0], "x": 0, "y": 6.75, "w": 1.5}, + {"label": "Alt", "matrix": [5, 2], "x": 2.5, "y": 6.75, "w": 1.5}, + {"label": "Space", "matrix": [5, 6], "x": 4, "y": 6.75, "w": 7}, + {"label": "Alt", "matrix": [5, 10], "x": 11, "y": 6.75, "w": 1.5}, + {"label": "Ctrl", "matrix": [5, 12], "x": 13.5, "y": 6.75, "w": 1.5}, + + {"label": "\u2190", "matrix": [5, 15], "x": 15.25, "y": 6.75}, + {"label": "\u2193", "matrix": [5, 16], "x": 16.25, "y": 6.75}, + {"label": "\u2192", "matrix": [5, 17], "x": 17.25, "y": 6.75} ] } } diff --git a/keyboards/pearlboards/zeus/matrix_diagram.md b/keyboards/pearlboards/zeus/matrix_diagram.md new file mode 100644 index 0000000000..4ff3efca27 --- /dev/null +++ b/keyboards/pearlboards/zeus/matrix_diagram.md @@ -0,0 +1,30 @@ +# Matrix Diagram for Pearl Boards Zeus + +``` + ┌───┐ + │4F │ Rotary Encoder + └───┘ +┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ +│00 │ │01 │02 │03 │04 │ │05 │06 │07 │08 │ │09 │0A │0B │0C │ +└───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ +┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐┌───┬───┬───┐ ┌───────┐ +│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E ││1F │1G │1H │ │1E │ 2u Backspace +├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤├───┼───┼───┤ └─┬─────┤ +│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D ││2F │2G │2H │ │ │ +├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤└───┴───┴───┘ ┌──┴┐3D │ ISO Enter +│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3D │ │3C │ │ +├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ ┌───┐ └───┴────┘ +│40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4B │4C │4D │ │4G │ +├────┼───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬────┬┴───┤┌───┼───┼───┐ +│50 │51 │52 │56 │59 │5A │5B │5C ││5F │5G │5H │ +└────┴────┴────┴────────────────────────┴────┴────┴────┴────┘└───┴───┴───┘ +┌────────┐ ┌──────────┐ +│40 │ 2.25u LShift 2.75u RShift │4C │ +└────────┘ └──────────┘ +┌─────┬───┬─────┬───────────────────────────┬─────┬───┬─────┐ +│50 │51 │52 │56 │5A │5B │5C │ Tsangan/WKL +└─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ +┌─────┬───┬───────────────────────────────────────┬───┬─────┐ +│50 │51 │56 │5B │5C │ 10u Spacebar +└─────┴───┴───────────────────────────────────────┴───┴─────┘ +``` diff --git a/keyboards/pearlboards/zeus/zeus.c b/keyboards/pearlboards/zeus/zeus.c deleted file mode 100644 index cdb8d6125d..0000000000 --- a/keyboards/pearlboards/zeus/zeus.c +++ /dev/null @@ -1,34 +0,0 @@ -/* Copyright 2021 Koobaczech - * - * 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 "zeus.h" - -// Encoder rotate function -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } /* First encoder */ - if (index == 0) { - if (clockwise) { - tap_code(KC_AUDIO_VOL_UP); - } else { - tap_code(KC_AUDIO_VOL_DOWN); - } - } - return true; -} -#endif diff --git a/keyboards/pearlboards/zeus/zeus.h b/keyboards/pearlboards/zeus/zeus.h deleted file mode 100644 index 7bffbf2a90..0000000000 --- a/keyboards/pearlboards/zeus/zeus.h +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2021 Koobaczech - * - * 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/>. - */ - -/* - * This layout covers all of the possible build layouts. Also, any - * built layouts will work without having to change anything. -*/ - -#pragma once - -#include "quantum.h" - -#define LAYOUT_all( \ - k4f, \ - k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, \ - k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2f, k2g, k2h, \ - k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ - k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, k4g, \ - k50, k51, k52, k56, k59, k5a, k5b, k5c, k5f, k5g, k5h \ -) { \ - { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, \ - { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO, k2f, k2g, k2h }, \ - { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, KC_NO, KC_NO, KC_NO, KC_NO}, \ - { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, KC_NO, k4f, k4g, KC_NO}, \ - { k50, k51, k52, KC_NO, KC_NO, KC_NO, k56, KC_NO, KC_NO, k59, k5a, k5b, k5c, KC_NO, KC_NO, k5f, k5g, k5h } \ -} diff --git a/keyboards/pearlboards/zeuspad/config.h b/keyboards/pearlboards/zeuspad/config.h index f61e11fca9..205cad6e32 100644 --- a/keyboards/pearlboards/zeuspad/config.h +++ b/keyboards/pearlboards/zeuspad/config.h @@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { D2, D3, D5, F7, F4, F1 } -#define MATRIX_COL_PINS { B0, F0, F5, F6 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - /* OLED Settings */ #define OLED_TIMEOUT 120000 #define OLED_FADE_OUT @@ -43,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /*== all animations enabled ==*/ /* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */ -#define RGB_DI_PIN B7 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS @@ -59,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_SLEEP -#endif /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/pearlboards/zeuspad/info.json b/keyboards/pearlboards/zeuspad/info.json index 3258e758a8..9bd5a1a99a 100644 --- a/keyboards/pearlboards/zeuspad/info.json +++ b/keyboards/pearlboards/zeuspad/info.json @@ -8,46 +8,54 @@ "pid": "0x6967", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B0", "F0", "F5", "F6"], + "rows": ["D2", "D3", "D5", "F7", "F4", "F1"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "D6", "pin_b": "D4", "resolution": 1} ] }, + "ws2812": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "debounce": 0, "layouts": { "LAYOUT_all": { "layout": [ - {"label":"k00", "x":0, "y":0}, - {"label":"k01", "x":1, "y":0}, - {"label":"k02", "x":2, "y":0}, - {"label":"k03", "x":3, "y":0}, + {"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}, - {"label":"k10", "x":0, "y":1.25}, - {"label":"k11", "x":1, "y":1.25}, - {"label":"k12", "x":2, "y":1.25}, - {"label":"k13", "x":3, "y":1.25}, + {"matrix": [1, 0], "x": 0, "y": 1.25}, + {"matrix": [1, 1], "x": 1, "y": 1.25}, + {"matrix": [1, 2], "x": 2, "y": 1.25}, + {"matrix": [1, 3], "x": 3, "y": 1.25}, - {"label":"k20", "x":0, "y":2.25}, - {"label":"k21", "x":1, "y":2.25}, - {"label":"k22", "x":2, "y":2.25}, - {"label":"k23", "x":3, "y":2.25}, + {"matrix": [2, 0], "x": 0, "y": 2.25}, + {"matrix": [2, 1], "x": 1, "y": 2.25}, + {"matrix": [2, 2], "x": 2, "y": 2.25}, + {"matrix": [2, 3], "x": 3, "y": 2.25}, - {"label":"k30", "x":0, "y":3.25}, - {"label":"k31", "x":1, "y":3.25}, - {"label":"k32", "x":2, "y":3.25}, - {"label":"k33", "x":3, "y":3.25}, + {"matrix": [3, 0], "x": 0, "y": 3.25}, + {"matrix": [3, 1], "x": 1, "y": 3.25}, + {"matrix": [3, 2], "x": 2, "y": 3.25}, + {"matrix": [3, 3], "x": 3, "y": 3.25}, - {"label":"k40", "x":0, "y":4.25}, - {"label":"k41", "x":1, "y":4.25}, - {"label":"k42", "x":2, "y":4.25}, - {"label":"k43", "x":3, "y":4.25}, + {"matrix": [4, 0], "x": 0, "y": 4.25}, + {"matrix": [4, 1], "x": 1, "y": 4.25}, + {"matrix": [4, 2], "x": 2, "y": 4.25}, + {"matrix": [4, 3], "x": 3, "y": 4.25}, - {"label":"k50", "x":0, "y":5.25}, - {"label":"k51", "x":1, "y":5.25}, - {"label":"k52", "x":2, "y":5.25}, - {"label":"k53", "x":3, "y":5.25} + {"matrix": [5, 0], "x": 0, "y": 5.25}, + {"matrix": [5, 1], "x": 1, "y": 5.25}, + {"matrix": [5, 2], "x": 2, "y": 5.25}, + {"matrix": [5, 3], "x": 3, "y": 5.25} ] } } diff --git a/keyboards/pearlboards/zeuspad/zeuspad.c b/keyboards/pearlboards/zeuspad/zeuspad.c index 3f7367fb49..c618289912 100644 --- a/keyboards/pearlboards/zeuspad/zeuspad.c +++ b/keyboards/pearlboards/zeuspad/zeuspad.c @@ -14,25 +14,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "zeuspad.h" - -// Encoder rotate function -#ifdef ENCODER_ENABLE -bool encoder_update_kb(uint8_t index, bool clockwise) { - if (!encoder_update_user(index, clockwise)) { - return false; - } - /* First encoder */ - if (index == 0) { - if (clockwise) { - tap_code_delay(KC_AUDIO_VOL_UP, 10); - } else { - tap_code_delay(KC_AUDIO_VOL_DOWN, 10); - } - } - return true; -} -#endif +#include "quantum.h" // 21 characters max #ifdef OLED_ENABLE diff --git a/keyboards/pearlboards/zeuspad/zeuspad.h b/keyboards/pearlboards/zeuspad/zeuspad.h deleted file mode 100644 index ea52fd81cd..0000000000 --- a/keyboards/pearlboards/zeuspad/zeuspad.h +++ /dev/null @@ -1,40 +0,0 @@ -/* Copyright 2021 Koobaczech - * - * 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/>. - */ - -/* - * This layout covers all of the possible build layouts. Also, any - * built layouts will work without having to change anything. -*/ - -#pragma once - -#include "quantum.h" - -#define LAYOUT_all( \ - k00, k01, k02, k03, \ - k10, k11, k12, k13, \ - k20, k21, k22, k23, \ - k30, k31, k32, k33, \ - k40, k41, k42, k43, \ - k50, k51, k52, k53 \ -) { \ - { k00, k01, k02, k03}, \ - { k10, k11, k12, k13}, \ - { k20, k21, k22, k23}, \ - { k30, k31, k32, k33}, \ - { k40, k41, k42, k43}, \ - { k50, k51, k52, k53} \ -} |