From 9dffd3576221b7a1e00e6b4ac5c90183218750b5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 7 Jun 2021 20:46:22 +1000 Subject: [PATCH] Add default `ortho_1x1` layout (#13118) --- .../default/ortho_1x1/default_ortho_1x1/keymap.c | 12 ++++++++++++ layouts/default/ortho_1x1/info.json | 14 ++++++++++++++ layouts/default/ortho_1x1/layout.json | 1 + layouts/default/ortho_1x1/readme.md | 3 +++ 4 files changed, 30 insertions(+) create mode 100644 layouts/default/ortho_1x1/default_ortho_1x1/keymap.c create mode 100644 layouts/default/ortho_1x1/info.json create mode 100644 layouts/default/ortho_1x1/layout.json create mode 100644 layouts/default/ortho_1x1/readme.md diff --git a/layouts/default/ortho_1x1/default_ortho_1x1/keymap.c b/layouts/default/ortho_1x1/default_ortho_1x1/keymap.c new file mode 100644 index 0000000000..e406daf7a8 --- /dev/null +++ b/layouts/default/ortho_1x1/default_ortho_1x1/keymap.c @@ -0,0 +1,12 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┐ + * │ A │ + * └───┘ + */ + [0] = LAYOUT_ortho_1x1( + KC_A + ) +}; diff --git a/layouts/default/ortho_1x1/info.json b/layouts/default/ortho_1x1/info.json new file mode 100644 index 0000000000..e055fcb3e7 --- /dev/null +++ b/layouts/default/ortho_1x1/info.json @@ -0,0 +1,14 @@ +{ + "keyboard_name": "1x1 ortholinear layout", + "url": "", + "maintainer": "qmk", + "width": 1, + "height": 1, + "layouts": { + "LAYOUT_ortho_1x1": { + "layout": [ + {"x":0, "y":0} + ] + } + } +} diff --git a/layouts/default/ortho_1x1/layout.json b/layouts/default/ortho_1x1/layout.json new file mode 100644 index 0000000000..7f8bcf0ca1 --- /dev/null +++ b/layouts/default/ortho_1x1/layout.json @@ -0,0 +1 @@ +[{a:7},""] diff --git a/layouts/default/ortho_1x1/readme.md b/layouts/default/ortho_1x1/readme.md new file mode 100644 index 0000000000..c6352dd8d5 --- /dev/null +++ b/layouts/default/ortho_1x1/readme.md @@ -0,0 +1,3 @@ +# ortho_1x1 + + LAYOUT_ortho_1x1