diff options
| author | Ryan <fauxpark@gmail.com> | 2021-06-07 20:46:22 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-07 20:46:22 +1000 |
| commit | 9dffd3576221b7a1e00e6b4ac5c90183218750b5 (patch) | |
| tree | eb5b6e26f69127e7c0419f5f2ccf7f2b58b2f9b0 /layouts | |
| parent | b10728edc1ce897939833ccca447640804888854 (diff) | |
| download | qmk_firmware-9dffd3576221b7a1e00e6b4ac5c90183218750b5.tar.gz qmk_firmware-9dffd3576221b7a1e00e6b4ac5c90183218750b5.zip | |
Add default `ortho_1x1` layout (#13118)
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/default/ortho_1x1/default_ortho_1x1/keymap.c | 12 | ||||
| -rw-r--r-- | layouts/default/ortho_1x1/info.json | 14 | ||||
| -rw-r--r-- | layouts/default/ortho_1x1/layout.json | 1 | ||||
| -rw-r--r-- | layouts/default/ortho_1x1/readme.md | 3 |
4 files changed, 30 insertions, 0 deletions
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 000000000..e406daf7a --- /dev/null +++ b/layouts/default/ortho_1x1/default_ortho_1x1/keymap.c | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | /* | ||
| 5 | * ┌───┐ | ||
| 6 | * │ A │ | ||
| 7 | * └───┘ | ||
| 8 | */ | ||
| 9 | [0] = LAYOUT_ortho_1x1( | ||
| 10 | KC_A | ||
| 11 | ) | ||
| 12 | }; | ||
diff --git a/layouts/default/ortho_1x1/info.json b/layouts/default/ortho_1x1/info.json new file mode 100644 index 000000000..e055fcb3e --- /dev/null +++ b/layouts/default/ortho_1x1/info.json | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "1x1 ortholinear layout", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 1, | ||
| 6 | "height": 1, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ortho_1x1": { | ||
| 9 | "layout": [ | ||
| 10 | {"x":0, "y":0} | ||
| 11 | ] | ||
| 12 | } | ||
| 13 | } | ||
| 14 | } | ||
diff --git a/layouts/default/ortho_1x1/layout.json b/layouts/default/ortho_1x1/layout.json new file mode 100644 index 000000000..7f8bcf0ca --- /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 000000000..c6352dd8d --- /dev/null +++ b/layouts/default/ortho_1x1/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # ortho_1x1 | ||
| 2 | |||
| 3 | LAYOUT_ortho_1x1 | ||
