Skip to content

Commit

Permalink
[Keyboard] Add 36-key layout for Beekeeb Piantor (qmk#20328)
Browse files Browse the repository at this point in the history
Co-authored-by: James McCleese <[email protected]>
  • Loading branch information
2 people authored and coquizen committed Jun 22, 2023
1 parent 78e064e commit 2c68de9
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 1 deletion.
45 changes: 44 additions & 1 deletion keyboards/beekeeb/piantor/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@
}
}
},
"community_layouts": ["split_3x6_3"],
"community_layouts": [
"split_3x5_3",
"split_3x6_3"
],
"layouts": {
"LAYOUT_split_3x6_3": {
"layout": [
Expand Down Expand Up @@ -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 }
]
}
}
}
27 changes: 27 additions & 0 deletions keyboards/beekeeb/piantor/keymaps/3x5_3/keymap.c
Original file line number Diff line number Diff line change
@@ -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
)
};

0 comments on commit 2c68de9

Please sign in to comment.