From a747c1c3dee728f5124a8effb8f52819f643de5f Mon Sep 17 00:00:00 2001 From: James Young <18669334+noroadsleft@users.noreply.github.com> Date: Sat, 21 Mar 2020 15:36:27 -0700 Subject: [PATCH] FLX Lodestone: add ANSI and ISO layout data and keymaps (#8481) * Lodestone: add ANSI and ISO layout data and keymaps * rename layout macros LAYOUT_ansi -> LAYOUT_65_ansi_blocker_split_bs LAYOUT_iso -> LAYOUT_65_iso_blocker_split_bs * use four-space indent on the new keymaps * add 65_ansi_blocker and 65_iso_blocker layouts --- keyboards/flx/lodestone/info.json | 445 ++++++++++++++---- .../lodestone/keymaps/default_ansi/keymap.c | 20 + .../lodestone/keymaps/default_ansi/readme.md | 1 + .../lodestone/keymaps/default_iso/keymap.c | 20 + .../lodestone/keymaps/default_iso/readme.md | 1 + keyboards/flx/lodestone/lodestone.h | 56 +++ keyboards/flx/lodestone/rules.mk | 2 + 7 files changed, 466 insertions(+), 79 deletions(-) create mode 100644 keyboards/flx/lodestone/keymaps/default_ansi/keymap.c create mode 100644 keyboards/flx/lodestone/keymaps/default_ansi/readme.md create mode 100644 keyboards/flx/lodestone/keymaps/default_iso/keymap.c create mode 100644 keyboards/flx/lodestone/keymaps/default_iso/readme.md diff --git a/keyboards/flx/lodestone/info.json b/keyboards/flx/lodestone/info.json index 52f5580b134..f52249126d8 100644 --- a/keyboards/flx/lodestone/info.json +++ b/keyboards/flx/lodestone/info.json @@ -1,84 +1,371 @@ { "keyboard_name": "lodestone", - "url": "https://prototypist.net/", + "url": "https://prototypist.net/", "maintainer": "Flexerm", - "width": 16, - "height": 5, + "width": 16, + "height": 5, "layouts": { "LAYOUT_all": { - "layout": [ - {"label":"K00 (B3,B2)", "x":0, "y":0}, - {"label":"K01 (B3,F5)", "x":1, "y":0}, - {"label":"K02 (B3,F6)", "x":2, "y":0}, - {"label":"K03 (B3,D0)", "x":3, "y":0}, - {"label":"K04 (B3,D1)", "x":4, "y":0}, - {"label":"K05 (B3,D2)", "x":5, "y":0}, - {"label":"K06 (B3,D3)", "x":6, "y":0}, - {"label":"K07 (B3,D5)", "x":7, "y":0}, - {"label":"K08 (B3,D4)", "x":8, "y":0}, - {"label":"K09 (B3,D6)", "x":9, "y":0}, - {"label":"K0A (B3,D7)", "x":10, "y":0}, - {"label":"K0B (B3,B4)", "x":11, "y":0}, - {"label":"K0C (B3,B5)", "x":12, "y":0}, - {"label":"K0D (B3,B6)", "x":13, "y":0}, - {"label":"K0E (B3,C6)", "x":14, "y":0}, - {"label":"K0F (B3,C7)", "x":15, "y":0}, - {"label":"K10 (B7,B2)", "x":0, "y":1, "w":1.5}, - {"label":"K11 (B7,F5)", "x":1.5, "y":1}, - {"label":"K12 (B7,F6)", "x":2.5, "y":1}, - {"label":"K13 (B7,D0)", "x":3.5, "y":1}, - {"label":"K14 (B7,D1)", "x":4.5, "y":1}, - {"label":"K15 (B7,D2)", "x":5.5, "y":1}, - {"label":"K16 (B7,D3)", "x":6.5, "y":1}, - {"label":"K17 (B7,D5)", "x":7.5, "y":1}, - {"label":"K18 (B7,D4)", "x":8.5, "y":1}, - {"label":"K19 (B7,D6)", "x":9.5, "y":1}, - {"label":"K1A (B7,D7)", "x":10.5, "y":1}, - {"label":"K1B (B7,B4)", "x":11.5, "y":1}, - {"label":"K1C (B7,B5)", "x":12.5, "y":1}, - {"label":"K1D (B7,B6)", "x":13.5, "y":1, "w":1.5}, - {"label":"K1F (B7,C7)", "x":15, "y":1}, - {"label":"K20 (F0,B2)", "x":0, "y":2, "w":1.75}, - {"label":"K21 (F0,F5)", "x":1.75, "y":2}, - {"label":"K22 (F0,F6)", "x":2.75, "y":2}, - {"label":"K23 (F0,D0)", "x":3.75, "y":2}, - {"label":"K24 (F0,D1)", "x":4.75, "y":2}, - {"label":"K25 (F0,D2)", "x":5.75, "y":2}, - {"label":"K26 (F0,D3)", "x":6.75, "y":2}, - {"label":"K27 (F0,D5)", "x":7.75, "y":2}, - {"label":"K28 (F0,D4)", "x":8.75, "y":2}, - {"label":"K29 (F0,D6)", "x":9.75, "y":2}, - {"label":"K2A (F0,D7)", "x":10.75, "y":2}, - {"label":"K2B (F0,B4)", "x":11.75, "y":2}, - {"label":"K2C (F0,B5)", "x":12.75, "y":2}, - {"label":"K2D (F0,B6)", "x":13.75, "y":2, "w":1.25}, - {"label":"K2F (F0,C7)", "x":15, "y":2}, - {"label":"K30 (F1,B2)", "x":0, "y":3, "w":1.25}, - {"label":"K31 (F1,F5)", "x":1.25, "y":3}, - {"label":"K32 (F1,F6)", "x":2.25, "y":3}, - {"label":"K33 (F1,D0)", "x":3.25, "y":3}, - {"label":"K34 (F1,D1)", "x":4.25, "y":3}, - {"label":"K35 (F1,D2)", "x":5.25, "y":3}, - {"label":"K36 (F1,D3)", "x":6.25, "y":3}, - {"label":"K37 (F1,D5)", "x":7.25, "y":3}, - {"label":"K38 (F1,D4)", "x":8.25, "y":3}, - {"label":"K39 (F1,D6)", "x":9.25, "y":3}, - {"label":"K3A (F1,D7)", "x":10.25, "y":3}, - {"label":"K3B (F1,B4)", "x":11.25, "y":3}, - {"label":"K3C (F1,B5)", "x":12.25, "y":3, "w":1.75}, - {"label":"K3E (F1,C6)", "x":14, "y":3}, - {"label":"K3F (F1,C7)", "x":15, "y":3}, - {"label":"K40 (F4,B2)", "x":0, "y":4, "w":1.225}, - {"label":"K41 (F4,F5)", "x":1.25, "y":4, "w":1.25}, - {"label":"K42 (F4,F6)", "x":2.5, "y":4, "w":1.25}, - {"label":"K46 (F4,D3)", "x":3.75, "y":4, "w":6.25}, - {"label":"K4A (F4,D7)", "x":10, "y":4, "w":1.25}, - {"label":"K4B (F4,B4)", "x":11.25, "y":4, "w":1.25}, - {"label":"K4D (F4,B6)", "x":13, "y":4}, - {"label":"K4E (F4,C6)", "x":14, "y":4}, - {"label":"K4F (F4,C7)", "x":15, "y":4} - ] - } - } - } - + "layout": [ + {"label":"K00 (B3,B2)", "x":0, "y":0}, + {"label":"K01 (B3,F5)", "x":1, "y":0}, + {"label":"K02 (B3,F6)", "x":2, "y":0}, + {"label":"K03 (B3,D0)", "x":3, "y":0}, + {"label":"K04 (B3,D1)", "x":4, "y":0}, + {"label":"K05 (B3,D2)", "x":5, "y":0}, + {"label":"K06 (B3,D3)", "x":6, "y":0}, + {"label":"K07 (B3,D5)", "x":7, "y":0}, + {"label":"K08 (B3,D4)", "x":8, "y":0}, + {"label":"K09 (B3,D6)", "x":9, "y":0}, + {"label":"K0A (B3,D7)", "x":10, "y":0}, + {"label":"K0B (B3,B4)", "x":11, "y":0}, + {"label":"K0C (B3,B5)", "x":12, "y":0}, + {"label":"K0D (B3,B6)", "x":13, "y":0}, + {"label":"K0E (B3,C6)", "x":14, "y":0}, + {"label":"K0F (B3,C7)", "x":15, "y":0}, + {"label":"K10 (B7,B2)", "x":0, "y":1, "w":1.5}, + {"label":"K11 (B7,F5)", "x":1.5, "y":1}, + {"label":"K12 (B7,F6)", "x":2.5, "y":1}, + {"label":"K13 (B7,D0)", "x":3.5, "y":1}, + {"label":"K14 (B7,D1)", "x":4.5, "y":1}, + {"label":"K15 (B7,D2)", "x":5.5, "y":1}, + {"label":"K16 (B7,D3)", "x":6.5, "y":1}, + {"label":"K17 (B7,D5)", "x":7.5, "y":1}, + {"label":"K18 (B7,D4)", "x":8.5, "y":1}, + {"label":"K19 (B7,D6)", "x":9.5, "y":1}, + {"label":"K1A (B7,D7)", "x":10.5, "y":1}, + {"label":"K1B (B7,B4)", "x":11.5, "y":1}, + {"label":"K1C (B7,B5)", "x":12.5, "y":1}, + {"label":"K1D (B7,B6)", "x":13.5, "y":1, "w":1.5}, + {"label":"K1F (B7,C7)", "x":15, "y":1}, + {"label":"K20 (F0,B2)", "x":0, "y":2, "w":1.75}, + {"label":"K21 (F0,F5)", "x":1.75, "y":2}, + {"label":"K22 (F0,F6)", "x":2.75, "y":2}, + {"label":"K23 (F0,D0)", "x":3.75, "y":2}, + {"label":"K24 (F0,D1)", "x":4.75, "y":2}, + {"label":"K25 (F0,D2)", "x":5.75, "y":2}, + {"label":"K26 (F0,D3)", "x":6.75, "y":2}, + {"label":"K27 (F0,D5)", "x":7.75, "y":2}, + {"label":"K28 (F0,D4)", "x":8.75, "y":2}, + {"label":"K29 (F0,D6)", "x":9.75, "y":2}, + {"label":"K2A (F0,D7)", "x":10.75, "y":2}, + {"label":"K2B (F0,B4)", "x":11.75, "y":2}, + {"label":"K2C (F0,B5)", "x":12.75, "y":2}, + {"label":"K2D (F0,B6)", "x":13.75, "y":2, "w":1.25}, + {"label":"K2F (F0,C7)", "x":15, "y":2}, + {"label":"K30 (F1,B2)", "x":0, "y":3, "w":1.25}, + {"label":"K31 (F1,F5)", "x":1.25, "y":3}, + {"label":"K32 (F1,F6)", "x":2.25, "y":3}, + {"label":"K33 (F1,D0)", "x":3.25, "y":3}, + {"label":"K34 (F1,D1)", "x":4.25, "y":3}, + {"label":"K35 (F1,D2)", "x":5.25, "y":3}, + {"label":"K36 (F1,D3)", "x":6.25, "y":3}, + {"label":"K37 (F1,D5)", "x":7.25, "y":3}, + {"label":"K38 (F1,D4)", "x":8.25, "y":3}, + {"label":"K39 (F1,D6)", "x":9.25, "y":3}, + {"label":"K3A (F1,D7)", "x":10.25, "y":3}, + {"label":"K3B (F1,B4)", "x":11.25, "y":3}, + {"label":"K3C (F1,B5)", "x":12.25, "y":3, "w":1.75}, + {"label":"K3E (F1,C6)", "x":14, "y":3}, + {"label":"K3F (F1,C7)", "x":15, "y":3}, + {"label":"K40 (F4,B2)", "x":0, "y":4, "w":1.225}, + {"label":"K41 (F4,F5)", "x":1.25, "y":4, "w":1.25}, + {"label":"K42 (F4,F6)", "x":2.5, "y":4, "w":1.25}, + {"label":"K46 (F4,D3)", "x":3.75, "y":4, "w":6.25}, + {"label":"K4A (F4,D7)", "x":10, "y":4, "w":1.25}, + {"label":"K4B (F4,B4)", "x":11.25, "y":4, "w":1.25}, + {"label":"K4D (F4,B6)", "x":13, "y":4}, + {"label":"K4E (F4,C6)", "x":14, "y":4}, + {"label":"K4F (F4,C7)", "x":15, "y":4} + ] + }, + "LAYOUT_65_ansi_blocker": { + "layout": [ + {"label":"K00 (B3,B2)", "x":0, "y":0}, + {"label":"K01 (B3,F5)", "x":1, "y":0}, + {"label":"K02 (B3,F6)", "x":2, "y":0}, + {"label":"K03 (B3,D0)", "x":3, "y":0}, + {"label":"K04 (B3,D1)", "x":4, "y":0}, + {"label":"K05 (B3,D2)", "x":5, "y":0}, + {"label":"K06 (B3,D3)", "x":6, "y":0}, + {"label":"K07 (B3,D5)", "x":7, "y":0}, + {"label":"K08 (B3,D4)", "x":8, "y":0}, + {"label":"K09 (B3,D6)", "x":9, "y":0}, + {"label":"K0A (B3,D7)", "x":10, "y":0}, + {"label":"K0B (B3,B4)", "x":11, "y":0}, + {"label":"K0C (B3,B5)", "x":12, "y":0}, + {"label":"K0D (B3,B6)", "x":13, "y":0, "w":2}, + {"label":"K0F (B3,C7)", "x":15, "y":0}, + {"label":"K10 (B7,B2)", "x":0, "y":1, "w":1.5}, + {"label":"K11 (B7,F5)", "x":1.5, "y":1}, + {"label":"K12 (B7,F6)", "x":2.5, "y":1}, + {"label":"K13 (B7,D0)", "x":3.5, "y":1}, + {"label":"K14 (B7,D1)", "x":4.5, "y":1}, + {"label":"K15 (B7,D2)", "x":5.5, "y":1}, + {"label":"K16 (B7,D3)", "x":6.5, "y":1}, + {"label":"K17 (B7,D5)", "x":7.5, "y":1}, + {"label":"K18 (B7,D4)", "x":8.5, "y":1}, + {"label":"K19 (B7,D6)", "x":9.5, "y":1}, + {"label":"K1A (B7,D7)", "x":10.5, "y":1}, + {"label":"K1B (B7,B4)", "x":11.5, "y":1}, + {"label":"K1C (B7,B5)", "x":12.5, "y":1}, + {"label":"K1D (B7,B6)", "x":13.5, "y":1, "w":1.5}, + {"label":"K1F (B7,C7)", "x":15, "y":1}, + {"label":"K20 (F0,B2)", "x":0, "y":2, "w":1.75}, + {"label":"K21 (F0,F5)", "x":1.75, "y":2}, + {"label":"K22 (F0,F6)", "x":2.75, "y":2}, + {"label":"K23 (F0,D0)", "x":3.75, "y":2}, + {"label":"K24 (F0,D1)", "x":4.75, "y":2}, + {"label":"K25 (F0,D2)", "x":5.75, "y":2}, + {"label":"K26 (F0,D3)", "x":6.75, "y":2}, + {"label":"K27 (F0,D5)", "x":7.75, "y":2}, + {"label":"K28 (F0,D4)", "x":8.75, "y":2}, + {"label":"K29 (F0,D6)", "x":9.75, "y":2}, + {"label":"K2A (F0,D7)", "x":10.75, "y":2}, + {"label":"K2B (F0,B4)", "x":11.75, "y":2}, + {"label":"K2D (F0,B6)", "x":12.75, "y":2, "w":2.25}, + {"label":"K2F (F0,C7)", "x":15, "y":2}, + {"label":"K30 (F1,B2)", "x":0, "y":3, "w":2.25}, + {"label":"K32 (F1,F6)", "x":2.25, "y":3}, + {"label":"K33 (F1,D0)", "x":3.25, "y":3}, + {"label":"K34 (F1,D1)", "x":4.25, "y":3}, + {"label":"K35 (F1,D2)", "x":5.25, "y":3}, + {"label":"K36 (F1,D3)", "x":6.25, "y":3}, + {"label":"K37 (F1,D5)", "x":7.25, "y":3}, + {"label":"K38 (F1,D4)", "x":8.25, "y":3}, + {"label":"K39 (F1,D6)", "x":9.25, "y":3}, + {"label":"K3A (F1,D7)", "x":10.25, "y":3}, + {"label":"K3B (F1,B4)", "x":11.25, "y":3}, + {"label":"K3C (F1,B5)", "x":12.25, "y":3, "w":1.75}, + {"label":"K3E (F1,C6)", "x":14, "y":3}, + {"label":"K3F (F1,C7)", "x":15, "y":3}, + {"label":"K40 (F4,B2)", "x":0, "y":4, "w":1.225}, + {"label":"K41 (F4,F5)", "x":1.25, "y":4, "w":1.25}, + {"label":"K42 (F4,F6)", "x":2.5, "y":4, "w":1.25}, + {"label":"K46 (F4,D3)", "x":3.75, "y":4, "w":6.25}, + {"label":"K4A (F4,D7)", "x":10, "y":4, "w":1.25}, + {"label":"K4B (F4,B4)", "x":11.25, "y":4, "w":1.25}, + {"label":"K4D (F4,B6)", "x":13, "y":4}, + {"label":"K4E (F4,C6)", "x":14, "y":4}, + {"label":"K4F (F4,C7)", "x":15, "y":4} + ] + }, + "LAYOUT_65_ansi_blocker_split_bs": { + "layout": [ + {"label":"K00 (B3,B2)", "x":0, "y":0}, + {"label":"K01 (B3,F5)", "x":1, "y":0}, + {"label":"K02 (B3,F6)", "x":2, "y":0}, + {"label":"K03 (B3,D0)", "x":3, "y":0}, + {"label":"K04 (B3,D1)", "x":4, "y":0}, + {"label":"K05 (B3,D2)", "x":5, "y":0}, + {"label":"K06 (B3,D3)", "x":6, "y":0}, + {"label":"K07 (B3,D5)", "x":7, "y":0}, + {"label":"K08 (B3,D4)", "x":8, "y":0}, + {"label":"K09 (B3,D6)", "x":9, "y":0}, + {"label":"K0A (B3,D7)", "x":10, "y":0}, + {"label":"K0B (B3,B4)", "x":11, "y":0}, + {"label":"K0C (B3,B5)", "x":12, "y":0}, + {"label":"K0D (B3,B6)", "x":13, "y":0}, + {"label":"K0E (B3,C6)", "x":14, "y":0}, + {"label":"K0F (B3,C7)", "x":15, "y":0}, + {"label":"K10 (B7,B2)", "x":0, "y":1, "w":1.5}, + {"label":"K11 (B7,F5)", "x":1.5, "y":1}, + {"label":"K12 (B7,F6)", "x":2.5, "y":1}, + {"label":"K13 (B7,D0)", "x":3.5, "y":1}, + {"label":"K14 (B7,D1)", "x":4.5, "y":1}, + {"label":"K15 (B7,D2)", "x":5.5, "y":1}, + {"label":"K16 (B7,D3)", "x":6.5, "y":1}, + {"label":"K17 (B7,D5)", "x":7.5, "y":1}, + {"label":"K18 (B7,D4)", "x":8.5, "y":1}, + {"label":"K19 (B7,D6)", "x":9.5, "y":1}, + {"label":"K1A (B7,D7)", "x":10.5, "y":1}, + {"label":"K1B (B7,B4)", "x":11.5, "y":1}, + {"label":"K1C (B7,B5)", "x":12.5, "y":1}, + {"label":"K1D (B7,B6)", "x":13.5, "y":1, "w":1.5}, + {"label":"K1F (B7,C7)", "x":15, "y":1}, + {"label":"K20 (F0,B2)", "x":0, "y":2, "w":1.75}, + {"label":"K21 (F0,F5)", "x":1.75, "y":2}, + {"label":"K22 (F0,F6)", "x":2.75, "y":2}, + {"label":"K23 (F0,D0)", "x":3.75, "y":2}, + {"label":"K24 (F0,D1)", "x":4.75, "y":2}, + {"label":"K25 (F0,D2)", "x":5.75, "y":2}, + {"label":"K26 (F0,D3)", "x":6.75, "y":2}, + {"label":"K27 (F0,D5)", "x":7.75, "y":2}, + {"label":"K28 (F0,D4)", "x":8.75, "y":2}, + {"label":"K29 (F0,D6)", "x":9.75, "y":2}, + {"label":"K2A (F0,D7)", "x":10.75, "y":2}, + {"label":"K2B (F0,B4)", "x":11.75, "y":2}, + {"label":"K2D (F0,B6)", "x":12.75, "y":2, "w":2.25}, + {"label":"K2F (F0,C7)", "x":15, "y":2}, + {"label":"K30 (F1,B2)", "x":0, "y":3, "w":2.25}, + {"label":"K32 (F1,F6)", "x":2.25, "y":3}, + {"label":"K33 (F1,D0)", "x":3.25, "y":3}, + {"label":"K34 (F1,D1)", "x":4.25, "y":3}, + {"label":"K35 (F1,D2)", "x":5.25, "y":3}, + {"label":"K36 (F1,D3)", "x":6.25, "y":3}, + {"label":"K37 (F1,D5)", "x":7.25, "y":3}, + {"label":"K38 (F1,D4)", "x":8.25, "y":3}, + {"label":"K39 (F1,D6)", "x":9.25, "y":3}, + {"label":"K3A (F1,D7)", "x":10.25, "y":3}, + {"label":"K3B (F1,B4)", "x":11.25, "y":3}, + {"label":"K3C (F1,B5)", "x":12.25, "y":3, "w":1.75}, + {"label":"K3E (F1,C6)", "x":14, "y":3}, + {"label":"K3F (F1,C7)", "x":15, "y":3}, + {"label":"K40 (F4,B2)", "x":0, "y":4, "w":1.225}, + {"label":"K41 (F4,F5)", "x":1.25, "y":4, "w":1.25}, + {"label":"K42 (F4,F6)", "x":2.5, "y":4, "w":1.25}, + {"label":"K46 (F4,D3)", "x":3.75, "y":4, "w":6.25}, + {"label":"K4A (F4,D7)", "x":10, "y":4, "w":1.25}, + {"label":"K4B (F4,B4)", "x":11.25, "y":4, "w":1.25}, + {"label":"K4D (F4,B6)", "x":13, "y":4}, + {"label":"K4E (F4,C6)", "x":14, "y":4}, + {"label":"K4F (F4,C7)", "x":15, "y":4} + ] + }, + "LAYOUT_65_iso_blocker": { + "layout": [ + {"label":"K00 (B3,B2)", "x":0, "y":0}, + {"label":"K01 (B3,F5)", "x":1, "y":0}, + {"label":"K02 (B3,F6)", "x":2, "y":0}, + {"label":"K03 (B3,D0)", "x":3, "y":0}, + {"label":"K04 (B3,D1)", "x":4, "y":0}, + {"label":"K05 (B3,D2)", "x":5, "y":0}, + {"label":"K06 (B3,D3)", "x":6, "y":0}, + {"label":"K07 (B3,D5)", "x":7, "y":0}, + {"label":"K08 (B3,D4)", "x":8, "y":0}, + {"label":"K09 (B3,D6)", "x":9, "y":0}, + {"label":"K0A (B3,D7)", "x":10, "y":0}, + {"label":"K0B (B3,B4)", "x":11, "y":0}, + {"label":"K0C (B3,B5)", "x":12, "y":0}, + {"label":"K0D (B3,B6)", "x":13, "y":0, "w":2}, + {"label":"K0F (B3,C7)", "x":15, "y":0}, + {"label":"K10 (B7,B2)", "x":0, "y":1, "w":1.5}, + {"label":"K11 (B7,F5)", "x":1.5, "y":1}, + {"label":"K12 (B7,F6)", "x":2.5, "y":1}, + {"label":"K13 (B7,D0)", "x":3.5, "y":1}, + {"label":"K14 (B7,D1)", "x":4.5, "y":1}, + {"label":"K15 (B7,D2)", "x":5.5, "y":1}, + {"label":"K16 (B7,D3)", "x":6.5, "y":1}, + {"label":"K17 (B7,D5)", "x":7.5, "y":1}, + {"label":"K18 (B7,D4)", "x":8.5, "y":1}, + {"label":"K19 (B7,D6)", "x":9.5, "y":1}, + {"label":"K1A (B7,D7)", "x":10.5, "y":1}, + {"label":"K1B (B7,B4)", "x":11.5, "y":1}, + {"label":"K1C (B7,B5)", "x":12.5, "y":1}, + {"label":"K1F (B7,C7)", "x":15, "y":1}, + {"label":"K20 (F0,B2)", "x":0, "y":2, "w":1.75}, + {"label":"K21 (F0,F5)", "x":1.75, "y":2}, + {"label":"K22 (F0,F6)", "x":2.75, "y":2}, + {"label":"K23 (F0,D0)", "x":3.75, "y":2}, + {"label":"K24 (F0,D1)", "x":4.75, "y":2}, + {"label":"K25 (F0,D2)", "x":5.75, "y":2}, + {"label":"K26 (F0,D3)", "x":6.75, "y":2}, + {"label":"K27 (F0,D5)", "x":7.75, "y":2}, + {"label":"K28 (F0,D4)", "x":8.75, "y":2}, + {"label":"K29 (F0,D6)", "x":9.75, "y":2}, + {"label":"K2A (F0,D7)", "x":10.75, "y":2}, + {"label":"K2B (F0,B4)", "x":11.75, "y":2}, + {"label":"K2C (F0,B5)", "x":12.75, "y":2}, + {"label":"K2D (F0,B6)", "x":13.75, "y":1, "w":1.25, "h":2}, + {"label":"K2F (F0,C7)", "x":15, "y":2}, + {"label":"K30 (F1,B2)", "x":0, "y":3, "w":1.25}, + {"label":"K31 (F1,F5)", "x":1.25, "y":3}, + {"label":"K32 (F1,F6)", "x":2.25, "y":3}, + {"label":"K33 (F1,D0)", "x":3.25, "y":3}, + {"label":"K34 (F1,D1)", "x":4.25, "y":3}, + {"label":"K35 (F1,D2)", "x":5.25, "y":3}, + {"label":"K36 (F1,D3)", "x":6.25, "y":3}, + {"label":"K37 (F1,D5)", "x":7.25, "y":3}, + {"label":"K38 (F1,D4)", "x":8.25, "y":3}, + {"label":"K39 (F1,D6)", "x":9.25, "y":3}, + {"label":"K3A (F1,D7)", "x":10.25, "y":3}, + {"label":"K3B (F1,B4)", "x":11.25, "y":3}, + {"label":"K3C (F1,B5)", "x":12.25, "y":3, "w":1.75}, + {"label":"K3E (F1,C6)", "x":14, "y":3}, + {"label":"K3F (F1,C7)", "x":15, "y":3}, + {"label":"K40 (F4,B2)", "x":0, "y":4, "w":1.225}, + {"label":"K41 (F4,F5)", "x":1.25, "y":4, "w":1.25}, + {"label":"K42 (F4,F6)", "x":2.5, "y":4, "w":1.25}, + {"label":"K46 (F4,D3)", "x":3.75, "y":4, "w":6.25}, + {"label":"K4A (F4,D7)", "x":10, "y":4, "w":1.25}, + {"label":"K4B (F4,B4)", "x":11.25, "y":4, "w":1.25}, + {"label":"K4D (F4,B6)", "x":13, "y":4}, + {"label":"K4E (F4,C6)", "x":14, "y":4}, + {"label":"K4F (F4,C7)", "x":15, "y":4} + ] + }, + "LAYOUT_65_iso_blocker_split_bs": { + "layout": [ + {"label":"K00 (B3,B2)", "x":0, "y":0}, + {"label":"K01 (B3,F5)", "x":1, "y":0}, + {"label":"K02 (B3,F6)", "x":2, "y":0}, + {"label":"K03 (B3,D0)", "x":3, "y":0}, + {"label":"K04 (B3,D1)", "x":4, "y":0}, + {"label":"K05 (B3,D2)", "x":5, "y":0}, + {"label":"K06 (B3,D3)", "x":6, "y":0}, + {"label":"K07 (B3,D5)", "x":7, "y":0}, + {"label":"K08 (B3,D4)", "x":8, "y":0}, + {"label":"K09 (B3,D6)", "x":9, "y":0}, + {"label":"K0A (B3,D7)", "x":10, "y":0}, + {"label":"K0B (B3,B4)", "x":11, "y":0}, + {"label":"K0C (B3,B5)", "x":12, "y":0}, + {"label":"K0D (B3,B6)", "x":13, "y":0}, + {"label":"K0E (B3,C6)", "x":14, "y":0}, + {"label":"K0F (B3,C7)", "x":15, "y":0}, + {"label":"K10 (B7,B2)", "x":0, "y":1, "w":1.5}, + {"label":"K11 (B7,F5)", "x":1.5, "y":1}, + {"label":"K12 (B7,F6)", "x":2.5, "y":1}, + {"label":"K13 (B7,D0)", "x":3.5, "y":1}, + {"label":"K14 (B7,D1)", "x":4.5, "y":1}, + {"label":"K15 (B7,D2)", "x":5.5, "y":1}, + {"label":"K16 (B7,D3)", "x":6.5, "y":1}, + {"label":"K17 (B7,D5)", "x":7.5, "y":1}, + {"label":"K18 (B7,D4)", "x":8.5, "y":1}, + {"label":"K19 (B7,D6)", "x":9.5, "y":1}, + {"label":"K1A (B7,D7)", "x":10.5, "y":1}, + {"label":"K1B (B7,B4)", "x":11.5, "y":1}, + {"label":"K1C (B7,B5)", "x":12.5, "y":1}, + {"label":"K1F (B7,C7)", "x":15, "y":1}, + {"label":"K20 (F0,B2)", "x":0, "y":2, "w":1.75}, + {"label":"K21 (F0,F5)", "x":1.75, "y":2}, + {"label":"K22 (F0,F6)", "x":2.75, "y":2}, + {"label":"K23 (F0,D0)", "x":3.75, "y":2}, + {"label":"K24 (F0,D1)", "x":4.75, "y":2}, + {"label":"K25 (F0,D2)", "x":5.75, "y":2}, + {"label":"K26 (F0,D3)", "x":6.75, "y":2}, + {"label":"K27 (F0,D5)", "x":7.75, "y":2}, + {"label":"K28 (F0,D4)", "x":8.75, "y":2}, + {"label":"K29 (F0,D6)", "x":9.75, "y":2}, + {"label":"K2A (F0,D7)", "x":10.75, "y":2}, + {"label":"K2B (F0,B4)", "x":11.75, "y":2}, + {"label":"K2C (F0,B5)", "x":12.75, "y":2}, + {"label":"K2D (F0,B6)", "x":13.75, "y":1, "w":1.25, "h":2}, + {"label":"K2F (F0,C7)", "x":15, "y":2}, + {"label":"K30 (F1,B2)", "x":0, "y":3, "w":1.25}, + {"label":"K31 (F1,F5)", "x":1.25, "y":3}, + {"label":"K32 (F1,F6)", "x":2.25, "y":3}, + {"label":"K33 (F1,D0)", "x":3.25, "y":3}, + {"label":"K34 (F1,D1)", "x":4.25, "y":3}, + {"label":"K35 (F1,D2)", "x":5.25, "y":3}, + {"label":"K36 (F1,D3)", "x":6.25, "y":3}, + {"label":"K37 (F1,D5)", "x":7.25, "y":3}, + {"label":"K38 (F1,D4)", "x":8.25, "y":3}, + {"label":"K39 (F1,D6)", "x":9.25, "y":3}, + {"label":"K3A (F1,D7)", "x":10.25, "y":3}, + {"label":"K3B (F1,B4)", "x":11.25, "y":3}, + {"label":"K3C (F1,B5)", "x":12.25, "y":3, "w":1.75}, + {"label":"K3E (F1,C6)", "x":14, "y":3}, + {"label":"K3F (F1,C7)", "x":15, "y":3}, + {"label":"K40 (F4,B2)", "x":0, "y":4, "w":1.225}, + {"label":"K41 (F4,F5)", "x":1.25, "y":4, "w":1.25}, + {"label":"K42 (F4,F6)", "x":2.5, "y":4, "w":1.25}, + {"label":"K46 (F4,D3)", "x":3.75, "y":4, "w":6.25}, + {"label":"K4A (F4,D7)", "x":10, "y":4, "w":1.25}, + {"label":"K4B (F4,B4)", "x":11.25, "y":4, "w":1.25}, + {"label":"K4D (F4,B6)", "x":13, "y":4}, + {"label":"K4E (F4,C6)", "x":14, "y":4}, + {"label":"K4F (F4,C7)", "x":15, "y":4} + ] + } + } +} diff --git a/keyboards/flx/lodestone/keymaps/default_ansi/keymap.c b/keyboards/flx/lodestone/keymaps/default_ansi/keymap.c new file mode 100644 index 00000000000..0526591e17a --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/default_ansi/keymap.c @@ -0,0 +1,20 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_65_ansi_blocker_split_bs( + 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_BSPC, KC_BSPC, KC_HOME, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, + 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_PGDN, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), + + // Fn1 Layer + [1] = LAYOUT_65_ansi_blocker_split_bs( + 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_DEL, KC_DEL, KC_TRNS, + KC_CAPS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, 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/flx/lodestone/keymaps/default_ansi/readme.md b/keyboards/flx/lodestone/keymaps/default_ansi/readme.md new file mode 100644 index 00000000000..94cff2f42f5 --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/default_ansi/readme.md @@ -0,0 +1 @@ +# The default ANSI keymap for Lodestone diff --git a/keyboards/flx/lodestone/keymaps/default_iso/keymap.c b/keyboards/flx/lodestone/keymaps/default_iso/keymap.c new file mode 100644 index 00000000000..d25a2a9ffb1 --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/default_iso/keymap.c @@ -0,0 +1,20 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_65_iso_blocker_split_bs( + 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_BSPC, KC_BSPC, KC_HOME, + 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_PGUP, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, + KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), + + // Fn1 Layer + [1] = LAYOUT_65_iso_blocker_split_bs( + 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_DEL, KC_DEL, KC_TRNS, + KC_CAPS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_INS, KC_TRNS, KC_PSCR, KC_SLCK, KC_PAUS, KC_TRNS, + KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_END, KC_PGDN, 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/flx/lodestone/keymaps/default_iso/readme.md b/keyboards/flx/lodestone/keymaps/default_iso/readme.md new file mode 100644 index 00000000000..b1e45987796 --- /dev/null +++ b/keyboards/flx/lodestone/keymaps/default_iso/readme.md @@ -0,0 +1 @@ +# The default ISO keymap for Lodestone diff --git a/keyboards/flx/lodestone/lodestone.h b/keyboards/flx/lodestone/lodestone.h index 4e232355683..2e05b67deb1 100644 --- a/keyboards/flx/lodestone/lodestone.h +++ b/keyboards/flx/lodestone/lodestone.h @@ -35,3 +35,59 @@ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F }, \ { K40, K41, K42, ___, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, K4D, K4E, K4F }, \ } + +#define LAYOUT_65_ansi_blocker( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0F, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1F, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2F, \ + K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \ + K40, K41, K42, K46, K4A, K4B, K4D, K4E, K4F \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, ___, K0F }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, ___, K1F }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, ___, K2D, ___, K2F }, \ + { K30, ___, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F }, \ + { K40, K41, K42, ___, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, K4D, K4E, K4F }, \ +} + +#define LAYOUT_65_ansi_blocker_split_bs( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1F, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2F, \ + K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \ + K40, K41, K42, K46, K4A, K4B, K4D, K4E, K4F \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, ___, K1F }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, ___, K2D, ___, K2F }, \ + { K30, ___, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F }, \ + { K40, K41, K42, ___, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, K4D, K4E, K4F }, \ +} + +#define LAYOUT_65_iso_blocker( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0F, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1F, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ + K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \ + K40, K41, K42, K46, K4A, K4B, K4D, K4E, K4F \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, ___, K0F }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, ___, ___, K1F }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___, K2F }, \ + { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F }, \ + { K40, K41, K42, ___, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, K4D, K4E, K4F }, \ +} + +#define LAYOUT_65_iso_blocker_split_bs( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1F, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ + K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, K3F, \ + K40, K41, K42, K46, K4A, K4B, K4D, K4E, K4F \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, ___, ___, K1F }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___, K2F }, \ + { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, ___, K3E, K3F }, \ + { K40, K41, K42, ___, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, K4D, K4E, K4F }, \ +} diff --git a/keyboards/flx/lodestone/rules.mk b/keyboards/flx/lodestone/rules.mk index b7eb5514bb7..47af00e0a2e 100644 --- a/keyboards/flx/lodestone/rules.mk +++ b/keyboards/flx/lodestone/rules.mk @@ -31,3 +31,5 @@ AUDIO_ENABLE = no # Audio output on port C6 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches HD44780_ENABLE = no # Enable support for HD44780 based LCDs LTO_ENABLE = yes + +LAYOUTS = 65_ansi_blocker 65_iso_blocker