From 00b8c127c6e2def495301781718d2db1df576573 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Fri, 25 Mar 2022 16:34:17 -0700 Subject: Readd default layouts --- layouts/community/ergodox/default_ergodox/keymap.c | 40 ++++++++ layouts/community/ergodox/info.json | 102 +++++++++++++++++++++ layouts/community/ergodox/layout.json | 26 ++++++ layouts/community/ergodox/readme.md | 3 + 4 files changed, 171 insertions(+) create mode 100644 layouts/community/ergodox/default_ergodox/keymap.c create mode 100644 layouts/community/ergodox/info.json create mode 100644 layouts/community/ergodox/layout.json create mode 100644 layouts/community/ergodox/readme.md (limited to 'layouts/community/ergodox') diff --git a/layouts/community/ergodox/default_ergodox/keymap.c b/layouts/community/ergodox/default_ergodox/keymap.c new file mode 100644 index 0000000000..e403511721 --- /dev/null +++ b/layouts/community/ergodox/default_ergodox/keymap.c @@ -0,0 +1,40 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌──────┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬──────┐ + * │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ = │ │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ + * ├──────┼───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┼──────┤ + * │ Tab │ Q │ W │ E │ R │ T │ = │ │ Y │ Y │ U │ I │ O │ P │ \ │ + * ├──────┼───┼───┼───┼───┼───┤ │ │ ├───┼───┼───┼───┼───┼──────┤ + * │Escape│ A │ S │ D │ F │ G ├───┤ ├───┤ H │ J │ K │ L │ ; │ ' │ + * ├──────┼───┼───┼───┼───┼───┤ │ │ ├───┼───┼───┼───┼───┼──────┤ + * │Shift │ Z │ X │ C │ V │ B │ B │ │ N │ N │ M │ , │ . │ / │ Shift│ + * └──┬───┼───┼───┼───┼───┼───┴───┘ ┌───┬───┐ ┌───┬───┐ └───┴───┼───┼───┼───┼───┼───┬──┘ + * │Ctl│F4 │F5 │GUI│Alt│ │ C │ V │ │Alt│ A │ │ ← │ ↓ │ ↑ │ → │GUI│ + * └───┴───┴───┴───┴───┘ ┌───┼───┼───┤ ├───┼───┼───┐ └───┴───┴───┴───┴───┘ + * │ │ │PgU│ │PgD│ │ │ + * │Bsp│Bsp├───┤ ├───┤Ent│ │ + * │ │ │Del│ │Ctl│ │ │ + * └───┴───┴───┘ └───┴───┴───┘ + */ + [0] = LAYOUT_ergodox( + KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_EQL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_EQL, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, + KC_LCTL, KC_F4, KC_F5, KC_LGUI, KC_LALT, + KC_C, KC_V, + KC_PGUP, + KC_BSPC, KC_BSPC, KC_DEL, + + KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, + KC_Y, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, + KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_N, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_RGUI, + KC_RALT, KC_A, + KC_PGDN, + KC_RCTL, KC_ENT, KC_SPC + ) +}; diff --git a/layouts/community/ergodox/info.json b/layouts/community/ergodox/info.json new file mode 100644 index 0000000000..3f6a51f044 --- /dev/null +++ b/layouts/community/ergodox/info.json @@ -0,0 +1,102 @@ +{ + "keyboard_name": "Ergodox layout", + "url": "", + "maintainer": "qmk", + "layouts": { + "LAYOUT_ergodox": { + "layout": [ + {"x":0, "y":0.375, "w":1.5}, + {"x":1.5, "y":0.375}, + {"x":2.5, "y":0.125}, + {"x":3.5, "y":0}, + {"x":4.5, "y":0.125}, + {"x":5.5, "y":0.25}, + {"x":6.5, "y":0.25}, + + {"x":0, "y":1.375, "w":1.5}, + {"x":1.5, "y":1.375}, + {"x":2.5, "y":1.125}, + {"x":3.5, "y":1}, + {"x":4.5, "y":1.125}, + {"x":5.5, "y":1.25}, + {"x":6.5, "y":1.25, "h":1.5}, + + {"x":0, "y":2.375, "w":1.5}, + {"x":1.5, "y":2.375}, + {"x":2.5, "y":2.125}, + {"x":3.5, "y":2}, + {"x":4.5, "y":2.125}, + {"x":5.5, "y":2.25}, + + {"x":0, "y":3.375, "w":1.5}, + {"x":1.5, "y":3.375}, + {"x":2.5, "y":3.125}, + {"x":3.5, "y":3}, + {"x":4.5, "y":3.125}, + {"x":5.5, "y":3.25}, + {"x":6.5, "y":2.75, "h":1.5}, + + {"x":0.5, "y":4.375}, + {"x":1.5, "y":4.375}, + {"x":2.5, "y":4.125}, + {"x":3.5, "y":4}, + {"x":4.5, "y":4.125}, + + {"x":7.75, "y":4.25}, + {"x":8.75, "y":4.25}, + + {"x":8.75, "y":5.25}, + + {"x":6.75, "y":5.25, "h":2}, + {"x":7.75, "y":5.25, "h":2}, + {"x":8.75, "y":6.25}, + + {"x":12.25, "y":0.25}, + {"x":13.25, "y":0.25}, + {"x":14.25, "y":0.125}, + {"x":15.25, "y":0}, + {"x":16.25, "y":0.125}, + {"x":17.25, "y":0.375}, + {"x":18.25, "y":0.375, "w":1.5}, + + {"x":12.25, "y":1.25, "h":1.5}, + {"x":13.25, "y":1.25}, + {"x":14.25, "y":1.125}, + {"x":15.25, "y":1}, + {"x":16.25, "y":1.125}, + {"x":17.25, "y":1.375}, + {"x":18.25, "y":1.375, "w":1.5}, + + {"x":13.25, "y":2.25}, + {"x":14.25, "y":2.125}, + {"x":15.25, "y":2}, + {"x":16.25, "y":2.125}, + {"x":17.25, "y":2.375}, + {"x":18.25, "y":2.375, "w":1.5}, + + {"x":12.25, "y":2.75, "h":1.5}, + {"x":13.25, "y":3.25}, + {"x":14.25, "y":3.125}, + {"x":15.25, "y":3}, + {"x":16.25, "y":3.125}, + {"x":17.25, "y":3.375}, + {"x":18.25, "y":3.375, "w":1.5}, + + {"x":14.25, "y":4.125}, + {"x":15.25, "y":4}, + {"x":16.25, "y":4.125}, + {"x":17.25, "y":4.375}, + {"x":18.25, "y":4.375}, + + {"x":10, "y":4.25}, + {"x":11, "y":4.25}, + + {"x":10, "y":5.25}, + + {"x":10, "y":6.25}, + {"x":11, "y":5.25, "h":2}, + {"x":12, "y":5.25, "h":2} + ] + } + } +} diff --git a/layouts/community/ergodox/layout.json b/layouts/community/ergodox/layout.json new file mode 100644 index 0000000000..5348e91a68 --- /dev/null +++ b/layouts/community/ergodox/layout.json @@ -0,0 +1,26 @@ +[{x:3.5,a:7},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"","",{x:4.5},"",""], +[{y:-0.875,w:1.5},"","",{x:14.5},"",{w:1.5},""], +[{y:-0.375,x:3.5},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"",{h:1.5},"",{x:4.5,h:1.5},"",""], +[{y:-0.875,w:1.5},"","",{x:14.5},"",{w:1.5},""], +[{y:-0.375,x:3.5},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"",{x:6.5},""], +[{y:-0.875,w:1.5},"","",{x:14.5},"",{w:1.5},""], +[{y:-0.625,x:6.5,h:1.5},"",{x:4.5,h:1.5},""], +[{y:-0.75,x:3.5},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.875,x:5.5},"",{x:6.5},""], +[{y:-0.875,w:1.5},"","",{x:14.5},"",{w:1.5},""], +[{y:-0.375,x:3.5},"",{x:10.5},""], +[{y:-0.875,x:2.5},"",{x:1},"",{x:8.5},"",{x:1},""], +[{y:-0.75,x:0.5},"","",{x:14.5},"",""], +[{r:30,rx:6.5,ry:4.25,y:-1,x:1},"",""], +[{h:2},"",{h:2},"",""], +[{x:2},""], +[{r:-30,rx:13,y:-1,x:-3},"",""], +[{x:-3},"",{h:2},"",{h:2},""], +[{x:-3},""] diff --git a/layouts/community/ergodox/readme.md b/layouts/community/ergodox/readme.md new file mode 100644 index 0000000000..e69af2bdef --- /dev/null +++ b/layouts/community/ergodox/readme.md @@ -0,0 +1,3 @@ +# ergodox + + LAYOUT_ergodox -- cgit v1.2.3