summaryrefslogtreecommitdiffstats
path: root/keyboards/jacky_studio/s7_elephant
diff options
context:
space:
mode:
authorGeorge Mao <splatt9198@gmail.com>2020-12-24 14:53:16 -0800
committerGitHub <noreply@github.com>2020-12-24 14:53:16 -0800
commit73dfc2b36887b0580bf534a520baaad3fae0f613 (patch)
treeacdd1c3c2a5bdd684adf33decc8ddaa2583bdc98 /keyboards/jacky_studio/s7_elephant
parent010271d6ea08b58415d3ecd3e8acb37aeb4372bb (diff)
[Keyboard] Refactor Jacky's boards (Bear65 and S7 Elephant) (#10528)
Diffstat (limited to 'keyboards/jacky_studio/s7_elephant')
-rw-r--r--keyboards/jacky_studio/s7_elephant/readme.md20
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/config.h63
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/info.json2318
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/keymaps/default/config.h19
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/keymaps/default/keymap.c81
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/keymaps/default/readme.md35
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/readme.md17
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/rev1.c17
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/rev1.h869
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev1/rules.mk18
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/config.h78
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/info.json165
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/keymaps/default/keymap.c81
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/keymaps/default/readme.md35
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/keymaps/via/keymap.c108
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/keymaps/via/readme.md35
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/keymaps/via/rules.mk1
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/readme.md17
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/rev2.c17
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/rev2.h77
-rw-r--r--keyboards/jacky_studio/s7_elephant/rev2/rules.mk23
21 files changed, 4094 insertions, 0 deletions
diff --git a/keyboards/jacky_studio/s7_elephant/readme.md b/keyboards/jacky_studio/s7_elephant/readme.md
new file mode 100644
index 0000000000..1cfeefb209
--- /dev/null
+++ b/keyboards/jacky_studio/s7_elephant/readme.md
@@ -0,0 +1,20 @@
+# S7 Elephant
+
+![S7 Elephant](https://i.imgur.com/CaHxKBJ.jpg)
+
+A high-end 70% custom keyboard designed and produced by [jacky](https://geekhack.org/index.php?action=profile;u=63864) from Geekhack.
+
+**Firmware files are SPECIFIC to each revision. Firmware files from rev1 will not work on rev2 and vice versa.** Please use the `.hex` appropriate for your board.
+
+* Keyboard Maintainer: QMK Community
+* Hardware Supported: S7 Elephant rev1, rev2
+* Hardware Availability: [The GB has had 2 rounds with little chance to run again.](https://geekhack.org/index.php?topic=96434.0)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make jacky_studio/s7_elephant/rev1:default # 2018 run
+ make jacky_studio/s7_elephant/rev2:default # 2019 run
+
+To enter the bootloader, either short the pins on the PCB or the RESET button on the FN layer.
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/jacky_studio/s7_elephant/rev1/config.h b/keyboards/jacky_studio/s7_elephant/rev1/config.h
new file mode 100644
index 0000000000..76c4c7d406
--- /dev/null
+++ b/keyboards/jacky_studio/s7_elephant/rev1/config.h
@@ -0,0 +1,63 @@
+/* Copyright 2020 MudkipMao
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xA13B // Hexidecimal A13B will be Jacky's vendor ID
+#define PRODUCT_ID 0x0007
+#define DEVICE_VER 0x0001
+#define MANUFACTURER jacky
+#define PRODUCT S7 Elephant
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 16
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 }
+#define MATRIX_COL_PINS { B6, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7, F1 }
+#define UNUSED_PINS
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+#define RGB_DI_PIN E6
+#ifdef RGB_DI_PIN
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 2
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
+#define RGBLIGHT_SLEEP
+#endif
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/jacky_studio/s7_elephant/rev1/info.json b/keyboards/jacky_studio/s7_elephant/rev1/info.json
new file mode 100644
index 0000000000..ea2ca030c5
--- /dev/null
+++ b/keyboards/jacky_studio/s7_elephant/rev1/info.json
@@ -0,0 +1,2318 @@
+{
+ "keyboard_name": "S7 Elephant",
+ "url": "https://geekhack.org/index.php?topic=96434.0",
+ "maintainer": "qmk",
+ "width": 18,
+ "height": 5,
+ "layouts": {
+ "LAYOUT_ansi": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0, "w":2},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":2.25},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"<", "x":11.25, "y":3},
+ {"label":">", "x":12.25, "y":3},
+ {"label":"?", "x":13.25, "y":3},
+ {"label":"Shift", "x":14.25, "y":3, "w":1.75},
+ {"label":"Up", "x":16, "y":3},
+ {"label":"Del", "x":17, "y":3},
+ {"label":"F5", "x":0, "y":4},
+ {"label":"Ctrl", "x":2, "y":4, "w":1.25},
+ {"label":"Win", "x":3.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":4.5, "y":4, "w":1.25},
+ {"x":5.75, "y":4, "w":6.25},
+ {"label":"Fn", "x":12, "y":4, "w":1.5},
+ {"label":"Ctrl", "x":13.5, "y":4, "w":1.5},
+ {"label":"Left", "x":15, "y":4},
+ {"label":"Down", "x":16, "y":4},
+ {"label":"Right", "x":17, "y":4}
+ ]
+ },
+ "LAYOUT_ansi_small_lshift": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0, "w":2},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":1.25},
+ {"x":3.25, "y":3},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"<", "x":11.25, "y":3},
+ {"label":">", "x":12.25, "y":3},
+ {"label":"?", "x":13.25, "y":3},
+ {"label":"Shift", "x":14.25, "y":3, "w":1.75},
+ {"label":"Up", "x":16, "y":3},
+ {"label":"Del", "x":17, "y":3},
+ {"label":"F5", "x":0, "y":4},
+ {"label":"Ctrl", "x":2, "y":4, "w":1.25},
+ {"label":"Win", "x":3.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":4.5, "y":4, "w":1.25},
+ {"x":5.75, "y":4, "w":6.25},
+ {"label":"Fn", "x":12, "y":4, "w":1.5},
+ {"label":"Ctrl", "x":13.5, "y":4, "w":1.5},
+ {"label":"Left", "x":15, "y":4},
+ {"label":"Down", "x":16, "y":4},
+ {"label":"Right", "x":17, "y":4}
+ ]
+ },
+ "LAYOUT_ansi_small_bspc": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0},
+ {"x":16, "y":0},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":2.25},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"<", "x":11.25, "y":3},
+ {"label":">", "x":12.25, "y":3},
+ {"label":"?", "x":13.25, "y":3},
+ {"label":"Shift", "x":14.25, "y":3, "w":1.75},
+ {"label":"Up", "x":16, "y":3},
+ {"label":"Del", "x":17, "y":3},
+ {"label":"F5", "x":0, "y":4},
+ {"label":"Ctrl", "x":2, "y":4, "w":1.25},
+ {"label":"Win", "x":3.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":4.5, "y":4, "w":1.25},
+ {"x":5.75, "y":4, "w":6.25},
+ {"label":"Fn", "x":12, "y":4, "w":1.5},
+ {"label":"Ctrl", "x":13.5, "y":4, "w":1.5},
+ {"label":"Left", "x":15, "y":4},
+ {"label":"Down", "x":16, "y":4},
+ {"label":"Right", "x":17, "y":4}
+ ]
+ },
+ "LAYOUT_ansi_small_lshift_small_bspc": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0},
+ {"x":16, "y":0},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":1.25},
+ {"x":3.25, "y":3},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"<", "x":11.25, "y":3},
+ {"label":">", "x":12.25, "y":3},
+ {"label":"?", "x":13.25, "y":3},
+ {"label":"Shift", "x":14.25, "y":3, "w":1.75},
+ {"label":"Up", "x":16, "y":3},
+ {"label":"Del", "x":17, "y":3},
+ {"label":"F5", "x":0, "y":4},
+ {"label":"Ctrl", "x":2, "y":4, "w":1.25},
+ {"label":"Win", "x":3.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":4.5, "y":4, "w":1.25},
+ {"x":5.75, "y":4, "w":6.25},
+ {"label":"Fn", "x":12, "y":4, "w":1.5},
+ {"label":"Ctrl", "x":13.5, "y":4, "w":1.5},
+ {"label":"Left", "x":15, "y":4},
+ {"label":"Down", "x":16, "y":4},
+ {"label":"Right", "x":17, "y":4}
+ ]
+ },
+ "LAYOUT_ansi_1u": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0, "w":2},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":2.25},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"<", "x":11.25, "y":3},
+ {"label":">", "x":12.25, "y":3},
+ {"label":"?", "x":13.25, "y":3},
+ {"label":"Shift", "x":14.25, "y":3, "w":1.75},
+ {"label":"Up", "x":16, "y":3},
+ {"label":"Del", "x":17, "y":3},
+ {"label":"F5", "x":0, "y":4},
+ {"label":"Ctrl", "x":2, "y":4, "w":1.25},
+ {"label":"Win", "x":3.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":4.5, "y":4, "w":1.25},
+ {"x":5.75, "y":4, "w":6.25},
+ {"label":"Fn", "x":12, "y":4},
+ {"label":"Alt", "x":13, "y":4},
+ {"label":"Ctrl", "x":14, "y":4},
+ {"label":"Left", "x":15, "y":4},
+ {"label":"Down", "x":16, "y":4},
+ {"label":"Right", "x":17, "y":4}
+ ]
+ },
+ "LAYOUT_ansi_1u_small_lshift": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0, "w":2},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":1.25},
+ {"x":3.25, "y":3},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"<", "x":11.25, "y":3},
+ {"label":">", "x":12.25, "y":3},
+ {"label":"?", "x":13.25, "y":3},
+ {"label":"Shift", "x":14.25, "y":3, "w":1.75},
+ {"label":"Up", "x":16, "y":3},
+ {"label":"Del", "x":17, "y":3},
+ {"label":"F5", "x":0, "y":4},
+ {"label":"Ctrl", "x":2, "y":4, "w":1.25},
+ {"label":"Win", "x":3.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":4.5, "y":4, "w":1.25},
+ {"x":5.75, "y":4, "w":6.25},
+ {"label":"Fn", "x":12, "y":4},
+ {"label":"Alt", "x":13, "y":4},
+ {"label":"Ctrl", "x":14, "y":4},
+ {"label":"Left", "x":15, "y":4},
+ {"label":"Down", "x":16, "y":4},
+ {"label":"Right", "x":17, "y":4}
+ ]
+ },
+ "LAYOUT_ansi_1u_small_bspc": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0},
+ {"x":16, "y":0},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":2.25},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":8.25, "y":3},
+ {"label":"N", "x":9.25, "y":3},
+ {"label":"M", "x":10.25, "y":3},
+ {"label":"<", "x":11.25, "y":3},
+ {"label":">", "x":12.25, "y":3},
+ {"label":"?", "x":13.25, "y":3},
+ {"label":"Shift", "x":14.25, "y":3, "w":1.75},
+ {"label":"Up", "x":16, "y":3},
+ {"label":"Del", "x":17, "y":3},
+ {"label":"F5", "x":0, "y":4},
+ {"label":"Ctrl", "x":2, "y":4, "w":1.25},
+ {"label":"Win", "x":3.25, "y":4, "w":1.25},
+ {"label":"Alt", "x":4.5, "y":4, "w":1.25},
+ {"x":5.75, "y":4, "w":6.25},
+ {"label":"Fn", "x":12, "y":4},
+ {"label":"Alt", "x":13, "y":4},
+ {"label":"Ctrl", "x":14, "y":4},
+ {"label":"Left", "x":15, "y":4},
+ {"label":"Down", "x":16, "y":4},
+ {"label":"Right", "x":17, "y":4}
+ ]
+ },
+ "LAYOUT_ansi_1u_small_lshift_small_bspc": {
+ "layout": [
+ {"label":"F1", "x":0, "y":0},
+ {"label":"Esc", "x":2, "y":0},
+ {"label":"!", "x":3, "y":0},
+ {"label":"@", "x":4, "y":0},
+ {"label":"#", "x":5, "y":0},
+ {"label":"$", "x":6, "y":0},
+ {"label":"%", "x":7, "y":0},
+ {"label":"^", "x":8, "y":0},
+ {"label":"&", "x":9, "y":0},
+ {"label":"*", "x":10, "y":0},
+ {"label":"(", "x":11, "y":0},
+ {"label":")", "x":12, "y":0},
+ {"label":"_", "x":13, "y":0},
+ {"label":"+", "x":14, "y":0},
+ {"label":"Backspace", "x":15, "y":0},
+ {"x":16, "y":0},
+ {"label":"Home", "x":17, "y":0},
+ {"label":"F2", "x":0, "y":1},
+ {"label":"Tab", "x":2, "y":1, "w":1.5},
+ {"label":"Q", "x":3.5, "y":1},
+ {"label":"W", "x":4.5, "y":1},
+ {"label":"E", "x":5.5, "y":1},
+ {"label":"R", "x":6.5, "y":1},
+ {"label":"T", "x":7.5, "y":1},
+ {"label":"Y", "x":8.5, "y":1},
+ {"label":"U", "x":9.5, "y":1},
+ {"label":"I", "x":10.5, "y":1},
+ {"label":"O", "x":11.5, "y":1},
+ {"label":"P", "x":12.5, "y":1},
+ {"label":"{", "x":13.5, "y":1},
+ {"label":"}", "x":14.5, "y":1},
+ {"label":"|", "x":15.5, "y":1, "w":1.5},
+ {"label":"End", "x":17, "y":1},
+ {"label":"F3", "x":0, "y":2},
+ {"label":"Caps Lock", "x":2, "y":2, "w":1.75},
+ {"label":"A", "x":3.75, "y":2},
+ {"label":"S", "x":4.75, "y":2},
+ {"label":"D", "x":5.75, "y":2},
+ {"label":"F", "x":6.75, "y":2},
+ {"label":"G", "x":7.75, "y":2},
+ {"label":"H", "x":8.75, "y":2},
+ {"label":"J", "x":9.75, "y":2},
+ {"label":"K", "x":10.75, "y":2},
+ {"label":"L", "x":11.75, "y":2},
+ {"label":":", "x":12.75, "y":2},
+ {"label":"\"", "x":13.75, "y":2},
+ {"label":"Enter", "x":14.75, "y":2, "w":2.25},
+ {"label":"Ins", "x":17, "y":2},
+ {"label":"F4", "x":0, "y":3},
+ {"label":"Shift", "x":2, "y":3, "w":1.25},
+ {"x":3.25, "y":3},
+ {"label":"Z", "x":4.25, "y":3},
+ {"label":"X", "x":5.25, "y":3},
+ {"label":"C", "x":6.25, "y":3},
+ {"label":"V", "x":7.25, "y":3},
+ {"label":"B", "x":