summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCleese <jmccleese@gmail.com>2023-04-05 18:37:15 -0500
committerGitHub <noreply@github.com>2023-04-05 16:37:15 -0700
commit71c22a12db58c71952a12df6bbe445f6f9a4e858 (patch)
treeaa7f8fb2299b2c23d108b7b17dd4a77cd48acbf4
parent73b376a88151d03d43e0eca8242faa4bad199ac0 (diff)
[Keyboard] Add 36-key layout for Beekeeb Piantor (#20328)
Co-authored-by: James McCleese <James.McCleese@nbcuni.com>
-rw-r--r--keyboards/beekeeb/piantor/info.json45
-rw-r--r--keyboards/beekeeb/piantor/keymaps/3x5_3/keymap.c27
2 files changed, 71 insertions, 1 deletions
diff --git a/keyboards/beekeeb/piantor/info.json b/keyboards/beekeeb/piantor/info.json
index 5d4fcf1ae8..b845361bc8 100644
--- a/keyboards/beekeeb/piantor/info.json
+++ b/keyboards/beekeeb/piantor/info.json
@@ -42,7 +42,10 @@
}
}
},
- "community_layouts": ["split_3x6_3"],
+ "community_layouts": [
+ "split_3x5_3",
+ "split_3x6_3"
+ ],
"layouts": {
"LAYOUT_split_3x6_3": {
"layout": [
@@ -89,6 +92,46 @@
{ "matrix": [7, 1], "x": 8.5, "y": 3.5 },
{ "matrix": [7, 2], "x": 9.5, "y": 3.25 }
]
+ },
+ "LAYOUT_split_3x5_3": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0.25 },
+ { "matrix": [0, 1], "x": 1, "y": 0.125 },
+ { "matrix": [0, 2], "x": 2, "y": 0 },
+ { "matrix": [0, 3], "x": 3, "y": 0.125 },
+ { "matrix": [0, 4], "x": 4, "y": 0.25 },
+ { "matrix": [4, 0], "x": 7, "y": 0.25 },
+ { "matrix": [4, 1], "x": 8, "y": 0.125 },
+ { "matrix": [4, 2], "x": 9, "y": 0 },
+ { "matrix": [4, 3], "x": 10, "y": 0.125 },
+ { "matrix": [4, 4], "x": 11, "y": 0.25 },
+ { "matrix": [1, 0], "x": 0, "y": 1.25 },
+ { "matrix": [1, 1], "x": 1, "y": 1.125 },
+ { "matrix": [1, 2], "x": 2, "y": 1 },
+ { "matrix": [1, 3], "x": 3, "y": 1.125 },
+ { "matrix": [1, 4], "x": 4, "y": 1.25 },
+ { "matrix": [5, 0], "x": 7, "y": 1.25 },
+ { "matrix": [5, 1], "x": 8, "y": 1.125 },
+ { "matrix": [5, 2], "x": 9, "y": 1 },
+ { "matrix": [5, 3], "x": 10, "y": 1.125 },
+ { "matrix": [5, 4], "x": 11, "y": 1.25 },
+ { "matrix": [2, 0], "x": 0, "y": 2.25 },
+ { "matrix": [2, 1], "x": 1, "y": 2.125 },
+ { "matrix": [2, 2], "x": 2, "y": 2 },
+ { "matrix": [2, 3], "x": 3, "y": 2.125 },
+ { "matrix": [2, 4], "x": 4, "y": 2.25 },
+ { "matrix": [6, 0], "x": 7, "y": 2.25 },
+ { "matrix": [6, 1], "x": 8, "y": 2.125 },
+ { "matrix": [6, 2], "x": 9, "y": 2 },
+ { "matrix": [6, 3], "x": 10, "y": 2.125 },
+ { "matrix": [6, 4], "x": 11, "y": 2.25 },
+ { "matrix": [3, 0], "x": 2.5, "y": 3.25 },
+ { "matrix": [3, 1], "x": 3.5, "y": 3.5 },
+ { "matrix": [3, 2], "x": 4.5, "y": 3.75 },
+ { "matrix": [7, 0], "x": 6.5, "y": 3.75 },
+ { "matrix": [7, 1], "x": 7.5, "y": 3.5 },
+ { "matrix": [7, 2], "x": 8.5, "y": 3.25 }
+ ]
}
}
}
diff --git a/keyboards/beekeeb/piantor/keymaps/3x5_3/keymap.c b/keyboards/beekeeb/piantor/keymaps/3x5_3/keymap.c
new file mode 100644
index 0000000000..26f7227a37
--- /dev/null
+++ b/keyboards/beekeeb/piantor/keymaps/3x5_3/keymap.c
@@ -0,0 +1,27 @@
+// Copyright 2022 beekeeb
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐
+ * │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │
+ * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
+ * │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │
+ * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤
+ * │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │
+ * └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘
+ * ┌───┐ ┌───┐
+ * │GUI├───┐ ┌───┤Alt│
+ * └───┤Bsp├───┐ ┌───┤Ent├───┘
+ * └───┤ │ │ ├───┘
+ * └───┘ └───┘
+ */
+ [0] = LAYOUT_split_3x5_3(
+ KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P,
+ KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
+ KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH,
+ KC_LGUI, KC_BSPC, KC_ESC, KC_ENT, KC_SPC, KC_RCTL
+ )
+};