[Keyboard] Add 36-key layout for Beekeeb Piantor (#20328)

Co-authored-by: James McCleese <James.McCleese@nbcuni.com>
This commit is contained in:
James McCleese 2023-04-05 18:37:15 -05:00 committed by GitHub
parent 73b376a881
commit 71c22a12db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 71 additions and 1 deletions

View File

@ -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 }
]
}
}
}

View File

@ -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
)
};