amend split_* community_layouts in keyboards (#21847)

This commit is contained in:
Duncan Sutherland 2023-09-25 03:56:33 +01:00 committed by GitHub
parent 131bc92b77
commit 2181da4b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 60 deletions

View File

@ -38,6 +38,7 @@
}
}
},
"community_layouts": ["split_3x5_2"],
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [

View File

@ -10,7 +10,7 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["split_3x5_3" "split_3x6_3"],
"community_layouts": ["split_3x5_3", "split_3x6_3"],
"layout_aliases": {
"LAYOUT": "LAYOUT_split_3x6_3"
},

View File

@ -27,8 +27,12 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layout_aliases": {
"LAYOUT_split_3x6_3_2": "LAYOUT_split_3x6_3"
},
"community_layouts": ["split_3x6_3"],
"layouts": {
"LAYOUT_split_3x6_3_2": {
"LAYOUT_split_3x6_3": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0.875},
{"matrix": [0, 1], "x": 1, "y": 0.625},

View File

@ -31,7 +31,7 @@ enum layer_number {
#define KC_A_DEL ALT_T(KC_DEL)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_split_3x6_3_2(
[_QWERTY] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+---------+--------+---------+--------+--------.
KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+---------+--------+---------+--------+--------|
@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// `+--------+--------+--------' `--------+---------+--------+'
),
[_RAISE] = LAYOUT_split_3x6_3_2(
[_RAISE] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+--------+--------+--------+--------+--------.
_______, KC_BSLS, KC_CIRC, KC_EXLM, KC_AMPR, KC_PIPE, KC_AT , KC_EQL , KC_PLUS, KC_ASTR, KC_PERC, KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
@ -55,7 +55,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// `+--------+--------+--------' `--------+-------+--------+'
),
[_LOWER] = LAYOUT_split_3x6_3_2(
[_LOWER] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+--------+--------+--------+--------+--------.
KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , _______, KC_EQL , KC_PLUS, KC_ASTR, KC_PERC, KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
@ -67,7 +67,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// `+--------+--------+--------' `--------+--------+--------+'
),
[_ADJUST] = LAYOUT_split_3x6_3_2(
[_ADJUST] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+--------+--------+--------+--------+--------.
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|

View File

@ -31,7 +31,7 @@ enum layer_number {
#define KC_A_DEL ALT_T(KC_DEL)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_split_3x6_3_2(
[_QWERTY] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+---------+--------+---------+--------+--------.
KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+---------+--------+---------+--------+--------|
@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// `+--------+--------+--------' `--------+---------+--------+'
),
[_RAISE] = LAYOUT_split_3x6_3_2(
[_RAISE] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+--------+--------+--------+--------+--------.
_______, KC_BSLS, KC_CIRC, KC_EXLM, KC_AMPR, KC_PIPE, KC_AT , KC_EQL , KC_PLUS, KC_ASTR, KC_PERC, KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
@ -55,7 +55,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// `+--------+--------+--------' `--------+-------+--------+'
),
[_LOWER] = LAYOUT_split_3x6_3_2(
[_LOWER] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+--------+--------+--------+--------+--------.
KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , KC_F6 , _______, KC_EQL , KC_PLUS, KC_ASTR, KC_PERC, KC_MINS,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
@ -67,7 +67,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// `+--------+--------+--------' `--------+--------+--------+'
),
[_ADJUST] = LAYOUT_split_3x6_3_2(
[_ADJUST] = LAYOUT_split_3x6_3(
//,--------+--------+--------+--------+--------+--------. ,--------+--------+--------+--------+--------+--------.
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|

View File

@ -41,54 +41,5 @@
},
"processor": "atmega32u4",
"bootloader": "qmk-dfu",
"community_layouts": ["split_3x5_3"],
"layouts": {
"LAYOUT_split_3x5_3": {
"layout": [
{"x": 0, "y": 0.88},
{"x": 1, "y": 0.38},
{"x": 2, "y": 0},
{"x": 3, "y": 0.38},
{"x": 4, "y": 0.5},
{"x": 6, "y": 0.5},
{"x": 7, "y": 0.38},
{"x": 8, "y": 0},
{"x": 9, "y": 0.38},
{"x": 10, "y": 0.88},
{"x": 0, "y": 1.88},
{"x": 1, "y": 1.38},
{"x": 2, "y": 1},
{"x": 3, "y": 1.38},
{"x": 4, "y": 1.5},
{"x": 6, "y": 1.5},
{"x": 7, "y": 1.38},
{"x": 8, "y": 1},
{"x": 9, "y": 1.38},
{"x": 10, "y": 1.88},
{"x": 0, "y": 2.88},
{"x": 1, "y": 2.38},
{"x": 2, "y": 2},
{"x": 3, "y": 2.38},
{"x": 4, "y": 2.5},
{"x": 6, "y": 2.5},
{"x": 7, "y": 2.38},
{"x": 8, "y": 2},
{"x": 9, "y": 2.38},
{"x": 10, "y": 2.88},
{"x": 2, "y": 3.25},
{"x": 3, "y": 3.38},
{"x": 4, "y": 3.5},
{"x": 6, "y": 3.5},
{"x": 7, "y": 3.38},
{"x": 8, "y": 3.25}
]
}
}
"community_layouts": ["split_3x5_3"]
}