diff options
author | Joel Challis <git@zvecr.com> | 2022-11-30 06:38:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 06:38:02 +0000 |
commit | 2d45e5e4b464d0fc7e83d4065da9e797c7c4d580 (patch) | |
tree | e98f7c0058bdc5bdb22dfbecabf9634a2956c5d1 /layouts/default/ortho_3x3 | |
parent | e0d0d81dfa7bf5bc492318d80f16f51722d69471 (diff) |
Add ortho_3x3 community layout (#19210)
Diffstat (limited to 'layouts/default/ortho_3x3')
-rw-r--r-- | layouts/default/ortho_3x3/default_ortho_3x3/keymap.c | 18 | ||||
-rw-r--r-- | layouts/default/ortho_3x3/info.json | 22 | ||||
-rw-r--r-- | layouts/default/ortho_3x3/layout.json | 3 | ||||
-rw-r--r-- | layouts/default/ortho_3x3/readme.md | 3 |
4 files changed, 46 insertions, 0 deletions
diff --git a/layouts/default/ortho_3x3/default_ortho_3x3/keymap.c b/layouts/default/ortho_3x3/default_ortho_3x3/keymap.c new file mode 100644 index 0000000000..fbcca233bd --- /dev/null +++ b/layouts/default/ortho_3x3/default_ortho_3x3/keymap.c @@ -0,0 +1,18 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┐ + * │ A │ B │ C │ + * ├───┼───┼───┤ + * │ D │ E │ F │ + * ├───┼───┼───┤ + * │ G │ H │ I │ + * └───┴───┴───┘ + */ + [0] = LAYOUT_ortho_3x3( + KC_A, KC_B, KC_C, + KC_D, KC_E, KC_F, + KC_G, KC_H, KC_I + ) +}; diff --git a/layouts/default/ortho_3x3/info.json b/layouts/default/ortho_3x3/info.json new file mode 100644 index 0000000000..4e0def90f4 --- /dev/null +++ b/layouts/default/ortho_3x3/info.json @@ -0,0 +1,22 @@ +{ + "keyboard_name": "3x3 ortholinear layout", + "url": "", + "maintainer": "qmk", + "layouts": { + "LAYOUT_ortho_3x3": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + {"x":2, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + {"x":2, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + {"x":2, "y":2} + ] + } + } +} diff --git a/layouts/default/ortho_3x3/layout.json b/layouts/default/ortho_3x3/layout.json new file mode 100644 index 0000000000..7986a26a76 --- /dev/null +++ b/layouts/default/ortho_3x3/layout.json @@ -0,0 +1,3 @@ +["","",""], +["","",""], +["","",""] diff --git a/layouts/default/ortho_3x3/readme.md b/layouts/default/ortho_3x3/readme.md new file mode 100644 index 0000000000..b6b2053565 --- /dev/null +++ b/layouts/default/ortho_3x3/readme.md @@ -0,0 +1,3 @@ +# ortho_3x3 + + LAYOUT_ortho_3x3 |