From 5bd68e3695a82ff504c358c33445b4530c2a327f Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 12 Apr 2023 13:42:51 +1000 Subject: Move single `LAYOUT`s to data driven (#20365) --- .../108key_trackpoint/108key_trackpoint.h | 23 - keyboards/handwired/108key_trackpoint/info.json | 242 ++++---- keyboards/handwired/3dfoxc/3dfoxc.h | 38 -- keyboards/handwired/3dfoxc/info.json | 425 +++---------- keyboards/handwired/42/42.h | 32 - keyboards/handwired/42/info.json | 88 +-- keyboards/handwired/acacia/acacia.h | 49 -- keyboards/handwired/acacia/info.json | 87 ++- keyboards/handwired/aek64/aek64.h | 34 -- keyboards/handwired/aek64/info.json | 72 ++- keyboards/handwired/aim65/aim65.h | 36 -- keyboards/handwired/aim65/info.json | 112 ++-- keyboards/handwired/amigopunk/amigopunk.h | 35 -- keyboards/handwired/amigopunk/info.json | 160 ++--- keyboards/handwired/angel/angel.h | 40 -- keyboards/handwired/angel/info.json | 53 +- keyboards/handwired/atreus50/atreus50.c | 2 +- keyboards/handwired/atreus50/atreus50.h | 21 - keyboards/handwired/atreus50/info.json | 100 +-- keyboards/handwired/bigmac/bigmac.h | 33 - keyboards/handwired/bigmac/info.json | 178 +++--- keyboards/handwired/bolek/bolek.h | 43 -- keyboards/handwired/bolek/info.json | 79 +-- keyboards/handwired/brain/brain.h | 28 - keyboards/handwired/brain/info.json | 117 ++-- keyboards/handwired/carpolly/carpolly.h | 36 -- keyboards/handwired/carpolly/info.json | 89 +-- keyboards/handwired/chiron/chiron.h | 42 -- keyboards/handwired/chiron/info.json | 148 ++--- keyboards/handwired/cmd60/cmd60.h | 19 - keyboards/handwired/cmd60/info.json | 126 ++-- keyboards/handwired/consolekeyboard/18key/18key.h | 26 - .../handwired/consolekeyboard/18key/info.json | 41 +- keyboards/handwired/consolekeyboard/20key/20key.h | 26 - .../handwired/consolekeyboard/20key/info.json | 46 +- keyboards/handwired/consolekeyboard/27key/27key.h | 28 - .../handwired/consolekeyboard/27key/info.json | 62 +- keyboards/handwired/consolekeyboard/30key/30key.h | 28 - .../handwired/consolekeyboard/30key/info.json | 69 ++- keyboards/handwired/croxsplit44/croxsplit44.h | 32 - keyboards/handwired/croxsplit44/info.json | 88 +-- keyboards/handwired/d48/d48.h | 19 - keyboards/handwired/d48/info.json | 101 ++-- keyboards/handwired/dactyl_left/dactyl_left.h | 42 -- keyboards/handwired/dactyl_left/info.json | 43 +- keyboards/handwired/dactyl_manuform/4x5_5/4x5_5.h | 29 - .../handwired/dactyl_manuform/4x5_5/info.json | 88 +-- keyboards/handwired/dactyl_manuform/4x6/4x6.h | 27 - keyboards/handwired/dactyl_manuform/4x6/info.json | 107 ++-- keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.h | 26 - .../handwired/dactyl_manuform/4x6_5/info.json | 100 +-- keyboards/handwired/daishi/daishi.h | 23 - keyboards/handwired/daishi/info.json | 265 ++++---- keyboards/handwired/datahand/datahand.h | 34 -- keyboards/handwired/datahand/info.json | 116 ++-- keyboards/handwired/dqz11n1g/dqz11n1g.h | 51 -- keyboards/handwired/dqz11n1g/info.json | 261 ++++---- keyboards/handwired/eagleii/eagleii.h | 24 - keyboards/handwired/eagleii/info.json | 159 ++--- keyboards/handwired/ergocheap/ergocheap.h | 41 -- keyboards/handwired/ergocheap/info.json | 147 ++--- keyboards/handwired/evk/v1_3/info.json | 206 ++++--- keyboards/handwired/evk/v1_3/v1_3.c | 2 +- keyboards/handwired/evk/v1_3/v1_3.h | 43 -- keyboards/handwired/fc200rt_qmk/fc200rt_qmk.h | 46 -- keyboards/handwired/fc200rt_qmk/info.json | 104 +++- keyboards/handwired/fivethirteen/fivethirteen.h | 19 - keyboards/handwired/fivethirteen/info.json | 132 ++-- keyboards/handwired/frenchdev/frenchdev.h | 35 -- keyboards/handwired/frenchdev/info.json | 213 ++++--- keyboards/handwired/freoduo/freoduo.h | 39 -- keyboards/handwired/freoduo/info.json | 129 ++-- .../handwired/hacked_motospeed/hacked_motospeed.h | 46 -- keyboards/handwired/hacked_motospeed/info.json | 54 +- keyboards/handwired/hexon38/hexon38.h | 17 - keyboards/handwired/hexon38/info.json | 80 +-- keyboards/handwired/hnah40/hnah40.h | 38 -- keyboards/handwired/hnah40/info.json | 87 +-- keyboards/handwired/hwpm87/hwpm87.h | 24 - keyboards/handwired/hwpm87/info.json | 188 +++--- keyboards/handwired/ibm122m/ibm122m.h | 41 -- keyboards/handwired/ibm122m/info.json | 266 ++++---- .../handwired/ibm_wheelwriter/ibm_wheelwriter.h | 40 -- keyboards/handwired/ibm_wheelwriter/info.json | 134 ++-- keyboards/handwired/jopr/info.json | 672 ++++----------------- keyboards/handwired/jopr/jopr.c | 2 +- keyboards/handwired/jopr/jopr.h | 24 - keyboards/handwired/k8split/info.json | 96 +-- keyboards/handwired/k8split/k8split.h | 37 -- keyboards/handwired/kbod/info.json | 126 ++-- keyboards/handwired/kbod/kbod.h | 22 - keyboards/handwired/ks63/info.json | 399 ++---------- keyboards/handwired/ks63/ks63.h | 23 - keyboards/handwired/lagrange/info.json | 147 ++--- keyboards/handwired/lagrange/lagrange.h | 26 - keyboards/handwired/magicforce61/info.json | 126 ++-- keyboards/handwired/magicforce61/magicforce61.h | 17 - keyboards/handwired/magicforce68/info.json | 145 ++--- keyboards/handwired/magicforce68/magicforce68.h | 19 - keyboards/handwired/marauder/info.json | 202 ++++--- keyboards/handwired/marauder/marauder.h | 41 -- keyboards/handwired/minorca/info.json | 87 +-- keyboards/handwired/minorca/minorca.h | 15 - keyboards/handwired/not_so_minidox/info.json | 84 +-- .../handwired/not_so_minidox/not_so_minidox.h | 21 - keyboards/handwired/oem_iso_fullsize/info.json | 229 +++---- .../handwired/oem_iso_fullsize/oem_iso_fullsize.h | 38 -- keyboards/handwired/ortho5x13/info.json | 132 ++-- keyboards/handwired/ortho5x13/ortho5x13.h | 18 - keyboards/handwired/ortho5x14/info.json | 138 +++-- keyboards/handwired/ortho5x14/ortho5x14.h | 34 -- keyboards/handwired/p65rgb/info.json | 143 ++--- keyboards/handwired/p65rgb/p65rgb.c | 2 +- keyboards/handwired/p65rgb/p65rgb.h | 42 -- keyboards/handwired/pilcrow/info.json | 83 +-- keyboards/handwired/pilcrow/pilcrow.h | 19 - keyboards/handwired/pill60/info.json | 128 ++-- keyboards/handwired/pill60/pill60.h | 42 -- keyboards/handwired/prime_exl/info.json | 96 ++- keyboards/handwired/prime_exl/prime_exl.h | 40 -- keyboards/handwired/promethium/info.json | 106 ++-- .../handwired/promethium/keymaps/default/keymap.c | 8 +- .../handwired/promethium/keymaps/priyadi/keymap.c | 8 +- keyboards/handwired/promethium/promethium.h | 20 - keyboards/handwired/pteron/info.json | 112 ++-- keyboards/handwired/pteron/pteron.h | 17 - keyboards/handwired/pteron44/info.json | 88 +-- keyboards/handwired/pteron44/pteron44.h | 31 - keyboards/handwired/retro_refit/info.json | 168 +++--- keyboards/handwired/retro_refit/readme.md | 28 - keyboards/handwired/retro_refit/retro_refit.c | 2 +- keyboards/handwired/retro_refit/retro_refit.h | 35 -- keyboards/handwired/selene/info.json | 244 ++++---- keyboards/handwired/selene/selene.h | 16 - keyboards/handwired/slash/info.json | 126 ++-- keyboards/handwired/slash/slash.h | 36 -- keyboards/handwired/space_oddity/info.json | 135 +++-- keyboards/handwired/space_oddity/space_oddity.h | 19 - keyboards/handwired/split65/info.json | 80 --- keyboards/handwired/split65/promicro/info.json | 88 ++- keyboards/handwired/split65/promicro/promicro.h | 38 -- keyboards/handwired/split65/stm32/info.json | 88 ++- keyboards/handwired/split65/stm32/stm32.h | 38 -- keyboards/handwired/stef9998/split_5x7/info.json | 139 +++-- keyboards/handwired/stef9998/split_5x7/rev1/rev1.h | 40 -- keyboards/handwired/swiftrax/beegboy/beegboy.h | 42 -- keyboards/handwired/swiftrax/beegboy/info.json | 218 +++---- keyboards/handwired/swiftrax/pandamic/info.json | 105 +++- keyboards/handwired/swiftrax/pandamic/pandamic.h | 40 -- keyboards/handwired/swiftrax/unsplit/info.json | 88 +-- keyboards/handwired/swiftrax/unsplit/unsplit.h | 35 -- keyboards/handwired/symmetric70_proto/info.json | 145 ++--- .../symmetric70_proto/symmetric70_proto.c | 2 +- .../symmetric70_proto/symmetric70_proto.h | 41 -- keyboards/handwired/t111/info.json | 123 +++- keyboards/handwired/t111/t111.h | 57 -- keyboards/handwired/terminus_mini/info.json | 95 +-- keyboards/handwired/terminus_mini/terminus_mini.h | 39 -- keyboards/handwired/traveller/info.json | 100 +-- keyboards/handwired/traveller/traveller.c | 2 +- keyboards/handwired/traveller/traveller.h | 17 - keyboards/handwired/tsubasa/info.json | 127 ++-- keyboards/handwired/tsubasa/tsubasa.c | 2 +- keyboards/handwired/tsubasa/tsubasa.h | 47 -- keyboards/handwired/twadlee/tp69/info.json | 76 ++- keyboards/handwired/twadlee/tp69/tp69.h | 48 -- keyboards/handwired/unicomp_mini_m/info.json | 190 +++--- .../handwired/unicomp_mini_m/unicomp_mini_m.h | 49 -- keyboards/handwired/unk/rev1/info.json | 140 ++--- keyboards/handwired/unk/rev1/rev1.h | 28 - keyboards/handwired/videowriter/info.json | 90 ++- keyboards/handwired/videowriter/videowriter.h | 59 -- keyboards/handwired/xealous/rev1/info.json | 131 ++-- keyboards/handwired/xealous/rev1/rev1.h | 24 - keyboards/handwired/z150/info.json | 96 ++- keyboards/handwired/z150/z150.c | 2 +- keyboards/handwired/z150/z150.h | 54 -- keyboards/handwired/zergo/info.json | 170 +++--- keyboards/handwired/zergo/zergo.h | 35 -- 179 files changed, 6015 insertions(+), 8446 deletions(-) delete mode 100644 keyboards/handwired/108key_trackpoint/108key_trackpoint.h delete mode 100644 keyboards/handwired/3dfoxc/3dfoxc.h delete mode 100644 keyboards/handwired/42/42.h delete mode 100644 keyboards/handwired/acacia/acacia.h delete mode 100644 keyboards/handwired/aek64/aek64.h delete mode 100644 keyboards/handwired/aim65/aim65.h delete mode 100644 keyboards/handwired/amigopunk/amigopunk.h delete mode 100644 keyboards/handwired/angel/angel.h delete mode 100644 keyboards/handwired/atreus50/atreus50.h delete mode 100644 keyboards/handwired/bigmac/bigmac.h delete mode 100644 keyboards/handwired/bolek/bolek.h delete mode 100644 keyboards/handwired/brain/brain.h delete mode 100644 keyboards/handwired/carpolly/carpolly.h delete mode 100644 keyboards/handwired/chiron/chiron.h delete mode 100644 keyboards/handwired/cmd60/cmd60.h delete mode 100644 keyboards/handwired/consolekeyboard/18key/18key.h delete mode 100644 keyboards/handwired/consolekeyboard/20key/20key.h delete mode 100644 keyboards/handwired/consolekeyboard/27key/27key.h delete mode 100644 keyboards/handwired/consolekeyboard/30key/30key.h delete mode 100644 keyboards/handwired/croxsplit44/croxsplit44.h delete mode 100644 keyboards/handwired/d48/d48.h delete mode 100644 keyboards/handwired/dactyl_left/dactyl_left.h delete mode 100644 keyboards/handwired/dactyl_manuform/4x5_5/4x5_5.h delete mode 100644 keyboards/handwired/dactyl_manuform/4x6/4x6.h delete mode 100644 keyboards/handwired/dactyl_manuform/4x6_5/4x6_5.h delete mode 100644 keyboards/handwired/daishi/daishi.h delete mode 100644 keyboards/handwired/dqz11n1g/dqz11n1g.h delete mode 100644 keyboards/handwired/eagleii/eagleii.h delete mode 100644 keyboards/handwired/ergocheap/ergocheap.h delete mode 100644 keyboards/handwired/evk/v1_3/v1_3.h delete mode 100644 keyboards/handwired/fc200rt_qmk/fc200rt_qmk.h delete mode 100644 keyboards/handwired/fivethirteen/fivethirteen.h delete mode 100644 keyboards/handwired/freoduo/freoduo.h delete mode 100644 keyboards/handwired/hacked_motospeed/hacked_motospeed.h delete mode 100644 keyboards/handwired/hexon38/hexon38.h delete mode 100644 keyboards/handwired/hnah40/hnah40.h delete mode 100644 keyboards/handwired/hwpm87/hwpm87.h delete mode 100644 keyboards/handwired/ibm122m/ibm122m.h delete mode 100644 keyboards/handwired/ibm_wheelwriter/ibm_wheelwriter.h delete mode 100644 keyboards/handwired/jopr/jopr.h delete mode 100644 keyboards/handwired/k8split/k8split.h delete mode 100644 keyboards/handwired/kbod/kbod.h delete mode 100644 keyboards/handwired/ks63/ks63.h delete mode 100644 keyboards/handwired/magicforce61/magicforce61.h delete mode 100644 keyboards/handwired/magicforce68/magicforce68.h delete mode 100644 keyboards/handwired/marauder/marauder.h delete mode 100644 keyboards/handwired/minorca/minorca.h delete mode 100644 keyboards/handwired/not_so_minidox/not_so_minidox.h delete mode 100644 keyboards/handwired/oem_iso_fullsize/oem_iso_fullsize.h delete mode 100644 keyboards/handwired/ortho5x13/ortho5x13.h delete mode 100644 keyboards/handwired/ortho5x14/ortho5x14.h delete mode 100644 keyboards/handwired/p65rgb/p65rgb.h delete mode 100644 keyboards/handwired/pilcrow/pilcrow.h delete mode 100644 keyboards/handwired/pill60/pill60.h delete mode 100644 keyboards/handwired/prime_exl/prime_exl.h delete mode 100644 keyboards/handwired/pteron/pteron.h delete mode 100644 keyboards/handwired/pteron44/pteron44.h delete mode 100644 keyboards/handwired/retro_refit/retro_refit.h delete mode 100644 keyboards/handwired/slash/slash.h delete mode 100644 keyboards/handwired/space_oddity/space_oddity.h delete mode 100644 keyboards/handwired/split65/promicro/promicro.h delete mode 100644 keyboards/handwired/split65/stm32/stm32.h delete mode 100644 keyboards/handwired/stef9998/split_5x7/rev1/rev1.h delete mode 100644 keyboards/handwired/swiftrax/beegboy/beegboy.h delete mode 100644 keyboards/handwired/swiftrax/pandamic/pandamic.h delete mode 100644 keyboards/handwired/swiftrax/unsplit/unsplit.h delete mode 100644 keyboards/handwired/symmetric70_proto/symmetric70_proto.h delete mode 100644 keyboards/handwired/t111/t111.h delete mode 100644 keyboards/handwired/terminus_mini/terminus_mini.h delete mode 100644 keyboards/handwired/traveller/traveller.h delete mode 100644 keyboards/handwired/tsubasa/tsubasa.h delete mode 100644 keyboards/handwired/twadlee/tp69/tp69.h delete mode 100644 keyboards/handwired/unicomp_mini_m/unicomp_mini_m.h delete mode 100644 keyboards/handwired/unk/rev1/rev1.h delete mode 100644 keyboards/handwired/videowriter/videowriter.h delete mode 100644 keyboards/handwired/xealous/rev1/rev1.h delete mode 100644 keyboards/handwired/z150/z150.h delete mode 100644 keyboards/handwired/zergo/zergo.h (limited to 'keyboards/handwired') diff --git a/keyboards/handwired/108key_trackpoint/108key_trackpoint.h b/keyboards/handwired/108key_trackpoint/108key_trackpoint.h deleted file mode 100644 index 100f4cb932..0000000000 --- a/keyboards/handwired/108key_trackpoint/108key_trackpoint.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - K000, K002, K003, K004, K005, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, K017, K019, K020, K021, K022, \ - \ - K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K214, K215, K216, K217, K219, K220, K221, K222, \ - K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, K316, K317, K319, K320, K321, \ - K400, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, K419, K420, K421, K422, \ - K501, K502, K503, K504, K505, K506, K507, K508, K509, K510, K511, K513, K516, K519, K520, K521, \ - K600, K601, K603, K606, K610, K611, K613, K614, K615, K616, K617, K619, K621, K622, \ - K705, K706, K707 \ -) { \ - { K000, KC_NO, K002, K003, K004, K005, KC_NO, K007, K008, K009, K010, K011, K012, K013, K014, K015, K016, K017, KC_NO, K019, K020, K021, K022 }, \ - { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ - { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, KC_NO, K214, K215, K216, K217, KC_NO, K219, K220, K221, K222 }, \ - { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, K315, K316, K317, KC_NO, K319, K320, K321, KC_NO }, \ - { K400, KC_NO, K402, K403, K404, K405, K406, K407, K408, K409, K410, K411, K412, K413, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K419, K420, K421, K422 }, \ - { KC_NO, K501, K502, K503, K504, K505, K506, K507, K508, K509, K510, K511, KC_NO, K513, KC_NO, KC_NO, K516, KC_NO, KC_NO, K519, K520, K521, KC_NO }, \ - { K600, K601, KC_NO, K603, KC_NO, KC_NO, K606, KC_NO, KC_NO, KC_NO, K610, K611, KC_NO, K613, K614, K615, K616, K617, KC_NO, K619, KC_NO, K621, K622 }, \ - { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K705, K706, K707, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \ -} diff --git a/keyboards/handwired/108key_trackpoint/info.json b/keyboards/handwired/108key_trackpoint/info.json index e771c4b8aa..605c77875d 100644 --- a/keyboards/handwired/108key_trackpoint/info.json +++ b/keyboards/handwired/108key_trackpoint/info.json @@ -18,117 +18,137 @@ "layouts": { "LAYOUT": { "layout": [ - {"label":"Esc", "x":0, "y":0}, - {"label":"F1", "x":2, "y":0}, - {"label":"F2", "x":3, "y":0}, - {"label":"F3", "x":4, "y":0}, - {"label":"F4", "x":5, "y":0}, - {"label":"F5", "x":6.5, "y":0}, - {"label":"F6", "x":7.5, "y":0}, - {"label":"F7", "x":8.5, "y":0}, - {"label":"F8", "x":9.5, "y":0}, - {"label":"F9", "x":11, "y":0}, - {"label":"F10", "x":12, "y":0}, - {"label":"F11", "x":13, "y":0}, - {"label":"F12", "x":14, "y":0}, - {"label":"Print Screen", "x":15.25, "y":0}, - {"label":"Scroll Lock", "x":16.25, "y":0}, - {"label":"Pause", "x":17.25, "y":0}, - {"label":"Mute", "x":18.5, "y":0}, - {"label":"Previous", "x":19.5, "y":0}, - {"label":"Next", "x":20.5, "y":0}, - {"label":"Play", "x":21.5, "y":0}, - {"label":"`", "x":0, "y":1.5}, - {"label":"1", "x":1, "y":1.5}, - {"label":"2", "x":2, "y":1.5}, - {"label":"3", "x":3, "y":1.5}, - {"label":"4", "x":4, "y":1.5}, - {"label":"5", "x":5, "y":1.5}, - {"label":"6", "x":6, "y":1.5}, - {"label":"7", "x":7, "y":1.5}, - {"label":"8", "x":8, "y":1.5}, - {"label":"9", "x":9, "y":1.5}, - {"label":"0", "x":10, "y":1.5}, - {"label":"-", "x":11, "y":1.5}, - {"label":"=", "x":12, "y":1.5}, - {"label":"Backspace", "x":13, "y":1.5, "w":2}, - {"label":"Insert", "x":15.25, "y":1.5}, - {"label":"Home", "x":16.25, "y":1.5}, - {"label":"Page Up", "x":17.25, "y":1.5}, - {"label":"Num Lock", "x":18.5, "y":1.5}, - {"label":"/", "x":19.5, "y":1.5}, - {"label":"*", "x":20.5, "y":1.5}, - {"label":"-", "x":21.5, "y":1.5}, - {"label":"Tab", "x":0, "y":2.5, "w":1.5}, - {"label":"Q", "x":1.5, "y":2.5}, - {"label":"W", "x":2.5, "y":2.5}, - {"label":"E", "x":3.5, "y":2.5}, - {"label":"R", "x":4.5, "y":2.5}, - {"label":"T", "x":5.5, "y":2.5}, - {"label":"Y", "x":6.5, "y":2.5}, - {"label":"U", "x":7.5, "y":2.5}, - {"label":"I", "x":8.5, "y":2.5}, - {"label":"O", "x":9.5, "y":2.5}, - {"label":"P", "x":10.5, "y":2.5}, - {"label":"[", "x":11.5, "y":2.5}, - {"label":"]", "x":12.5, "y":2.5}, - {"label":"\\", "x":13.5, "y":2.5, "w":1.5}, - {"label":"Delete", "x":15.25, "y":2.5}, - {"label":"End", "x":16.25, "y":2.5}, - {"label":"Page Down", "x":17.25, "y":2.5}, - {"label":"7", "x":18.5, "y":2.5}, - {"label":"8", "x":19.5, "y":2.5}, - {"label":"9", "x":20.5, "y":2.5}, - {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, - {"label":"A", "x":1.75, "y":3.5}, - {"label":"S", "x":2.75, "y":3.5}, - {"label":"D", "x":3.75, "y":3.5}, - {"label":"F", "x":4.75, "y":3.5}, - {"label":"G", "x":5.75, "y":3.5}, - {"label":"H", "x":6.75, "y":3.5}, - {"label":"J", "x":7.75, "y":3.5}, - {"label":"K", "x":8.75, "y":3.5}, - {"label":"L", "x":9.75, "y":3.5}, - {"label":";", "x":10.75, "y":3.5}, - {"label":"'", "x":11.75, "y":3.5}, - {"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, - {"label":"4", "x":18.5, "y":3.5}, - {"label":"5", "x":19.5, "y":3.5}, - {"label":"6", "x":20.5, "y":3.5}, - {"label":"+", "x":21.5, "y":2.5, "h":2}, - {"label":"Shift", "x":0, "y":4.5, "w":2.25}, - {"label":"Z", "x":2.25, "y":4.5}, - {"label":"X", "x":3.25, "y":4.5}, - {"label":"C", "x":4.25, "y":4.5}, - {"label":"V", "x":5.25, "y":4.5}, - {"label":"B", "x":6.25, "y":4.5}, - {"label":"N", "x":7.25, "y":4.5}, - {"label":"M", "x":8.25, "y":4.5}, - {"label":",", "x":9.25, "y":4.5}, - {"label":".", "x":10.25, "y":4.5}, - {"label":"/", "x":11.25, "y":4.5}, - {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, - {"label":"Up", "x":16.25, "y":4.5}, - {"label":"1", "x":18.5, "y":4.5}, - {"label":"2", "x":19.5, "y":4.5}, - {"label":"3", "x":20.5, "y":4.5}, - {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, - {"label":"LGUI", "x":1.25, "y":5.5, "w":1.25}, - {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, - {"label":"Space", "x":3.75, "y":5.5, "w":6.25}, - {"label":"Alt", "x":10, "y":5.5, "w":1.25}, - {"label":"RGUI", "x":11.25, "y":5.5, "w":1.25}, - {"label":"Menu", "x":12.5, "y":5.5, "w":1.25}, - {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, - {"label":"Left", "x":15.25, "y":5.5}, - {"label":"Down", "x":16.25, "y":5.5}, - {"label":"Right", "x":17.25, "y":5.5}, - {"label":"0", "x":18.5, "y":5.5, "w":2}, - {"label":".", "x":20.5, "y":5.5}, - {"label":"Enter", "x":21.5, "y":4.5, "h":2}, - {"label":"Mouse1", "x":5.25, "y":6.5}, - {"label":"Mouse3", "x":6.25, "y":6.5}, - {"label":"Mouse2", "x":7.25, "y":6.5} + {"matrix": [0, 0], "x": 0, "y": 0}, + + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + + {"matrix": [0, 7], "x": 6.5, "y": 0}, + {"matrix": [0, 8], "x": 7.5, "y": 0}, + {"matrix": [0, 9], "x": 8.5, "y": 0}, + {"matrix": [0, 10], "x": 9.5, "y": 0}, + + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + + {"matrix": [0, 15], "x": 15.25, "y": 0}, + {"matrix": [0, 16], "x": 16.25, "y": 0}, + {"matrix": [0, 17], "x": 17.25, "y": 0}, + + {"matrix": [0, 19], "x": 18.5, "y": 0}, + {"matrix": [0, 20], "x": 19.5, "y": 0}, + {"matrix": [0, 21], "x": 20.5, "y": 0}, + {"matrix": [0, 22], "x": 21.5, "y": 0}, + + {"matrix": [2, 0], "x": 0, "y": 1.5}, + {"matrix": [2, 1], "x": 1, "y": 1.5}, + {"matrix": [2, 2], "x": 2, "y": 1.5}, + {"matrix": [2, 3], "x": 3, "y": 1.5}, + {"matrix": [2, 4], "x": 4, "y": 1.5}, + {"matrix": [2, 5], "x": 5, "y": 1.5}, + {"matrix": [2, 6], "x": 6, "y": 1.5}, + {"matrix": [2, 7], "x": 7, "y": 1.5}, + {"matrix": [2, 8], "x": 8, "y": 1.5}, + {"matrix": [2, 9], "x": 9, "y": 1.5}, + {"matrix": [2, 10], "x": 10, "y": 1.5}, + {"matrix": [2, 11], "x": 11, "y": 1.5}, + {"matrix": [2, 12], "x": 12, "y": 1.5}, + {"matrix": [2, 14], "x": 13, "y": 1.5, "w": 2}, + + {"matrix": [2, 15], "x": 15.25, "y": 1.5}, + {"matrix": [2, 16], "x": 16.25, "y": 1.5}, + {"matrix": [2, 17], "x": 17.25, "y": 1.5}, + + {"matrix": [2, 19], "x": 18.5, "y": 1.5}, + {"matrix": [2, 20], "x": 19.5, "y": 1.5}, + {"matrix": [2, 21], "x": 20.5, "y": 1.5}, + {"matrix": [2, 22], "x": 21.5, "y": 1.5}, + + {"matrix": [3, 0], "x": 0, "y": 2.5, "w": 1.5}, + {"matrix": [3, 2], "x": 1.5, "y": 2.5}, + {"matrix": [3, 3], "x": 2.5, "y": 2.5}, + {"matrix": [3, 4], "x": 3.5, "y": 2.5}, + {"matrix": [3, 5], "x": 4.5, "y": 2.5}, + {"matrix": [3, 6], "x": 5.5, "y": 2.5}, + {"matrix": [3, 7], "x": 6.5, "y": 2.5}, + {"matrix": [3, 8], "x": 7.5, "y": 2.5}, + {"matrix": [3, 9], "x": 8.5, "y": 2.5}, + {"matrix": [3, 10], "x": 9.5, "y": 2.5}, + {"matrix": [3, 11], "x": 10.5, "y": 2.5}, + {"matrix": [3, 12], "x": 11.5, "y": 2.5}, + {"matrix": [3, 13], "x": 12.5, "y": 2.5}, + {"matrix": [3, 14], "x": 13.5, "y": 2.5, "w": 1.5}, + + {"matrix": [3, 15], "x": 15.25, "y": 2.5}, + {"matrix": [3, 16], "x": 16.25, "y": 2.5}, + {"matrix": [3, 17], "x": 17.25, "y": 2.5}, + + {"matrix": [3, 19], "x": 18.5, "y": 2.5}, + {"matrix": [3, 20], "x": 19.5, "y": 2.5}, + {"matrix": [3, 21], "x": 20.5, "y": 2.5}, + + {"matrix": [4, 0], "x": 0, "y": 3.5, "w": 1.75}, + {"matrix": [4, 2], "x": 1.75, "y": 3.5}, + {"matrix": [4, 3], "x": 2.75, "y": 3.5}, + {"matrix": [4, 4], "x": 3.75, "y": 3.5}, + {"matrix": [4, 5], "x": 4.75, "y": 3.5}, + {"matrix": [4, 6], "x": 5.75, "y": 3.5}, + {"matrix": [4, 7], "x": 6.75, "y": 3.5}, + {"matrix": [4, 8], "x": 7.75, "y": 3.5}, + {"matrix": [4, 9], "x": 8.75, "y": 3.5}, + {"matrix": [4, 10], "x": 9.75, "y": 3.5}, + {"matrix": [4, 11], "x": 10.75, "y": 3.5}, + {"matrix": [4, 12], "x": 11.75, "y": 3.5}, + {"matrix": [4, 13], "x": 12.75, "y": 3.5, "w": 2.25}, + + {"matrix": [4, 19], "x": 18.5, "y": 3.5}, + {"matrix": [4, 20], "x": 19.5, "y": 3.5}, + {"matrix": [4, 21], "x": 20.5, "y": 3.5}, + {"matrix": [4, 22], "x": 21.5, "y": 2.5, "h": 2}, + + {"matrix": [5, 1], "x": 0, "y": 4.5, "w": 2.25}, + {"matrix": [5, 2], "x": 2.25, "y": 4.5}, + {"matrix": [5, 3], "x": 3.25, "y": 4.5}, + {"matrix": [5, 4], "x": 4.25, "y": 4.5}, + {"matrix": [5, 5], "x": 5.25, "y": 4.5}, + {"matrix": [5, 6], "x": 6.25, "y": 4.5}, + {"matrix": [5, 7], "x": 7.25, "y": 4.5}, + {"matrix": [5, 8], "x": 8.25, "y": 4.5}, + {"matrix": [5, 9], "x": 9.25, "y": 4.5}, + {"matrix": [5, 10], "x": 10.25, "y": 4.5}, + {"matrix": [5, 11], "x": 11.25, "y": 4.5}, + {"matrix": [5, 13], "x": 12.25, "y": 4.5, "w": 2.75}, + + {"matrix": [5, 16], "x": 16.25, "y": 4.5}, + + {"matrix": [5, 19], "x": 18.5, "y": 4.5}, + {"matrix": [5, 20], "x": 19.5, "y": 4.5}, + {"matrix": [5, 21], "x": 20.5, "y": 4.5}, + + {"matrix": [6, 0], "x": 0, "y": 5.5, "w": 1.25}, + {"matrix": [6, 1], "x": 1.25, "y": 5.5, "w": 1.25}, + {"matrix": [6, 3], "x": 2.5, "y": 5.5, "w": 1.25}, + {"matrix": [6, 6], "x": 3.75, "y": 5.5, "w": 6.25}, + {"matrix": [6, 10], "x": 10, "y": 5.5, "w": 1.25}, + {"matrix": [6, 11], "x": 11.25, "y": 5.5, "w": 1.25}, + {"matrix": [6, 13], "x": 12.5, "y": 5.5, "w": 1.25}, + {"matrix": [6, 14], "x": 13.75, "y": 5.5, "w": 1.25}, + + {"matrix": [6, 15], "x": 15.25, "y": 5.5}, + {"matrix": [6, 16], "x": 16.25, "y": 5.5}, + {"matrix": [6, 17], "x": 17.25, "y": 5.5}, + + {"matrix": [6, 19], "x": 18.5, "y": 5.5, "w": 2}, + {"matrix": [6, 21], "x": 20.5, "y": 5.5}, + {"matrix": [6, 22], "x": 21.5, "y": 4.5, "h": 2}, + + {"matrix": [7, 5], "x": 5.25, "y": 6.5}, + {"matrix": [7, 6], "x": 6.25, "y": 6.5}, + {"matrix": [7, 7], "x": 7.25, "y": 6.5} ] } } diff --git a/keyboards/handwired/3dfoxc/3dfoxc.h b/keyboards/handwired/3dfoxc/3dfoxc.h deleted file mode 100644 index b632cff2ce..0000000000 --- a/keyboards/handwired/3dfoxc/3dfoxc.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright 2022 david l goodrich - * - * 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 . - */ - -#pragma once - -#include "quantum.h" - -#define XXX KC_NO - -#define LAYOUT( \ - K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ - K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \ - K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ - K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \ - K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \ -) { \ - { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ - { K10, XXX, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \ - { K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, XXX, K2F }, \ - { XXX, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, XXX, K3D, K3E, K3F }, \ - { K40, K41, XXX, K43, XXX, XXX, K46, XXX, XXX, XXX, K4A, K4B, XXX, K4D, K4E, K4F }, \ -} - -// generated by KBFirmware JSON to QMK Parser -// https://noroadsleft.github.io/kbf_qmk_converter/ diff --git a/keyboards/handwired/3dfoxc/info.json b/keyboards/handwired/3dfoxc/info.json index bafce6ccbf..6974199846 100644 --- a/keyboards/handwired/3dfoxc/info.json +++ b/keyboards/handwired/3dfoxc/info.json @@ -18,358 +18,79 @@ "layouts": { "LAYOUT": { "layout": [ - { - "label": "K00 (B0,B5)", - "x": 0, - "y": 0 - }, - { - "label": "K01 (B0,B6)", - "x": 1, - "y": 0 - }, - { - "label": "K02 (B0,B7)", - "x": 2, - "y": 0 - }, - { - "label": "K03 (B0,C0)", - "x": 3, - "y": 0 - }, - { - "label": "K04 (B0,C1)", - "x": 4, - "y": 0 - }, - { - "label": "K05 (B0,C2)", - "x": 5, - "y": 0 - }, - { - "label": "K06 (B0,C3)", - "x": 6, - "y": 0 - }, - { - "label": "K07 (B0,C4)", - "x": 7, - "y": 0 - }, - { - "label": "K08 (B0,C5)", - "x": 8, - "y": 0 - }, - { - "label": "K09 (B0,C6)", - "x": 9, - "y": 0 - }, - { - "label": "K0A (B0,C7)", - "x": 10, - "y": 0 - }, - { - "label": "K0B (B0,D0)", - "x": 11, - "y": 0 - }, - { - "label": "K0C (B0,D1)", - "x": 12, - "y": 0 - }, - { - "label": "K0D (B0,D2)", - "x": 13, - "y": 0 - }, - { - "label": "K0E (B0,D3)", - "x": 14, - "y": 0 - }, - { - "label": "K0F (B0,D4)", - "x": 15, - "y": 0 - }, - { - "label": "K10 (B1,B5)", - "x": 0, - "y": 1, - "w": 1.5 - }, - { - "label": "K12 (B1,B7)", - "x": 1.5, - "y": 1 - }, - { - "label": "K13 (B1,C0)", - "x": 2.5, - "y": 1 - }, - { - "label": "K14 (B1,C1)", - "x": 3.5, - "y": 1 - }, - { - "label": "K15 (B1,C2)", - "x": 4.5, - "y": 1 - }, - { - "label": "K16 (B1,C3)", - "x": 5.5, - "y": 1 - }, - { - "label": "K17 (B1,C4)", - "x": 6.5, - "y": 1 - }, - { - "label": "K18 (B1,C5)", - "x": 7.5, - "y": 1 - }, - { - "label": "K19 (B1,C6)", - "x": 8.5, - "y": 1 - }, - { - "label": "K1A (B1,C7)", - "x": 9.5, - "y": 1 - }, - { - "label": "K1B (B1,D0)", - "x": 10.5, - "y": 1 - }, - { - "label": "K1C (B1,D1)", - "x": 11.5, - "y": 1 - }, - { - "label": "K1D (B1,D2)", - "x": 12.5, - "y": 1 - }, - { - "label": "K1E (B1,D3)", - "x": 13.5, - "y": 1, - "w": 1.5 - }, - { - "label": "K1F (B1,D4)", - "x": 15, - "y": 1 - }, - { - "label": "K20 (B2,B5)", - "x": 0, - "y": 2, - "w": 1.75 - }, - { - "label": "K22 (B2,B7)", - "x": 1.75, - "y": 2 - }, - { - "label": "K23 (B2,C0)", - "x": 2.75, - "y": 2 - }, - { - "label": "K24 (B2,C1)", - "x": 3.75, - "y": 2 - }, - { - "label": "K25 (B2,C2)", - "x": 4.75, - "y": 2 - }, - { - "label": "K26 (B2,C3)", - "x": 5.75, - "y": 2 - }, - { - "label": "K27 (B2,C4)", - "x": 6.75, - "y": 2 - }, - { - "label": "K28 (B2,C5)", - "x": 7.75, - "y": 2 - }, - { - "label": "K29 (B2,C6)", - "x": 8.75, - "y": 2 - }, - { - "label": "K2A (B2,C7)", - "x": 9.75, - "y": 2 - }, - { - "label": "K2B (B2,D0)", - "x": 10.75, - "y": 2 - }, - { - "label": "K2C (B2,D1)", - "x": 11.75, - "y": 2 - }, - { - "label": "K2D (B2,D2)", - "x": 12.75, - "y": 2, - "w": 2.25 - }, - { - "label": "K2F (B2,D4)", - "x": 15, - "y": 2 - }, - { - "label": "K31 (B3,B6)", - "x": 0, - "y": 3, - "w": 2.25 - }, - { - "label": "K32 (B3,B7)", - "x": 2.25, - "y": 3 - }, - { - "label": "K33 (B3,C0)", - "x": 3.25, - "y": 3 - }, - { - "label": "K34 (B3,C1)", - "x": 4.25, - "y": 3 - }, - { - "label": "K35 (B3,C2)", - "x": 5.25, - "y": 3 - }, - { - "label": "K36 (B3,C3)", - "x": 6.25, - "y": 3 - }, - { - "label": "K37 (B3,C4)", - "x": 7.25, - "y": 3 - }, - { - "label": "K38 (B3,C5)", - "x": 8.25, - "y": 3 - }, - { - "label": "K39 (B3,C6)", - "x": 9.25, - "y": 3 - }, - { - "label": "K3A (B3,C7)", - "x": 10.25, - "y": 3 - }, - { - "label": "K3B (B3,D0)", - "x": 11.25, - "y": 3 - }, - { - "label": "K3D (B3,D2)", - "x": 12.25, - "y": 3, - "w": 1.75 - }, - { - "label": "K3E (B3,D3)", - "x": 14, - "y": 3 - }, - { - "label": "K3F (B3,D4)", - "x": 15, - "y": 3 - }, - { - "label": "K40 (B4,B5)", - "x": 0, - "y": 4, - "w": 1.25 - }, - { - "label": "K41 (B4,B6)", - "x": 1.25, - "y": 4, - "w": 1.25 - }, - { - "label": "K43 (B4,C0)", - "x": 2.5, - "y": 4, - "w": 1.25 - }, - { - "label": "K46 (B4,C3)", - "x": 3.75, - "y": 4, - "w": 6.25 - }, - { - "label": "K4A (B4,C7)", - "x": 10, - "y": 4, - "w": 1.25 - }, - { - "label": "K4B (B4,D0)", - "x": 11.25, - "y": 4, - "w": 1.25 - }, - { - "label": "K4D (B4,D2)", - "x": 13, - "y": 4 - }, - { - "label": "K4E (B4,D3)", - "x": 14, - "y": 4 - }, - { - "label": "K4F (B4,D4)", - "x": 15, - "y": 4 - } + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0}, + {"matrix": [0, 5], "x": 5, "y": 0}, + {"matrix": [0, 6], "x": 6, "y": 0}, + {"matrix": [0, 7], "x": 7, "y": 0}, + {"matrix": [0, 8], "x": 8, "y": 0}, + {"matrix": [0, 9], "x": 9, "y": 0}, + {"matrix": [0, 10], "x": 10, "y": 0}, + {"matrix": [0, 11], "x": 11, "y": 0}, + {"matrix": [0, 12], "x": 12, "y": 0}, + {"matrix": [0, 13], "x": 13, "y": 0}, + {"matrix": [0, 14], "x": 14, "y": 0}, + {"matrix": [0, 15], "x": 15, "y": 0}, + + {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, + {"matrix": [1, 2], "x": 1.5, "y": 1}, + {"matrix": [1, 3], "x": 2.5, "y": 1}, + {"matrix": [1, 4], "x": 3.5, "y": 1}, + {"matrix": [1, 5], "x": 4.5, "y": 1}, + {"matrix": [1, 6], "x": 5.5, "y": 1}, + {"matrix": [1, 7], "x": 6.5, "y": 1}, + {"matrix": [1, 8], "x": 7.5, "y": 1}, + {"matrix": [1, 9], "x": 8.5, "y": 1}, + {"matrix": [1, 10], "x": 9.5, "y": 1}, + {"matrix": [1, 11], "x": 10.5, "y": 1}, + {"matrix": [1, 12], "x": 11.5, "y": 1}, + {"matrix": [1, 13], "x": 12.5, "y": 1}, + {"matrix": [1, 14], "x": 13.5, "y": 1, "w": 1.5}, + {"matrix": [1, 15], "x": 15, "y": 1}, + + {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, + {"matrix": [2, 2], "x": 1.75, "y": 2}, + {"matrix": [2, 3], "x": 2.75, "y": 2}, + {"matrix": [2, 4], "x": 3.75, "y": 2}, + {"matrix": [2, 5], "x": 4.75, "y": 2}, + {"matrix": [2, 6], "x": 5.75, "y": 2}, + {"matrix": [2, 7], "x": 6.75, "y": 2}, + {"matrix": [2, 8], "x": 7.75, "y": 2}, + {"matrix": [2, 9], "x": 8.75, "y": 2}, + {"matrix": [2, 10], "x": 9.75, "y": 2}, + {"matrix": [2, 11], "x": 10.75, "y": 2}, + {"matrix": [2, 12], "x": 11.75, "y": 2}, + {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, + {"matrix": [2, 15], "x": 15, "y": 2}, + + {"matrix": [3, 1], "x": 0, "y": 3, "w": 2.25}, + {"matrix": [3, 2], "x": 2.25, "y": 3}, + {"matrix": [3, 3], "x": 3.25, "y": 3}, + {"matrix": [3, 4], "x": 4.25, "y": 3}, + {"matrix": [3, 5], "x": 5.25, "y": 3}, + {"matrix": [3, 6], "x": 6.25, "y": 3}, + {"matrix": [3, 7], "x": 7.25, "y": 3}, + {"matrix": [3, 8], "x": 8.25, "y": 3}, + {"matrix": [3, 9], "x": 9.25, "y": 3}, + {"matrix": [3, 10], "x": 10.25, "y": 3}, + {"matrix": [3, 11], "x": 11.25, "y": 3}, + {"matrix": [3, 13], "x": 12.25, "y": 3, "w": 1.75}, + {"matrix": [3, 14], "x": 14, "y": 3}, + {"matrix": [3, 15], "x": 15, "y": 3}, + + {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, + {"matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, + {"matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.25}, + {"matrix": [4, 6], "x": 3.75, "y": 4, "w": 6.25}, + {"matrix": [4, 10], "x": 10, "y": 4, "w": 1.25}, + {"matrix": [4, 11], "x": 11.25, "y": 4, "w": 1.25}, + + {"matrix": [4, 13], "x": 13, "y": 4}, + {"matrix": [4, 14], "x": 14, "y": 4}, + {"matrix": [4, 15], "x": 15, "y": 4} ] } }, diff --git a/keyboards/handwired/42/42.h b/keyboards/handwired/42/42.h deleted file mode 100644 index 5be29bf252..0000000000 --- a/keyboards/handwired/42/42.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright 2019 Angelo Gazzola (nglgzz) - * - * 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 . - */ - -#pragma once - -#include "quantum.h" - -#define ___ KC_NO -#define LAYOUT( \ - K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \ - K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \ - K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \ - K33, K34, K35, K36, K37, K38 \ -) { \ - { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \ - { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \ - { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \ - { ___, ___, ___, K33, K34, K35, K36, K37, K38, ___, ___, ___ } \ -} diff --git a/keyboards/handwired/42/info.json b/keyboards/handwired/42/info.json index f887edea52..dccafc6d86 100644 --- a/keyboards/handwired/42/info.json +++ b/keyboards/handwired/42/info.json @@ -18,51 +18,55 @@ "layouts": { "LAYOUT": { "layout": [ - {"x":0, "y":0.625}, - {"x":1, "y":0.417}, - {"x":2, "y":0.208}, - {"x":3, "y":0}, - {"x":4, "y":0.208}, - {"x":5, "y":0.417}, - {"x":8.5, "y":0.417}, - {"x":9.5, "y":0.208}, - {"x":10.5, "y":0}, - {"x":11.5, "y":0.208}, - {"x":12.5, "y":0.417}, - {"x":13.5, "y":0.625}, + {"matrix": [0, 0], "x": 0, "y": 0.625}, + {"matrix": [0, 1], "x": 1, "y": 0.417}, + {"matrix": [0, 2], "x": 2, "y": 0.208}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0.208}, + {"matrix": [0, 5], "x": 5, "y": 0.417}, - {"x":0, "y":1.625}, - {"x":1, "y":1.417}, - {"x":2, "y":1.208}, - {"x":3, "y":1}, - {"x":4, "y":1.208}, - {"x":5, "y":1.417}, - {"x":8.5, "y":1.417}, - {"x":9.5, "y":1.208}, - {"x":10.5, "y":1}, - {"x":11.5, "y":1.208}, - {"x":12.5, "y":1.417}, - {"x":13.5, "y":1.625}, + {"matrix": [0, 6], "x": 8.5, "y": 0.417}, + {"matrix": [0, 7], "x": 9.5, "y": 0.208}, + {"matrix": [0, 8], "x": 10.5, "y": 0}, + {"matrix": [0, 9], "x": 11.5, "y": 0.208}, + {"matrix": [0, 10], "x": 12.5, "y": 0.417}, + {"matrix": [0, 11], "x": 13.5, "y": 0.625}, - {"x":0, "y":2.625}, - {"x":1, "y":2.417}, - {"x":2, "y":2.208}, - {"x":3, "y":2}, - {"x":4, "y":2.208}, - {"x":5, "y":2.417}, - {"x":8.5, "y":2.417}, - {"x":9.5, "y":2.208}, - {"x":10.5, "y":2}, - {"x":11.5, "y":2.208}, - {"x":12.5, "y":2.417}, - {"x":13.5, "y":2.625}, + {"matrix": [1, 0], "x": 0, "y": 1.625}, + {"matrix": [1, 1], "x": 1, "y": 1.417}, + {"matrix": [1, 2], "x": 2, "y": 1.208}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1.208}, + {"matrix": [1, 5], "x": 5, "y": 1.417}, - {"x":4, "y":3.208}, - {"x":5, "y":3.417}, - {"x":5.75, "y":4.417}, - {"x":7.75, "y":4.417}, - {"x":8.5, "y":3.417}, - {"x":9.5, "y":3.208} + {"matrix": [1, 6], "x": 8.5, "y": 1.417}, + {"matrix": [1, 7], "x": 9.5, "y": 1.208}, + {"matrix": [1, 8], "x": 10.5, "y": 1}, + {"matrix": [1, 9], "x": 11.5, "y": 1.208}, + {"matrix": [1, 10], "x": 12.5, "y": 1.417}, + {"matrix": [1, 11], "x": 13.5, "y": 1.625}, + + {"matrix": [2, 0], "x": 0, "y": 2.625}, + {"matrix": [2, 1], "x": 1, "y": 2.417}, + {"matrix": [2, 2], "x": 2, "y": 2.208}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2.208}, + {"matrix": [2, 5], "x": 5, "y": 2.417}, + + {"matrix": [2, 6], "x": 8.5, "y": 2.417}, + {"matrix": [2, 7], "x": 9.5, "y": 2.208}, + {"matrix": [2, 8], "x": 10.5, "y": 2}, + {"matrix": [2, 9], "x": 11.5, "y": 2.208}, + {"matrix": [2, 10], "x": 12.5, "y": 2.417}, + {"matrix": [2, 11], "x": 13.5, "y": 2.625}, + + {"matrix": [3, 3], "x": 4, "y": 3.208}, + {"matrix": [3, 4], "x": 5, "y": 3.417}, + {"matrix": [3, 5], "x": 5.75, "y": 4.417}, + + {"matrix": [3, 6], "x": 7.75, "y": 4.417}, + {"matrix": [3, 7], "x": 8.5, "y": 3.417}, + {"matrix": [3, 8], "x": 9.5, "y": 3.208} ] } } diff --git a/keyboards/handwired/acacia/acacia.h b/keyboards/handwired/acacia/acacia.h deleted file mode 100644 index 060caa6adc..0000000000 --- a/keyboards/handwired/acacia/acacia.h +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright 2022 Jens Peter Secher - * - * 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 . - */ - -#pragma once - -#include "quantum.h" - -/* - * ┌───┐ ┌───┐ - * ┌───┤02 ├───┐ ┌───┤07 ├───┐ - * ┌───┤01 ├───┤03 ├───┐ ┌───┤06 ├───┤08 ├───┐ - * ┌───┤00 ├───┤12 ├───┤33 │ │36 ├───┤17 ├───┤09 ├───┐ - * │30 ├───┤11 ├───┤13 ├───┤ ├───┤16 ├───┤18 ├───┤39 │ - * ├───┤10 ├───┤22 ├───┤43 │ │46 ├───┤27 ├───┤19 ├───┤ - * │40 ├───┤21 ├───┤23 ├───┘ └───┤26 ├───┤28 ├───┤49 │ - * └───┤20 ├───┘ └───┘ └───┘ └───┤29 ├───┘ - * └───┘ ┌───┐ ┌───┬───┐ ┌───┬───┐ ┌───┐ └───┘ - * │04 │ │14 │24 ├───┐ ┌───┤25 │15 │ │05 │ - * └───┘ └───┤ │34 ├───┐ ┌───┤35 │ ├───┘ └───┘ ┌───┐ - * └───┤ │44 │ │45 │ ├───┘ │38+│ - * └───┤ │ │ ├───┘ └───┘ - * └───┘ └───┘ - * + K38 is hidden. - */ -#define LAYOUT( \ - K30, K00, K01, K02, K03, K33, K36, K06, K07, K08, K09, K39, \ - K40, K10, K11, K12, K13, K43, K46, K16, K17, K18, K19, K49, \ - K20, K21, K22, K23, K26, K27, K28, K29, \ - K04, K14, K24, K34, K44, K45, K35, K25, K15, K05, K38 \ -) { \ - { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ - { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ - { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ - { K30, KC_NO, KC_NO, K33, K34, K35, K36, KC_NO, K38, K39 }, \ - { K40, KC_NO, KC_NO, K43, K44, K45, K46, KC_NO, KC_NO, K49 }, \ -} diff --git a/keyboards/handwired/acacia/info.json b/keyboards/handwired/acacia/info.json index 8054fff3ac..65a4b49a69 100644 --- a/keyboards/handwired/acacia/info.json +++ b/keyboards/handwired/acacia/info.json @@ -20,57 +20,56 @@ "layouts": { "LAYOUT": { "layout": [ - {"label":"B", "x":0, "y":0.5}, - {"label":"Q", "x":1, "y":0}, - {"label":"W", "x":2, "y":0}, - {"label":"E", "x":3, "y":0}, - {"label":"R", "x":4, "y":0}, - {"label":"T", "x":5, "y":0.5}, + {"matrix": [3, 0], "x": 0, "y": 0.5}, + {"matrix": [0, 0], "x": 1, "y": 0}, + {"matrix": [0, 1], "x": 2, "y": 0}, + {"matrix": [0, 2], "x": 3, "y": 0}, + {"matrix": [0, 3], "x": 4, "y": 0}, + {"matrix": [3, 3], "x": 5, "y": 0.5}, - {"label":"H", "x":10.5, "y":0.5}, - {"label":"U", "x":11.5, "y":0}, - {"label":"I", "x":12.5, "y":0}, - {"label":"O", "x":13.5, "y":0}, - {"label":"P", "x":14.5, "y":0}, - {"label":"Y", "x":15.5, "y":0.5}, + {"matrix": [3, 6], "x": 10.5, "y": 0.5}, + {"matrix": [0, 6], "x": 11.5, "y": 0}, + {"matrix": [0, 7], "x": 12.5, "y": 0}, + {"matrix": [0, 8], "x": 13.5, "y": 0}, + {"matrix": [0, 9], "x": 14.5, "y": 0}, + {"matrix": [3, 9], "x": 15.5, "y": 0.5}, - {"label":"Tab", "x":0, "y":1.5}, - {"label":"A", "x":1, "y":1}, - {"label":"S", "x":2, "y":1}, - {"label":"D", "x":3, "y":1}, - {"label":"F", "x":4, "y":1}, - {"label":"G", "x":5, "y":1.5}, + {"matrix": [4, 0], "x": 0, "y": 1.5}, + {"matrix": [1, 0], "x": 1, "y": 1}, + {"matrix": [1, 1], "x": 2, "y": 1}, + {"matrix": [1, 2], "x": 3, "y": 1}, + {"matrix": [1, 3], "x": 4, "y": 1}, + {"matrix": [4, 3], "x": 5, "y": 1.5}, - {"label":"N", "x":10.5, "y":1.5}, - {"label":"J", "x":11.5, "y":1}, - {"label":"K", "x":12.5, "y":1}, - {"label":"L", "x":13.5, "y":1}, - {"label":":", "x":14.5, "y":1}, - {"label":"Enter", "x":15.5, "y":1.5}, + {"matrix": [4, 6], "x": 10.5, "y": 1.5}, + {"matrix": [1, 6], "x": 11.5, "y": 1}, + {"matrix": [1, 7], "x": 12.5, "y": 1}, + {"matrix": [1, 8], "x": 13.5, "y": 1}, + {"matrix": [1, 9], "x": 14.5, "y": 1}, + {"matrix": [4, 9], "x": 15.5, "y": 1.5}, - {"label":"Z", "x":1, "y":2}, - {"label":"X", "x":2, "y":2}, - {"label":"C", "x":3, "y":2}, - {"label":"V", "x":4, "y":2}, + {"matrix": [2, 0], "x": 1, "y": 2}, + {"matrix": [2, 1], "x": 2, "y": 2}, + {"matrix": [2, 2], "x": 3, "y": 2}, + {"matrix": [2, 3], "x": 4, "y": 2}, - {"label":"M", "x":11.5, "y":2}, - {"label":"<", "x":12.5, "y":2}, - {"label":">", "x":13.5, "y":2}, - {"label":"'", "x":14.5, "y":2}, + {"matrix": [2, 6], "x": 11.5, "y": 2}, + {"matrix": [2, 7], "x": 12.5, "y": 2}, + {"matrix": [2, 8], "x": 13.5, "y": 2}, + {"matrix": [2, 9], "x": 14.5, "y": 2}, - {"label":"Next", "x":2.25, "y":3}, - {"label":"Alt", "x":3.5, "y":3}, - {"label":"BS", "x":4.5, "y":3}, - {"label":"Esc", "x":5.5, "y":3}, - {"label":"Shift", "x":6.5, "y":3}, + {"matrix": [0, 4], "x": 2.25, "y": 3}, + {"matrix": [1, 4], "x": 3.5, "y": 3}, + {"matrix": [2, 4], "x": 4.5, "y": 3}, + {"matrix": [3, 4], "x": 5.5, "y": 3}, + {"matrix": [4, 4], "x": 6.5, "y": 3}, + {"matrix": [4, 5], "x": 9.25, "y": 3}, - {"label":"RAlt", "x":9.25, "y":3}, - {"label":"Space", "x":10.25, "y":3}, - {"label":"Del", "x":11.25, "y":3}, - {"label":"Alt", "x":12.25, "y":3}, - {"label":"Play", "x":13.5, "y":3}, - - {"label":"Debug", "x":8, "y":1} + {"matrix": [3, 5], "x": 10.25, "y": 3}, + {"matrix": [2, 5], "x": 11.25, "y": 3}, + {"matrix": [1, 5], "x": 12.25, "y": 3}, + {"matrix": [0, 5], "x": 13.5, "y": 3}, + {"matrix": [3, 8], "x": 8, "y": 1} ] } } diff --git a/keyboards/handwired/aek64/aek64.h b/keyboards/handwired/aek64/aek64.h deleted file mode 100644 index 6378448760..0000000000 --- a/keyboards/handwired/aek64/aek64.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -Copyright 2012,2013 Jun Wako <4sStylZ@protonmail.ch> - -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 . -*/ -#pragma once - -#include "quantum.h" - -/* Alps64 physical definition macro */ -#define LAYOUT( \ - k00, k01, k02, k03 , k04 , k05 , k06, k07 , k08 , k09 , k010 , k011, k012, k013 , \ - k10, k11, k12, k13 , k14 , k15 , k16, k17 , k18 , k19 , k110 , k111, k112, \ - k20, k21, k22, k23 , k24 , k25 , k26, k27 , k28 , k29 , k210 , k211, k212, k213 , \ - k30, k31, k32, k33 , k34 , k35 , k36, k37 , k38 , k39 , k310 , k311, k312, \ - k40, k41, k42, k46, k411, k412, k413 \ -) { \ - { k00, k01, k02, k03 , k04 , k05 , k06, k07 , k08 , k09 , k010 , k011, k012, k013 }, \ - { k10, k11, k12, k13 , k14 , k15 , k16, k17 , k18 , k19 , k110 , k111, k112, KC_NO }, \ - { k20, k21, k22, k23 , k24 , k25 , k26, k27 , k28 , k29 , k210 , k211, k212, k213 }, \ - { k30, k31, k32, k33 , k34 , k35 , k36, k37 , k38 , k39 , k310 , k311, k312, KC_NO }, \ - { k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, KC_NO, k411, k412, k413 }, \ -} diff --git a/keyboards/handwired/aek64/info.json b/keyboards/handwired/aek64/info.json index 4c71a69358..dfa762ce81 100644 --- a/keyboards/handwired/aek64/info.json +++ b/keyboards/handwired/aek64/info.json @@ -21,8 +21,74 @@ "processor": "at90usb1286", "bootloader": "halfkay", "layouts": { - "LAYOUT": { - "layout": [{"label":"Esc", "x":0, "y":0, "w":1.25}, {"label":"1", "x":1.25, "y":0}, {"label":"2", "x":2.25, "y":0}, {"label":"3", "x":3.25, "y":0}, {"label":"4", "x":4.25, "y":0}, {"label":"5", "x":5.25, "y":0}, {"label":"6", "x":6.25, "y":0}, {"label":"7", "x":7.25, "y":0}, {"label":"8", "x":8.25, "y":0}, {"label":"9", "x":9.25, "y":0}, {"label":"0", "x":10.25, "y":0}, {"label":"\u00b0", "x":11.25, "y":0}, {"label":"+", "x":12.25, "y":0}, {"label":"Backspace", "x":13.25, "y":0, "w":1.75}, {"label":"Tab", "x":0, "y":1, "w":1.75}, {"label":"A", "x":1.75, "y":1}, {"label":"Z", "x":2.75, "y":1}, {"label":"E", "x":3.75, "y":1}, {"label":"R", "x":4.75, "y":1}, {"label":"T", "x":5.75, "y":1}, {"label":"Y", "x":6.75, "y":1}, {"label":"U", "x":7.75, "y":1}, {"label":"I", "x":8.75, "y":1}, {"label":"O", "x":9.75, "y":1}, {"label":"P", "x":10.75, "y":1}, {"label":"{", "x":11.75, "y":1}, {"label":"}", "x":12.75, "y":1}, {"label":"Caps Lock", "x":0, "y":2, "w":2}, {"label":"Q", "x":2, "y":2}, {"label":"S", "x":3, "y":2}, {"label":"D", "x":4, "y":2}, {"label":"F", "x":5, "y":2}, {"label":"G", "x":6, "y":2}, {"label":"H", "x":7, "y":2}, {"label":"J", "x":8, "y":2}, {"label":"K", "x":9, "y":2}, {"label":"L", "x":10, "y":2}, {"label":"M", "x":11, "y":2}, {"label":"%", "x":12, "y":2}, {"label":"µ", "x":13, "y":2}, {"label":"Enter", "x":14, "y":1, "h":2}, {"label":"Shift", "x":0, "y":3, "w":1.5}, {"label":">", "x":1.5, "y":3}, {"label":"W", "x":2.5, "y":3}, {"label":"X", "x":3.5, "y":3}, {"label":"C", "x":4.5, "y":3}, {"label":"V", "x":5.5, "y":3}, {"label":"B", "x":6.5, "y":3}, {"label":"N", "x":7.5, "y":3}, {"label":"?", "x":8.5, "y":3}, {"label":".", "x":9.5, "y":3}, {"label":"/", "x":10.5, "y":3}, {"label":"§", "x":11.5, "y":3}, {"label":"Shift", "x":12.5, "y":3, "w":2.5}, {"label":"Ctrl", "x":0, "y":4, "w":1.5}, {"label":"Opt", "x":1.5, "y":4, "w":1.25}, {"label":"Cmd", "x":2.75, "y":4, "w":1.5}, {"label":"Space", "x":4.25, "y":4, "w":6.5}, {"label":"Cmd", "x":10.75, "y":4, "w":1.5}, {"label":"Opt", "x":12.25, "y":4, "w":1.25}, {"label":"Ctrl", "x":13.5, "y":4, "w":1.5}] - } + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0, "w": 1.25}, + {"matrix": [0, 1], "x": 1.25, "y": 0}, + {"matrix": [0, 2], "x": 2.25, "y": 0}, + {"matrix": [0, 3], "x": 3.25, "y": 0}, + {"matrix": [0, 4], "x": 4.25, "y": 0}, + {"matrix": [0, 5], "x": 5.25, "y": 0}, + {"matrix": [0, 6], "x": 6.25, "y": 0}, + {"matrix": [0, 7], "x": 7.25,