diff options
author | KnoblesseOblige <63174954+KnoblesseOblige@users.noreply.github.com> | 2021-05-13 22:20:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 20:20:51 -0700 |
commit | 3d6d4bd94928e147c4f0aefb53083347c2a40019 (patch) | |
tree | 351256e85e43c2bfb819068a82b388c920ab319e /keyboards/tw40 | |
parent | 5195f97d356ee76a7206112ae0cb62c4d3c532d8 (diff) |
[Keyboard] Add Training Wheel 40 (#12542)
Diffstat (limited to 'keyboards/tw40')
-rw-r--r-- | keyboards/tw40/config.h | 49 | ||||
-rw-r--r-- | keyboards/tw40/info.json | 4478 | ||||
-rw-r--r-- | keyboards/tw40/keymaps/default/keymap.c | 39 | ||||
-rw-r--r-- | keyboards/tw40/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/tw40/readme.md | 20 | ||||
-rw-r--r-- | keyboards/tw40/rules.mk | 22 | ||||
-rw-r--r-- | keyboards/tw40/tw40.c | 17 | ||||
-rw-r--r-- | keyboards/tw40/tw40.h | 233 |
8 files changed, 4859 insertions, 0 deletions
diff --git a/keyboards/tw40/config.h b/keyboards/tw40/config.h new file mode 100644 index 0000000000..839babb920 --- /dev/null +++ b/keyboards/tw40/config.h @@ -0,0 +1,49 @@ +/* +Copyright 2020 KnoblesseOblige + +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 0x503D /* "P3D" */ +#define PRODUCT_ID 0x5457 /* "TW" */ +#define DEVICE_VER 0x0001 +#define MANUFACTURER KnoblesseOblige +#define PRODUCT TW40 + +#define MATRIX_ROWS 4 +#define MATRIX_COLS 14 + +#define MATRIX_ROW_PINS { B0, D5, D3, D2 } +#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4 } +#define UNUSED_PINS + +#define DIODE_DIRECTION COL2ROW + +#define RGB_DI_PIN E6 +#define RGBLED_NUM 15 +#define RGBLIGHT_ANIMATIONS + +#define DEBOUNCE 5 + +#define LOCKING_SUPPORT_ENABLE + +#define LOCKING_RESYNC_ENABLE + +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION diff --git a/keyboards/tw40/info.json b/keyboards/tw40/info.json new file mode 100644 index 0000000000..1162928362 --- /dev/null +++ b/keyboards/tw40/info.json @@ -0,0 +1,4478 @@ +{ + "keyboard_name": "Training Wheel 40", + "url": "https://p3dstore.com/products/tw40-gb", + "maintainer": "KnoblesseOblige", + "width": 14, + "height": 4, + "layouts": { + "LAYOUT_all": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 5, + "y": 3, + "w": 2.25 + }, + { + "label": "k35", + "x": 7.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 8.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_3_split_space_standard_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 2.25 + }, + { + "label": "k34", + "x": 6, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 7.25, + "y": 3, + "w": 2.75 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_3_split_space_standard_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 2.25 + }, + { + "label": "k34", + "x": 6, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 7.25, + "y": 3, + "w": 2.75 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_3_split_space_split_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 2.25 + }, + { + "label": "k34", + "x": 6, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 7.25, + "y": 3, + "w": 2.75 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_3_split_space_split_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 2.25 + }, + { + "label": "k34", + "x": 6, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 7.25, + "y": 3, + "w": 2.75 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_4_split_space_standard_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 5, + "y": 3, + "w": 2.25 + }, + { + "label": "k35", + "x": 7.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 8.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_4_split_space_standard_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 5, + "y": 3, + "w": 2.25 + }, + { + "label": "k35", + "x": 7.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 8.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_4_split_space_split_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 5, + "y": 3, + "w": 2.25 + }, + { + "label": "k35", + "x": 7.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 8.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_4_split_space_split_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k33", + "x": 3.75, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 5, + "y": 3, + "w": 2.25 + }, + { + "label": "k35", + "x": 7.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k36", + "x": 8.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_625_standard_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 3.75, + "y": 3, + "w": 6.25 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_625_standard_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 3.75, + "y": 3, + "w": 6.25 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_625_split_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 3.75, + "y": 3, + "w": 6.25 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_625_split_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.25 + }, + { + "label": "k31", + "x": 1.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k32", + "x": 2.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k34", + "x": 3.75, + "y": 3, + "w": 6.25 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_700_standard_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.5 + }, + { + "label": "k31", + "x": 1.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k34", + "x": 3, + "y": 3, + "w": 7 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_700_standard_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2 + }, + { + "label": "k2c", + "x": 12.25, + "y": 2, + "w": 2.75 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.5 + }, + { + "label": "k31", + "x": 1.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k34", + "x": 3, + "y": 3, + "w": 7 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + }, + "LAYOUT_700_split_rshift_4x_125": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.5 + }, + { + "label": "k31", + "x": 1.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k34", + "x": 3, + "y": 3, + "w": 7 + }, + { + "label": "k39", + "x": 10, + "y": 3, + "w": 1.25 + }, + { + "label": "k3b", + "x": 11.25, + "y": 3, + "w": 1.25 + }, + { + "label": "k3c", + "x": 12.5, + "y": 3, + "w": 1.25 + }, + { + "label": "k3d", + "x": 13.75, + "y": 3, + "w": 1.25 + } + ] + }, + "LAYOUT_700_split_rshift_5x_100": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0, + "w": 1.5 + }, + { + "label": "k01", + "x": 1.5, + "y": 0 + }, + { + "label": "k02", + "x": 2.5, + "y": 0 + }, + { + "label": "k03", + "x": 3.5, + "y": 0 + }, + { + "label": "k04", + "x": 4.5, + "y": 0 + }, + { + "label": "k05", + "x": 5.5, + "y": 0 + }, + { + "label": "k06", + "x": 6.5, + "y": 0 + }, + { + "label": "k07", + "x": 7.5, + "y": 0 + }, + { + "label": "k08", + "x": 8.5, + "y": 0 + }, + { + "label": "k09", + "x": 9.5, + "y": 0 + }, + { + "label": "k0a", + "x": 10.5, + "y": 0 + }, + { + "label": "k0b", + "x": 11.5, + "y": 0 + }, + { + "label": "k0c", + "x": 12.5, + "y": 0 + }, + { + "label": "k0d", + "x": 13.5, + "y": 0, + "w": 1.5 + }, + { + "label": "k10", + "x": 0, + "y": 1, + "w": 1.75 + }, + { + "label": "k11", + "x": 1.75, + "y": 1 + }, + { + "label": "k12", + "x": 2.75, + "y": 1 + }, + { + "label": "k13", + "x": 3.75, + "y": 1 + }, + { + "label": "k14", + "x": 4.75, + "y": 1 + }, + { + "label": "k15", + "x": 5.75, + "y": 1 + }, + { + "label": "k16", + "x": 6.75, + "y": 1 + }, + { + "label": "k17", + "x": 7.75, + "y": 1 + }, + { + "label": "k18", + "x": 8.75, + "y": 1 + }, + { + "label": "k19", + "x": 9.75, + "y": 1 + }, + { + "label": "k1a", + "x": 10.75, + "y": 1 + }, + { + "label": "k1b", + "x": 11.75, + "y": 1 + }, + { + "label": "k1c", + "x": 12.75, + "y": 1, + "w": 2.25 + }, + { + "label": "k20", + "x": 0, + "y": 2, + "w": 2.25 + }, + { + "label": "k21", + "x": 2.25, + "y": 2 + }, + { + "label": "k22", + "x": 3.25, + "y": 2 + }, + { + "label": "k23", + "x": 4.25, + "y": 2 + }, + { + "label": "k24", + "x": 5.25, + "y": 2 + }, + { + "label": "k25", + "x": 6.25, + "y": 2 + }, + { + "label": "k26", + "x": 7.25, + "y": 2 + }, + { + "label": "k27", + "x": 8.25, + "y": 2 + }, + { + "label": "k28", + "x": 9.25, + "y": 2 + }, + { + "label": "k29", + "x": 10.25, + "y": 2 + }, + { + "label": "k2b", + "x": 11.25, + "y": 2, + "w": 1.75 + }, + { + "label": "k2c", + "x": 13, + "y": 2 + }, + { + "label": "k2d", + "x": 14, + "y": 2 + }, + { + "label": "k30", + "x": 0, + "y": 3, + "w": 1.5 + }, + { + "label": "k31", + "x": 1.5, + "y": 3, + "w": 1.5 + }, + { + "label": "k34", + "x": 3, + "y": 3, + "w": 7 + }, + { + "label": "k39", + "x": 10, + "y": 3 + }, + { + "label": "k3a", + "x": 11, + "y": 3 + }, + { + "label": "k3b", + "x": 12, + "y": 3 + }, + { + "label": "k3c", + "x": 13, + "y": 3 + }, + { + "label": "k3d", + "x": 14, + "y": 3 + } + ] + } + } +} diff --git a/keyboards/tw40/keymaps/default/keymap.c b/keyboards/tw40/keymaps/default/keymap.c new file mode 100644 index 0000000000..11b3d0d6e9 --- /dev/null +++ b/keyboards/tw40/keymaps/default/keymap.c @@ -0,0 +1,39 @@ +/* Copyright 2020 KnoblesseOblige + * + * 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 QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* Base */ + [0] = LAYOUT_all( + 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_BSPC, + 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_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_UP, MO(2), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, MO(1), KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT + + ), + [1] = LAYOUT_all( + KC_ESC, 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_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LSFT, KC_TRNS, KC_TRNS, + 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_GRV, 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_TRNS, + KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + 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/tw40/keymaps/default/readme.md b/keyboards/tw40/keymaps/default/readme.md new file mode 100644 index 0000000000..4dfa184e29 --- /dev/null +++ b/keyboards/tw40/keymaps/default/readme.md @@ -0,0 +1 @@ +# The default keymap for tw40 diff --git a/keyboards/tw40/readme.md b/keyboards/tw40/readme.md new file mode 100644 index 0000000000..7db7378590 --- /dev/null +++ b/keyboards/tw40/readme.md @@ -0,0 +1,20 @@ +# Training Wheel 40 + +![tw40](https://cdn.shopify.com/s/files/1/0501/7537/7592/products/tw40_600x.jpg?v=1607835284) + +* Keyboard Maintainer: [KnoblesseOblige](https://github.com/KnoblesseOblige) +* Hardware Supported: Training Wheel 40 PCB +* Hardware Availability: https://p3dstore.com/products/tw40-gb + +Make example for this keyboard (after setting up your build environment): + + make tw40:default + + +To flash a new firmware plug in the keyboard while holding Esc (top left key) and then run the commands below. + +Flashing example for this keyboard: + + make tw40:default:flash + +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/tw40/rules.mk b/keyboards/tw40/rules.mk new file mode 100644 index 0000000000..ef4ccf32fb --- /dev/null +++ b/keyboards/tw40/rules.mk @@ -0,0 +1,22 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = no # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = no # Audio output diff --git a/keyboards/tw40/tw40.c b/keyboards/tw40/tw40.c new file mode 100644 index 0000000000..0bd8425ab3 --- /dev/null +++ b/keyboards/tw40/tw40.c @@ -0,0 +1,17 @@ +/* Copyright 2020 KnoblesseOblige + * + * 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 "tw40.h" diff --git a/keyboards/tw40/tw40.h b/keyboards/tw40/tw40.h new file mode 100644 index 0000000000..58fbe29880 --- /dev/null +++ b/keyboards/tw40/tw40.h @@ -0,0 +1,233 @@ +/* Copyright 2020 KnoblesseOblige + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "quantum.h" + +#define kxx KC_NO + +/* This is a shortcut to help you visually see your layout. + * + * The first section contains all of the arguments representing the physical + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define LAYOUT_all( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k32, k33, k34, k35, k36, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, k32, k33, k34, k35, k36, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_3_split_space_standard_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k32, k33, k34, k36, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, k32, k33, k34, kxx, k36, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_3_split_space_standard_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k32, k33, k34, k36, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, k32, k33, k34, kxx, k36, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_3_split_space_split_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k32, k33, k34, k36, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, k32, k33, k34, kxx, k36, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_3_split_space_split_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k32, k33, k34, k36, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, k32, k33, k34, kxx, k36, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_4_split_space_standard_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k32, k33, k34, k35, k36, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, k32, k33, k34, k35, k36, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_4_split_space_standard_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k32, k33, k34, k35, k36, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, k32, k33, k34, k35, k36, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_4_split_space_split_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k32, k33, k34, k35, k36, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, k32, k33, k34, k35, k36, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_4_split_space_split_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k32, k33, k34, k35, k36, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, k32, k33, k34, k35, k36, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_625_standard_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k32, k34, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, k32, kxx, k34, kxx, kxx, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_625_standard_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k32, k34, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, k32, kxx, k34, kxx, kxx, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_625_split_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k32, k34, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, k32, kxx, k34, kxx, kxx, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_625_split_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k32, k34, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, k32, kxx, k34, kxx, kxx, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_700_standard_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k34, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, kxx, kxx, k34, kxx, kxx, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_700_standard_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, \ + k30, k31, k34, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, kxx }, \ + { k30, k31, kxx, kxx, k34, kxx, kxx, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} + +#define LAYOUT_700_split_rshift_4x_125( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k34, k39, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, kxx, kxx, k34, kxx, kxx, kxx, kxx, k39, kxx, k3b, k3c, k3d } \ +} + +#define LAYOUT_700_split_rshift_5x_100( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2b, k2c, k2d, \ + k30, k31, k34, k39, k3a, k3b, k3c, k3d \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, kxx }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, kxx, k2b, k2c, k2d }, \ + { k30, k31, kxx, kxx, k34, kxx, kxx, kxx, kxx, k39, k3a, k3b, k3c, k3d } \ +} |