diff options
Diffstat (limited to 'layouts')
-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 | ||||
-rw-r--r-- | layouts/default/readme.md | 11 |
5 files changed, 57 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 diff --git a/layouts/default/readme.md b/layouts/default/readme.md index 0d2182e671..8390281796 100644 --- a/layouts/default/readme.md +++ b/layouts/default/readme.md @@ -1060,6 +1060,17 @@ LAYOUT_ortho_2x6 ``` ``` +LAYOUT_ortho_3x3 +┌───┬───┬───┐ +│ │ │ │ +├───┼───┼───┤ +│ │ │ │ +├───┼───┼───┤ +│ │ │ │ +└───┴───┴───┘ +``` + +``` LAYOUT_ortho_3x10 ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ │ │ │ │ │ │ │ │ │ │ │ |