Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Community Layouts to LAYOUT keyboards: h #23499

Closed
wants to merge 9 commits into from
6 changes: 5 additions & 1 deletion keyboards/handwired/3dfoxc/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {
"LAYOUT": "LAYOUT_65_ansi_blocker_split_bs"
},
"community_layouts": ["65_ansi_blocker_split_bs"],
"layouts": {
"LAYOUT": {
"LAYOUT_65_ansi_blocker_split_bs": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
4 changes: 2 additions & 2 deletions keyboards/handwired/3dfoxc/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `--------------------------------------------------''-----------'
*/

[_BL] = LAYOUT(
[_BL] = LAYOUT_65_ansi_blocker_split_bs(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, KC_NO,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_DEL,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
Expand All @@ -58,7 +58,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | | | | | | ||Hme|PDn|End|
* `--------------------------------------------------''-----------'
*/
[_FL] = LAYOUT(
[_FL] = LAYOUT_65_ansi_blocker_split_bs(
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, QK_BOOT, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______, _______, KC_DEL, KC_INS,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME,
Expand Down
4 changes: 2 additions & 2 deletions keyboards/handwired/3dortho14u/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ enum layer_names {
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
[_BASE] = LAYOUT_ortho_5x14(
KC_ESC , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_MINS, KC_EQL , KC_BSPC,
KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, KC_QUOT, KC_NO , KC_ENT ,
KC_LSFT, KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , KC_SLSH, KC_RSFT, KC_UP , KC_DEL ,
KC_LCTL, KC_LGUI, KC_LALT, MO(_FN), KC_NO , KC_NO , KC_SPC , KC_NO , KC_NO , KC_NO , KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT
),
[_FN] = LAYOUT(
[_FN] = LAYOUT_ortho_5x14(
KC_GRV , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 , KC_DEL ,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/3dortho14u/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
"pid": "0x3D14",
"device_version": "0.0.1"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_5x14"
},
"community_layouts": ["ortho_5x14"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_5x14": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/3dortho14u/rev2/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
"pid": "0x3D14",
"device_version": "0.0.1"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_5x14"
},
"community_layouts": ["ortho_5x14"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_5x14": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/42/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@
"resync": true
}
},
"layout_aliases": {
"LAYOUT": "LAYOUT_split_3x6_3"
},
"community_layouts": ["split_3x6_3"],
"layouts": {
"LAYOUT": {
"LAYOUT_split_3x6_3": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.625},
{"matrix": [0, 1], "x": 1, "y": 0.417},
Expand Down
8 changes: 4 additions & 4 deletions keyboards/handwired/42/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Default Layer
LAYOUT(
LAYOUT_split_3x6_3(
KC_TAB , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC,
CTL_ESC, KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN, CTL_ENT,
KC_LSFT, ALT_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM, KC_DOT , ALT_SLS, SFT_DEL,
L1_LBRC, L3_SPC , SU_QUOT, SU_BSLS, L2_SPC , L1_RBRC
),
// Symbols Layer
LAYOUT(
LAYOUT_split_3x6_3(
KC_GRV , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_EQL ,
KC_INS , S(KC_1), S(KC_2), S(KC_3), S(KC_4), S(KC_5), S(KC_6), S(KC_7), S(KC_8), S(KC_9), S(KC_0), KC_MINS,
KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , KC_F12 ,
KC_CAPS, OU_USB , OU_BT , _______, _______, _______
),
// Navigation Layer
LAYOUT(
LAYOUT_split_3x6_3(
_______, _______, _______, KC_PGUP, _______, _______, KC_BRIU, _______, KC_UP , _______, _______, _______,
_______, _______, KC_HOME, KC_PGDN, KC_END , _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
_______, _______, _______, _______, _______, _______, KC_BRID, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______,
_______, _______, _______, _______, _______, _______
),
// Mouse Layer
LAYOUT(
LAYOUT_split_3x6_3(
_______, _______, KC_WREF, KC_WH_U, KC_WSCH, _______, _______, KC_BTN1, KC_MS_U, KC_BTN2, _______, _______,
_______, _______, KC_WH_L, KC_WH_D, KC_WH_R, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______,
_______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, _______, _______,
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/6key/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_2x3"
},
"community_layouts": ["ortho_2x3"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_2x3": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
4 changes: 2 additions & 2 deletions keyboards/handwired/6key/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ enum layers{
};

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_MAIN] = LAYOUT(
[_MAIN] = LAYOUT_ortho_2x3(
KC_Z, KC_Y, KC_A,
KC_C, KC_D, KC_S
),
[_FN] = LAYOUT(
[_FN] = LAYOUT_ortho_2x3(
KC_F13, KC_F14, KC_F15,
KC_F16, KC_F17, KC_F18
)
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/6macro/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_2x3"
},
"community_layouts": ["ortho_2x3"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_2x3": {
"layout": [
{"label": "k00", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "k01", "matrix": [0, 1], "x": 1, "y": 0},
Expand Down
6 changes: 3 additions & 3 deletions keyboards/handwired/6macro/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | F16 | F17 | F18 |
* `-------+-------+-------'
*/
[0] = LAYOUT(
[0] = LAYOUT_ortho_2x3(
KC_F13, KC_F14, LT(1, KC_F15),
KC_F16, KC_F17, KC_F18
),
Expand All @@ -36,7 +36,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |RGBHUE+|RGBBRI+|Spec FN| Hold along with previous to access special funtions (QK_BOOT)
* `-------+-------+-------'
*/
[1] = LAYOUT(
[1] = LAYOUT_ortho_2x3(
UG_TOGG, UG_NEXT, KC_TRNS,
UG_HUEU, UG_VALU, MO(2)
),
Expand All @@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* |RGBHUE-|RGBBRI-| |
* `-------+-------+-------'
*/
[2] = LAYOUT(
[2] = LAYOUT_ortho_2x3(
QK_BOOT, UG_PREV, KC_NO,
UG_HUED, UG_VALD, KC_TRNS
)
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/arrow_pad/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
},
"processor": "atmega32u4",
"bootloader": "halfkay",
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_6x4"
},
"community_layouts": ["ortho_6x4"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_6x4": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
6 changes: 3 additions & 3 deletions keyboards/handwired/arrow_pad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ enum custom_keycodes {

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[LAYER_BASE] = LAYOUT(
[LAYER_BASE] = LAYOUT_ortho_6x4(
KC_ESC, KC_TAB, KC_BSLS, MO(2),
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9, KC_PEQL,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3, XXXXXXX,
KC_P0, KC_PCMM, KC_PDOT, KC_PENT ),

[LAYER_EDIT] = LAYOUT(
[LAYER_EDIT] = LAYOUT_ortho_6x4(
KC_ESC, KC_TAB, KC_SPC, _______,
TG(1), SC_PSTE, SC_REDO, SC_UNDO,
KC_HOME, KC_UP, KC_PGUP, KC_LALT,
KC_LEFT, M_COPY, KC_RGHT, KC_LCTL,
KC_END, KC_DOWN, KC_PGDN, XXXXXXX,
KC_BSPC, KC_PENT, KC_DEL, M_SHFCT ),

[LAYER_FUNCTION] = LAYOUT(
[LAYER_FUNCTION] = LAYOUT_ortho_6x4(
BL_TOGG, BL_UP, BL_DOWN, _______,
TG(1), _______, _______, _______,
_______, _______, _______, _______,
Expand Down
6 changes: 3 additions & 3 deletions keyboards/handwired/arrow_pad/keymaps/pad_24/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ enum custom_keycodes {

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[LAYER_BASE] = LAYOUT(
[LAYER_BASE] = LAYOUT_ortho_6x4(
KC_ESC, KC_TAB, KC_BSLS, MO(2),
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9, KC_PEQL,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3, XXXXXXX,
KC_P0, KC_PCMM, KC_PDOT, KC_PENT ),

[LAYER_EDIT] = LAYOUT(
[LAYER_EDIT] = LAYOUT_ortho_6x4(
KC_ESC, KC_TAB, KC_SPC, _______,
TG(1), SC_PSTE, SC_REDO, SC_UNDO,
KC_HOME, KC_UP, KC_PGUP, KC_LALT,
KC_LEFT, M_COPY, KC_RGHT, KC_LCTL,
KC_END, KC_DOWN, KC_PGDN, XXXXXXX,
KC_BSPC, KC_PENT, KC_DEL, M_SHFCT ),

[LAYER_FUNCTION] = LAYOUT(
[LAYER_FUNCTION] = LAYOUT_ortho_6x4(
BL_TOGG, BL_UP, BL_DOWN, _______,
TG(1), _______, _______, _______,
_______, _______, _______, _______,
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/bdn9_ble/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@
["B7", "D6", "F7"]
]
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_3x3"
},
"community_layouts": ["ortho_3x3"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_3x3": {
"layout": [
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
Expand Down
6 changes: 3 additions & 3 deletions keyboards/handwired/bdn9_ble/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#ifndef TESTMODE
// MEH - hold down ctrl, alt, shift, and press key
[0] = LAYOUT(
[0] = LAYOUT_ortho_3x3(
MEH(KC_1), MEH(KC_2), MEH(KC_3),
MEH(KC_4), MEH(KC_5), MEH(KC_6),
MEH(KC_7), MEH(KC_8), LT(1, MEH(KC_9))
),
#else
[0] = LAYOUT(
[0] = LAYOUT_ortho_3x3(
KC_A, KC_B, KC_C,
KC_D, KC_E, KC_F,
KC_G, KC_H, KC_I
Expand All @@ -41,7 +41,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* | Backlight Tgl | Use Bluetooth for output | (currently pressed) |
* ------------------------------------------------------------------------
*/
[1] = LAYOUT(
[1] = LAYOUT_ortho_3x3(
_______, OU_AUTO, QK_BOOT,
BL_STEP, OU_USB, _______,
BL_TOGG, OU_BT, _______
Expand Down
4 changes: 2 additions & 2 deletions keyboards/handwired/bento/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
| Hold: Layer 2 | Up | Press: Mute |
| Left | Down | Right |
*/
[0] = LAYOUT(
[0] = LAYOUT_ortho_2x3(
MO(1), KC_UP, KC_MUTE,
KC_LEFT, KC_DOWN, KC_RGHT
),
/*
| Held: Layer 2 | Home | QK_BOOT |
| Media Previous | End | Media Next |
*/
[1] = LAYOUT(
[1] = LAYOUT_ortho_2x3(
_______, KC_HOME, QK_BOOT,
KC_MPRV, KC_END , KC_MNXT
),
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/bento/keymaps/mac/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* 1: Code layer
* ---- | Shift+CMD+B (Build VS Code) | DFU Mode
* Shift+CMD+C (FF Console) | Ctrl+Alt+U (Upload PIO) | Ctrl+Alt+S (Serial PIO) */
[_CODE] = LAYOUT(
[_CODE] = LAYOUT_ortho_2x3(
_______, S(G(KC_B)), QK_BOOT,
G(A(KC_C)), C(A(KC_U)), C(A(KC_S))
),
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/bento/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@
["E6", "B4", "B2"]
]
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_2x3"
},
"community_layouts": ["ortho_2x3"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_2x3": {
"layout": [
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/bolek/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"layout_aliases": {
"LAYOUT": "LAYOUT_split_3x5_3"
},
"community_layouts": ["split_3x5_3"],
"layouts": {
"LAYOUT": {
"LAYOUT_split_3x5_3": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.25},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/bolek/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ enum layer_names {

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
[_BASE] = LAYOUT(
[_BASE] = 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_EQL,
KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_MINS,
Expand Down
6 changes: 5 additions & 1 deletion keyboards/handwired/ck4x4/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
"diode_direction": "COL2ROW",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_4x4"
},
"community_layouts": ["ortho_4x4"],
"layouts": {
"LAYOUT": {
"LAYOUT_ortho_4x4": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
Expand Down
2 changes: 1 addition & 1 deletion keyboards/handwired/ck4x4/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(KC_7, KC_8, KC_9, KC_MINUS,
[0] = LAYOUT_ortho_4x4(KC_7, KC_8, KC_9, KC_MINUS,
KC_4, KC_5, KC_6, KC_PLUS,
KC_1, KC_2, KC_3, KC_ENTER,
QK_BOOT, KC_NO, KC_NO, KC_NO
Expand Down
Loading
Loading