diff options
Diffstat (limited to 'keyboards/idobao/id80/v2')
-rw-r--r-- | keyboards/idobao/id80/v2/ansi/info.json | 160 | ||||
-rw-r--r-- | keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h | 1 | ||||
-rw-r--r-- | keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/idobao/id80/v2/config.h | 34 | ||||
-rw-r--r-- | keyboards/idobao/id80/v2/info.json | 8 | ||||
-rw-r--r-- | keyboards/idobao/id80/v2/iso/info.json | 162 |
6 files changed, 171 insertions, 198 deletions
diff --git a/keyboards/idobao/id80/v2/ansi/info.json b/keyboards/idobao/id80/v2/ansi/info.json index 0e19a2b10b..5a78220ee2 100644 --- a/keyboards/idobao/id80/v2/ansi/info.json +++ b/keyboards/idobao/id80/v2/ansi/info.json @@ -6,91 +6,91 @@ "layouts": { "LAYOUT_ansi": { "layout": [ - {"label":"Esc", "matrix":[0, 5], "x":0, "y":0}, - {"label":"F1", "matrix":[1, 5], "x":1.25, "y":0}, - {"label":"F2", "matrix":[2, 5], "x":2.25, "y":0}, - {"label":"F3", "matrix":[3, 5], "x":3.25, "y":0}, - {"label":"F4", "matrix":[4, 5], "x":4.25, "y":0}, - {"label":"F5", "matrix":[5, 5], "x":5.5, "y":0}, - {"label":"F6", "matrix":[6, 5], "x":6.5, "y":0}, - {"label":"F7", "matrix":[7, 5], "x":7.5, "y":0}, - {"label":"F8", "matrix":[8, 5], "x":8.5, "y":0}, - {"label":"F9", "matrix":[7, 10], "x":9.75, "y":0}, - {"label":"F10", "matrix":[5, 10], "x":10.75, "y":0}, - {"label":"F11", "matrix":[4, 10], "x":11.75, "y":0}, - {"label":"F12", "matrix":[3, 10], "x":12.75, "y":0}, - {"label":"Fn", "matrix":[6, 10], "x":14, "y":0}, - {"label":"Insert", "matrix":[2, 10], "x":15.25, "y":0}, + {"label": "Esc", "matrix": [0, 5], "x": 0, "y": 0}, + {"label": "F1", "matrix": [1, 5], "x": 1.25, "y": 0}, + {"label": "F2", "matrix": [2, 5], "x": 2.25, "y": 0}, + {"label": "F3", "matrix": [3, 5], "x": 3.25, "y": 0}, + {"label": "F4", "matrix": [4, 5], "x": 4.25, "y": 0}, + {"label": "F5", "matrix": [5, 5], "x": 5.5, "y": 0}, + {"label": "F6", "matrix": [6, 5], "x": 6.5, "y": 0}, + {"label": "F7", "matrix": [7, 5], "x": 7.5, "y": 0}, + {"label": "F8", "matrix": [8, 5], "x": 8.5, "y": 0}, + {"label": "F9", "matrix": [7, 10], "x": 9.75, "y": 0}, + {"label": "F10", "matrix": [5, 10], "x": 10.75, "y": 0}, + {"label": "F11", "matrix": [4, 10], "x": 11.75, "y": 0}, + {"label": "F12", "matrix": [3, 10], "x": 12.75, "y": 0}, + {"label": "Fn", "matrix": [6, 10], "x": 14, "y": 0}, + {"label": "Insert", "matrix": [2, 10], "x": 15.25, "y": 0}, - {"label":"`", "matrix":[0, 4], "x":0, "y":1.25}, - {"label":"1", "matrix":[1, 4], "x":1, "y":1.25}, - {"label":"2", "matrix":[2, 4], "x":2, "y":1.25}, - {"label":"3", "matrix":[3, 4], "x":3, "y":1.25}, - {"label":"4", "matrix":[4, 4], "x":4, "y":1.25}, - {"label":"5", "matrix":[5, 4], "x":5, "y":1.25}, - {"label":"6", "matrix":[6, 4], "x":6, "y":1.25}, - {"label":"7", "matrix":[7, 4], "x":7, "y":1.25}, - {"label":"8", "matrix":[8, 4], "x":8, "y":1.25}, - {"label":"9", "matrix":[8, 9], "x":9, "y":1.25}, - {"label":"0", "matrix":[7, 9], "x":10, "y":1.25}, - {"label":"-", "matrix":[5, 9], "x":11, "y":1.25}, - {"label":"=", "matrix":[4, 9], "x":12, "y":1.25}, - {"label":"Backspace", "matrix":[6, 9], "x":13, "y":1.25, "w":2}, - {"label":"Home", "matrix":[2, 9], "x":15.25, "y":1.25}, + {"label": "`", "matrix": [0, 4], "x": 0, "y": 1.25}, + {"label": "1", "matrix": [1, 4], "x": 1, "y": 1.25}, + {"label": "2", "matrix": [2, 4], "x": 2, "y": 1.25}, + {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.25}, + {"label": "4", "matrix": [4, 4], "x": 4, "y": 1.25}, + {"label": "5", "matrix": [5, 4], "x": 5, "y": 1.25}, + {"label": "6", "matrix": [6, 4], "x": 6, "y": 1.25}, + {"label": "7", "matrix": [7, 4], "x": 7, "y": 1.25}, + {"label": "8", "matrix": [8, 4], "x": 8, "y": 1.25}, + {"label": "9", "matrix": [8, 9], "x": 9, "y": 1.25}, + {"label": "0", "matrix": [7, 9], "x": 10, "y": 1.25}, + {"label": "-", "matrix": [5, 9], "x": 11, "y": 1.25}, + {"label": "=", "matrix": [4, 9], "x": 12, "y": 1.25}, + {"label": "Backspace", "matrix": [6, 9], "x": 13, "y": 1.25, "w": 2}, + {"label": "Home", "matrix": [2, 9], "x": 15.25, "y": 1.25}, - {"label":"Tab", "matrix":[0, 3], "x":0, "y":2.2, "w":1.55}, - {"label":"Q", "matrix":[1, 3], "x":1.5, "y":2.25}, - {"label":"W", "matrix":[2, 3], "x":2.5, "y":2.25}, - {"label":"E", "matrix":[3, 3], "x":3.5, "y":2.25}, - {"label":"R", "matrix":[4, 3], "x":4.5, "y":2.25}, - {"label":"T", "matrix":[5, 3], "x":5.5, "y":2.25}, - {"label":"Y", "matrix":[6, 3], "x":6.5, "y":2.25}, - {"label":"U", "matrix":[7, 3], "x":7.5, "y":2.25}, - {"label":"I", "matrix":[8, 3], "x":8.5, "y":2.25}, - {"label":"O", "matrix":[8, 8], "x":9.5, "y":2.25}, - {"label":"P", "matrix":[7, 8], "x":10.5, "y":2.25}, - {"label":"[", "matrix":[5, 8], "x":11.5, "y":2.25}, - {"label":"]", "matrix":[4, 8], "x":12.5, "y":2.25}, - {"label":"\\", "matrix":[3, 8], "x":13.5, "y":2.25, "w":1.5}, - {"label":"Delete", "matrix":[2, 8], "x":15.25, "y":2.25}, + {"label": "Tab", "matrix": [0, 3], "x": 0, "y": 2.2, "w": 1.55}, + {"label": "Q", "matrix": [1, 3], "x": 1.5, "y": 2.25}, + {"label": "W", "matrix": [2, 3], "x": 2.5, "y": 2.25}, + {"label": "E", "matrix": [3, 3], "x": 3.5, "y": 2.25}, + {"label": "R", "matrix": [4, 3], "x": 4.5, "y": 2.25}, + {"label": "T", "matrix": [5, 3], "x": 5.5, "y": 2.25}, + {"label": "Y", "matrix": [6, 3], "x": 6.5, "y": 2.25}, + {"label": "U", "matrix": [7, 3], "x": 7.5, "y": 2.25}, + {"label": "I", "matrix": [8, 3], "x": 8.5, "y": 2.25}, + {"label": "O", "matrix": [8, 8], "x": 9.5, "y": 2.25}, + {"label": "P", "matrix": [7, 8], "x": 10.5, "y": 2.25}, + {"label": "[", "matrix": [5, 8], "x": 11.5, "y": 2.25}, + {"label": "]", "matrix": [4, 8], "x": 12.5, "y": 2.25}, + {"label": "\\", "matrix": [3, 8], "x": 13.5, "y": 2.25, "w": 1.5}, + {"label": "Delete", "matrix": [2, 8], "x": 15.25, "y": 2.25}, - {"label":"Caps Lock", "matrix":[0, 2], "x":0, "y":3.25, "w":1.75}, - {"label":"A", "matrix":[1, 2], "x":1.75, "y":3.25}, - {"label":"S", "matrix":[2, 2], "x":2.75, "y":3.25}, - {"label":"D", "matrix":[3, 2], "x":3.75, "y":3.25}, - {"label":"F", "matrix":[4, 2], "x":4.75, "y":3.25}, - {"label":"G", "matrix":[5, 2], "x":5.75, "y":3.25}, - {"label":"H", "matrix":[6, 2], "x":6.75, "y":3.25}, - {"label":"J", "matrix":[7, 2], "x":7.75, "y":3.25}, - {"label":"K", "matrix":[8, 2], "x":8.75, "y":3.25}, - {"label":"L", "matrix":[8, 7], "x":9.75, "y":3.25}, - {"label":";", "matrix":[7, 7], "x":10.75, "y":3.25}, - {"label":"'", "matrix":[5, 7], "x":11.75, "y":3.25}, - {"label":"Enter", "matrix":[4, 7], "x":12.75, "y":3.25 , "w":2.25}, + {"label": "Caps Lock", "matrix": [0, 2], "x": 0, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [1, 2], "x": 1.75, "y": 3.25}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 3.25}, + {"label": "D", "matrix": [3, 2], "x": 3.75, "y": 3.25}, + {"label": "F", "matrix": [4, 2], "x": 4.75, "y": 3.25}, + {"label": "G", "matrix": [5, 2], "x": 5.75, "y": 3.25}, + {"label": "H", "matrix": [6, 2], "x": 6.75, "y": 3.25}, + {"label": "J", "matrix": [7, 2], "x": 7.75, "y": 3.25}, + {"label": "K", "matrix": [8, 2], "x": 8.75, "y": 3.25}, + {"label": "L", "matrix": [8, 7], "x": 9.75, "y": 3.25}, + {"label": ";", "matrix": [7, 7], "x": 10.75, "y": 3.25}, + {"label": "'", "matrix": [5, 7], "x": 11.75, "y": 3.25}, + {"label": "Enter", "matrix": [4, 7], "x": 12.75, "y": 3.25, "w": 2.25}, - {"label":"Shift", "matrix":[0, 1], "x":0, "y":4.25 , "w":2.25}, - {"label":"Z", "matrix":[2, 1], "x":2.25, "y":4.25}, - {"label":"X", "matrix":[3, 1], "x":3.25, "y":4.25}, - {"label":"C", "matrix":[4, 1], "x":4.25, "y":4.25}, - {"label":"V", "matrix":[5, 1], "x":5.25, "y":4.25}, - {"label":"B", "matrix":[6, 1], "x":6.25, "y":4.25}, - {"label":"N", "matrix":[7, 1], "x":7.25, "y":4.25}, - {"label":"M", "matrix":[8, 1], "x":8.25, "y":4.25}, - {"label":",", "matrix":[8, 6], "x":9.25, "y":4.25}, - {"label":".", "matrix":[7, 6], "x":10.25, "y":4.25}, - {"label":"/", "matrix":[5, 6], "x":11.25, "y":4.25}, - {"label":"Shift", "matrix":[4, 6], "x":12.25, "y":4.25 , "w":1.75}, - {"label":"\u2191", "matrix":[3, 6], "x":14.25, "y":4.5}, + {"label": "Shift", "matrix": [0, 1], "x": 0, "y": 4.25, "w": 2.25}, + {"label": "Z", "matrix": [2, 1], "x": 2.25, "y": 4.25}, + {"label": "X", "matrix": [3, 1], "x": 3.25, "y": 4.25}, + {"label": "C", "matrix": [4, 1], "x": 4.25, "y": 4.25}, + {"label": "V", "matrix": [5, 1], "x": 5.25, "y": 4.25}, + {"label": "B", "matrix": [6, 1], "x": 6.25, "y": 4.25}, + {"label": "N", "matrix": [7, 1], "x": 7.25, "y": 4.25}, + {"label": "M", "matrix": [8, 1], "x": 8.25, "y": 4.25}, + {"label": ",", "matrix": [8, 6], "x": 9.25, "y": 4.25}, + {"label": ".", "matrix": [7, 6], "x": 10.25, "y": 4.25}, + {"label": "/", "matrix": [5, 6], "x": 11.25, "y": 4.25}, + {"label": "Shift", "matrix": [4, 6], "x": 12.25, "y": 4.25, "w": 1.75}, + {"label": "\u2191", "matrix": [3, 6], "x": 14.25, "y": 4.5}, - {"label":"Ctrl", "matrix":[0, 0], "x":0, "y":5.25 , "w":1.25}, - {"label":"Win", "matrix":[1, 0], "x":1.25, "y":5.25 , "w":1.25}, - {"label":"Alt", "matrix":[2, 0], "x":2.5, "y":5.25 , "w":1.25}, - {"label":"K06", "matrix":[6, 0], "x":3.75, "y":5.25 , "w":6.25}, - {"label":"Alt", "matrix":[8, 0], "x":10, "y":5.25 , "w":1.5}, - {"label":"Ctrl", "matrix":[7, 0], "x":11.5, "y":5.25 , "w":1.5}, - {"label":"\u2190", "matrix":[5, 0], "x":13.25, "y":5.5}, - {"label":"\u2193", "matrix":[4, 0], "x":14.25, "y":5.5}, - {"label":"\u2192", "matrix":[3, 0], "x":15.25, "y":5.5} + {"label": "Ctrl", "matrix": [0, 0], "x": 0, "y": 5.25, "w": 1.25}, + {"label": "Win", "matrix": [1, 0], "x": 1.25, "y": 5.25, "w": 1.25}, + {"label": "Alt", "matrix": [2, 0], "x": 2.5, "y": 5.25, "w": 1.25}, + {"label": "K06", "matrix": [6, 0], "x": 3.75, "y": 5.25, "w": 6.25}, + {"label": "Alt", "matrix": [8, 0], "x": 10, "y": 5.25, "w": 1.5}, + {"label": "Ctrl", "matrix": [7, 0], "x": 11.5, "y": 5.25, "w": 1.5}, + {"label": "\u2190", "matrix": [5, 0], "x": 13.25, "y": 5.5}, + {"label": "\u2193", "matrix": [4, 0], "x": 14.25, "y": 5.5}, + {"label": "\u2192", "matrix": [3, 0], "x": 15.25, "y": 5.5} ] } } diff --git a/keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h b/keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h index 4f3cc95f30..2a432a5b2e 100644 --- a/keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h +++ b/keyboards/idobao/id80/v2/ansi/keymaps/msf/config.h @@ -20,5 +20,4 @@ */ #pragma once -#define COMBO_COUNT 3 #define COMBO_TERM 200 diff --git a/keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c b/keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c index ae8b42851c..bdcb153413 100644 --- a/keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c +++ b/keyboards/idobao/id80/v2/ansi/keymaps/msf/keymap.c @@ -29,7 +29,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, _______, RGB_TOG, _______, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, NK_TOGG, _______, _______, _______, _______, _______, BL_UP, + _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, NK_TOGG, _______, _______, _______, _______, _______, BL_UP, _______, _______, _______, _______, _______, _______, BL_TOGG, BL_DOWN, BL_STEP ), [2] = LAYOUT_ansi( @@ -52,7 +52,7 @@ const uint16_t PROGMEM slashDown_combo[] = {KC_SLSH, KC_DOWN, COMBO_END}; const uint16_t PROGMEM slashUp_combo[] = {KC_SLSH, KC_UP, COMBO_END}; const uint16_t PROGMEM raltBackspace_combo[] = {KC_RALT, KC_BSPC, COMBO_END}; -combo_t key_combos[COMBO_COUNT] = { +combo_t key_combos[] = { [SLSHDN_PGDN] = COMBO(slashDown_combo, KC_PGDN), [SLSHUP_PGUP] = COMBO(slashUp_combo, KC_PGUP), [RALTBKSPC_DELETE] = COMBO(raltBackspace_combo, KC_DEL), diff --git a/keyboards/idobao/id80/v2/config.h b/keyboards/idobao/id80/v2/config.h index d3eb71dc92..aa409bc487 100644 --- a/keyboards/idobao/id80/v2/config.h +++ b/keyboards/idobao/id80/v2/config.h @@ -17,39 +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) - * - * The matrix description in the vendor-supplied JSON file for kbfirmware.com - * had 9 columns: - * { D0, D1, D2, D3, D5, D4, D6, D7, B4 } - * and 12 rows: - * { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 } - * However, the row 6 was completely empty, and the pin F0 was not actually - * routed anywhere on the PCB, therefore this row was removed to save some - * resources (the EEPROM space for dynamic keymaps is especially scarce). - * - * After doing the above change, the matrix was transposed (rows and columns - * were swapped), because a matrix with the COL2ROW layout can be scanned much - * more efficiently than a matrix with the ROW2COL layout (depending on various - * optimizations, the difference in scan rate can be over 2 times). Because of - * this, the "columns" in the matrix layout now mostly correspond to physical - * rows, and the "rows" have mostly vertical physical orientation. - */ -#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 } -#define MATRIX_COL_PINS { B7, B3, B2, B1, B0, E6, F1, F4, F5, F6, F7 } - -#define DIODE_DIRECTION COL2ROW - -#define RGB_DI_PIN E2 -#ifdef RGB_DI_PIN #define RGBLED_NUM 20 /* 16 underglow LEDs, 4 top LEDs */ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 @@ -67,4 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_SNAKE #define RGBLIGHT_EFFECT_STATIC_GRADIENT #define RGBLIGHT_EFFECT_TWINKLE -#endif diff --git a/keyboards/idobao/id80/v2/info.json b/keyboards/idobao/id80/v2/info.json index 89b64f3951..247c3cb113 100644 --- a/keyboards/idobao/id80/v2/info.json +++ b/keyboards/idobao/id80/v2/info.json @@ -6,10 +6,18 @@ "vid": "0x6964", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B7", "B3", "B2", "B1", "B0", "E6", "F1", "F4", "F5", "F6", "F7"], + "rows": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"] + }, + "diode_direction": "COL2ROW", "backlight": { "pin": "B6", "breathing": true }, + "ws2812": { + "pin": "E2" + }, "indicators": { "caps_lock": "C7", "on_state": 0 diff --git a/keyboards/idobao/id80/v2/iso/info.json b/keyboards/idobao/id80/v2/iso/info.json index b35f559e48..cdaeab4251 100644 --- a/keyboards/idobao/id80/v2/iso/info.json +++ b/keyboards/idobao/id80/v2/iso/info.json @@ -6,92 +6,92 @@ "layouts": { "LAYOUT_iso": { "layout": [ - {"label":"Esc", "matrix":[0, 5], "x":0, "y":0}, - {"label":"F1", "matrix":[1, 5], "x":1.25, "y":0}, - {"label":"F2", "matrix":[2, 5], "x":2.25, "y":0}, - {"label":"F3", "matrix":[3, 5], "x":3.25, "y":0}, - {"label":"F4", "matrix":[4, 5], "x":4.25, "y":0}, - {"label":"F5", "matrix":[5, 5], "x":5.5, "y":0}, - {"label":"F6", "matrix":[6, 5], "x":6.5, "y":0}, - {"label":"F7", "matrix":[7, 5], "x":7.5, "y":0}, - {"label":"F8", "matrix":[8, 5], "x":8.5, "y":0}, - {"label":"F9", "matrix":[7, 10], "x":9.75, "y":0}, - {"label":"F10", "matrix":[5, 10], "x":10.75, "y":0}, - {"label":"F11", "matrix":[4, 10], "x":11.75, "y":0}, - {"label":"F12", "matrix":[3, 10], "x":12.75, "y":0}, - {"label":"Fn", "matrix":[6, 10], "x":14, "y":0}, - {"label":"Insert", "matrix":[2, 10], "x":15.25, "y":0}, + {"label": "Esc", "matrix": [0, 5], "x": 0, "y": 0}, + {"label": "F1", "matrix": [1, 5], "x": 1.25, "y": 0}, + {"label": "F2", "matrix": [2, 5], "x": 2.25, "y": 0}, + {"label": "F3", "matrix": [3, 5], "x": 3.25, "y": 0}, + {"label": "F4", "matrix": [4, 5], "x": 4.25, "y": 0}, + {"label": "F5", "matrix": [5, 5], "x": 5.5, "y": 0}, + {"label": "F6", "matrix": [6, 5], "x": 6.5, "y": 0}, + {"label": "F7", "matrix": [7, 5], "x": 7.5, "y": 0}, + {"label": "F8", "matrix": [8, 5], "x": 8.5, "y": 0}, + {"label": "F9", "matrix": [7, 10], "x": 9.75, "y": 0}, + {"label": "F10", "matrix": [5, 10], "x": 10.75, "y": 0}, + {"label": "F11", "matrix": [4, 10], "x": 11.75, "y": 0}, + {"label": "F12", "matrix": [3, 10], "x": 12.75, "y": 0}, + {"label": "Fn", "matrix": [6, 10], "x": 14, "y": 0}, + {"label": "Insert", "matrix": [2, 10], "x": 15.25, "y": 0}, - {"label":"`", "matrix":[0, 4], "x":0, "y":1.25}, - {"label":"1", "matrix":[1, 4], "x":1, "y":1.25}, - {"label":"2", "matrix":[2, 4], "x":2, "y":1.25}, - {"label":"3", "matrix":[3, 4], "x":3, "y":1.25}, - {"label":"4", "matrix":[4, 4], "x":4, "y":1.25}, - {"label":"5", "matrix":[5, 4], "x":5, "y":1.25}, - {"label":"6", "matrix":[6, 4], "x":6, "y":1.25}, - {"label":"7", "matrix":[7, 4], "x":7, "y":1.25}, - {"label":"8", "matrix":[8, 4], "x":8, "y":1.25}, - {"label":"9", "matrix":[8, 9], "x":9, "y":1.25}, - {"label":"0", "matrix":[7, 9], "x":10, "y":1.25}, - {"label":"-", "matrix":[5, 9], "x":11, "y":1.25}, - {"label":"=", "matrix":[4, 9], "x":12, "y":1.25}, - {"label":"Backspace", "matrix":[6, 9], "x":13, "y":1.25, "w":2}, - {"label":"Home", "matrix":[2, 9], "x":15.25, "y":1.25}, + {"label": "`", "matrix": [0, 4], "x": 0, "y": 1.25}, + {"label": "1", "matrix": [1, 4], "x": 1, "y": 1.25}, + {"label": "2", "matrix": [2, 4], "x": 2, "y": 1.25}, + {"label": "3", "matrix": [3, 4], "x": 3, "y": 1.25}, + {"label": "4", "matrix": [4, 4], "x": 4, "y": 1.25}, + {"label": "5", "matrix": [5, 4], "x": 5, "y": 1.25}, + {"label": "6", "matrix": [6, 4], "x": 6, "y": 1.25}, + {"label": "7", "matrix": [7, 4], "x": 7, "y": 1.25}, + {"label": "8", "matrix": [8, 4], "x": 8, "y": 1.25}, + {"label": "9", "matrix": [8, 9], "x": 9, "y": 1.25}, + {"label": "0", "matrix": [7, 9], "x": 10, "y": 1.25}, + {"label": "-", "matrix": [5, 9], "x": 11, "y": 1.25}, + {"label": "=", "matrix": [4, 9], "x": 12, "y": 1.25}, + {"label": "Backspace", "matrix": [6, 9], "x": 13, "y": 1.25, "w": 2}, + {"label": "Home", "matrix": [2, 9], "x": 15.25, "y": 1.25}, - {"label":"Tab", "matrix":[0, 3], "x":0, "y":2.25, "w":1.5}, - {"label":"Q", "matrix":[1, 3], "x":1.5, "y":2.25}, - {"label":"W", "matrix":[2, 3], "x":2.5, "y":2.25}, - {"label":"E", "matrix":[3, 3], "x":3.5, "y":2.25}, - {"label":"R", "matrix":[4, 3], "x":4.5, "y":2.25}, - {"label":"T", "matrix":[5, 3], "x":5.5, "y":2.25}, - {"label":"Y", "matrix":[6, 3], "x":6.5, "y":2.25}, - {"label":"U", "matrix":[7, 3], "x":7.5, "y":2.25}, - {"label":"I", "matrix":[8, 3], "x":8.5, "y":2.25}, - {"label":"O", "matrix":[8, 8], "x":9.5, "y":2.25}, - {"label":"P", "matrix":[7, 8], "x":10.5, "y":2.25}, - {"label":"[", "matrix":[5, 8], "x":11.5, "y":2.25}, - {"label":"]", "matrix":[4, 8], "x":12.5, "y":2.25}, - {"label":"Delete", "matrix":[2, 8], "x":15.25, "y":2.25}, + {"label": "Tab", "matrix": [0, 3], "x": 0, "y": 2.25, "w": 1.5}, + {"label": "Q", "matrix": [1, 3], "x": 1.5, "y": 2.25}, + {"label": "W", "matrix": [2, 3], "x": 2.5, "y": 2.25}, + {"label": "E", "matrix": [3, 3], "x": 3.5, "y": 2.25}, + {"label": "R", "matrix": [4, 3], "x": 4.5, "y": 2.25}, + {"label": "T", "matrix": [5, 3], "x": 5.5, "y": 2.25}, + {"label": "Y", "matrix": [6, 3], "x": 6.5, "y": 2.25}, + {"label": "U", "matrix": [7, 3], "x": 7.5, "y": 2.25}, + {"label": "I", "matrix": [8, 3], "x": 8.5, "y": 2.25}, + {"label": "O", "matrix": [8, 8], "x": 9.5, "y": 2.25}, + {"label": "P", "matrix": [7, 8], "x": 10.5, "y": 2.25}, + {"label": "[", "matrix": [5, 8], "x": 11.5, "y": 2.25}, + {"label": "]", "matrix": [4, 8], "x": 12.5, "y": 2.25}, + {"label": "Delete", "matrix": [2, 8], "x": 15.25, "y": 2.25}, - {"label":"Caps Lock", "matrix":[0, 2], "x":0, "y":3.25, "w":1.75}, - {"label":"A", "matrix":[1, 2], "x":1.75, "y":3.25}, - {"label":"S", "matrix":[2, 2], "x":2.75, "y":3.25}, - {"label":"D", "matrix":[3, 2], "x":3.75, "y":3.25}, - {"label":"F", "matrix":[4, 2], "x":4.75, "y":3.25}, - {"label":"G", "matrix":[5, 2], "x":5.75, "y":3.25}, - {"label":"H", "matrix":[6, 2], "x":6.75, "y":3.25}, - {"label":"J", "matrix":[7, 2], "x":7.75, "y":3.25}, - {"label":"K", "matrix":[8, 2], "x":8.75, "y":3.25}, - {"label":"L", "matrix":[8, 7], "x":9.75, "y":3.25}, - {"label":";", "matrix":[7, 7], "x":10.75, "y":3.25}, - {"label":"'", "matrix":[5, 7], "x":11.75, "y":3.25}, - {"label":"ISO #", "matrix":[4, 7], "x":12.75, "y":3.25}, - {"label":"Enter", "matrix":[3, 8], "x":13.75, "y":2.25, "w":1.25, "h":2}, + {"label": "Caps Lock", "matrix": [0, 2], "x": 0, "y": 3.25, "w": 1.75}, + {"label": "A", "matrix": [1, 2], "x": 1.75, "y": 3.25}, + {"label": "S", "matrix": [2, 2], "x": 2.75, "y": 3.25}, + {"label": "D", "matrix": [3, 2], "x": 3.75, "y": 3.25}, + {"label": "F", "matrix": [4, 2], "x": 4.75, "y": 3.25}, + {"label": "G", "matrix": [5, 2], "x": 5.75, "y": 3.25}, + {"label": "H", "matrix": [6, 2], "x": 6.75, "y": 3.25}, + {"label": "J", "matrix": [7, 2], "x": 7.75, "y": 3.25}, + {"label": "K", "matrix": [8, 2], "x": 8.75, "y": 3.25}, + {"label": "L", "matrix": [8, 7], "x": 9.75, "y": 3.25}, + {"label": ";", "matrix": [7, 7], "x": 10.75, "y": 3.25}, + {"label": "'", "matrix": [5, 7], "x": 11.75, "y": 3.25}, + {"label": "ISO #", "matrix": [4, 7], "x": 12.75, "y": 3.25}, + {"label": "Enter", "matrix": [3, 8], "x": 13.75, "y": 2.25, "w": 1.25, "h": 2}, - {"label":"Shift", "matrix":[0, 1], "x":0, "y":4.25, "w":1.25}, - {"label":"ISO \\", "matrix":[1, 1], "x":1.25, "y":4.25}, - {"label":"Z", "matrix":[2, 1], "x":2.25, "y":4.25}, - {"label":"X", "matrix":[3, 1], "x":3.25, "y":4.25}, - {"label":"C", "matrix":[4, 1], "x":4.25, "y":4.25}, - {"label":"V", "matrix":[5, 1], "x":5.25, "y":4.25}, - {"label":"B", "matrix":[6, 1], "x":6.25, "y":4.25}, - {"label":"N", "matrix":[7, 1], "x":7.25, "y":4.25}, - {"label":"M", "matrix":[8, 1], "x":8.25, "y":4.25}, - {"label":",", "matrix":[8, 6], "x":9.25, "y":4.25}, - {"label":".", "matrix":[7, 6], "x":10.25, "y":4.25}, - {"label":"/", "matrix":[5, 6], "x":11.25, "y":4.25}, - {"label":"Shift", "matrix":[4, 6], "x":12.25, "y":4.25, "w":1.75}, - {"label":"Up", "matrix":[3, 6], "x":14.25, "y":4.5}, + {"label": "Shift", "matrix": [0, 1], "x": 0, "y": 4.25, "w": 1.25}, + {"label": "ISO \\", "matrix": [1, 1], "x": 1.25, "y": 4.25}, + {"label": "Z", "matrix": [2, 1], "x": 2.25, "y": 4.25}, + {"label": "X", "matrix": [3, 1], "x": 3.25, "y": 4.25}, + {"label": "C", "matrix": [4, 1], "x": 4.25, "y": 4.25}, + {"label": "V", "matrix": [5, 1], "x": 5.25, "y": 4.25}, + {"label": "B", "matrix": [6, 1], "x": 6.25, "y": 4.25}, + {"label": "N", "matrix": [7, 1], "x": 7.25, "y": 4.25}, + {"label": "M", "matrix": [8, 1], "x": 8.25, "y": 4.25}, + {"label": ",", "matrix": [8, 6], "x": 9.25, "y": 4.25}, + {"label": ".", "matrix": [7, 6], "x": 10.25, "y": 4.25}, + {"label": "/", "matrix": [5, 6], "x": 11.25, "y": 4.25}, + {"label": "Shift", "matrix": [4, 6], "x": 12.25, "y": 4.25, "w": 1.75}, + {"label": "Up", "matrix": [3, 6], "x": 14.25, "y": 4.5}, - {"label":"Ctrl", "matrix":[0, 0], "x":0, "y":5.25, "w":1.25}, - {"label":"GUI", "matrix":[1, 0], "x":1.25, "y":5.25, "w":1.25}, - {"label":"Alt", "matrix":[2, 0], "x":2.5, "y":5.25, "w":1.25}, - {"label":"Space", "matrix":[6, 0], "x":3.75, "y":5.25, "w":6.25}, - {"label":"Alt", "matrix":[8, 0], "x":10, "y":5.25, "w":1.5}, - {"label":"Ctrl", "matrix":[7, 0], "x":11.5, "y":5.25, "w":1.5}, - {"label":"Left", "matrix":[5, 0], "x":13.25, "y":5.5}, - {"label":"Down", "matrix":[4, 0], "x":14.25, "y":5.5}, - {"label":"Right", "matrix":[3, 0], "x":15.25, "y":5.5} + {"label": "Ctrl", "matrix": [0, 0], "x": 0, "y": 5.25, "w": 1.25}, + {"label": "GUI", "matrix": [1, 0], "x": 1.25, "y": 5.25, "w": 1.25}, + {"label": "Alt", "matrix": [2, 0], "x": 2.5, "y": 5.25, "w": 1.25}, + {"label": "Space", "matrix": [6, 0], "x": 3.75, "y": 5.25, "w": 6.25}, + {"label": "Alt", "matrix": [8, 0], "x": 10, "y": 5.25, "w": 1.5}, + {"label": "Ctrl", "matrix": [7, 0], "x": 11.5, "y": 5.25, "w": 1.5}, + {"label": "Left", "matrix": [5, 0], "x": 13.25, "y": 5.5}, + {"label": "Down", "matrix": [4, 0], "x": 14.25, "y": 5.5}, + {"label": "Right", "matrix": [3, 0], "x": 15.25, "y": 5.5} ] } } |