Add layout for split 3x5_2 (#15800)

master
Albert Y 2022-01-11 07:01:44 +08:00 committed by GitHub
parent 8f630c17b9
commit cfabc3b028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#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 , . /
*
*
* Bsp Ent
* Tab Spc
*
*/
[0] = LAYOUT_split_3x5_2(
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_BSPC, KC_TAB, KC_SPC, KC_ENT
)
};

View File

@ -0,0 +1,52 @@
{
"keyboard_name": "3x5+2 split layout",
"url": "",
"maintainer": "qmk",
"layouts": {
"LAYOUT_split_3x5_2": {
"layout": [
{"x":0, "y":0.25},
{"x":1, "y":0.125},
{"x":2, "y":0},
{"x":3, "y":0.125},
{"x":4, "y":0.25},
{"x":7, "y":0.25},
{"x":8, "y":0.125},
{"x":9, "y":0},
{"x":10, "y":0.125},
{"x":11, "y":0.25},
{"x":0, "y":1.25},
{"x":1, "y":1.125},
{"x":2, "y":1},
{"x":3, "y":1.125},
{"x":4, "y":1.25},
{"x":7, "y":1.25},
{"x":8, "y":1.125},
{"x":9, "y":1},
{"x":10, "y":1.125},
{"x":11, "y":1.25},
{"x":0, "y":2.25},
{"x":1, "y":2.125},
{"x":2, "y":2},
{"x":3, "y":2.125},
{"x":4, "y":2.25},
{"x":7, "y":2.25},
{"x":8, "y":2.125},
{"x":9, "y":2},
{"x":10, "y":2.125},
{"x":11, "y":2.25},
{"x":3.5, "y":3.25},
{"x":4.5, "y":3.5},
{"x":6.5, "y":3.5},
{"x":7.5, "y":3.25}
]
}
}
}

View File

@ -0,0 +1,11 @@
[{x:2,a:7},"",{x:6},""],
[{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""],
[{y:-0.25,x:2},"",{x:6},""],
[{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""],
[{y:-0.25,x:2},"",{x:6},""],
[{y:-0.875,x:1},"",{x:1},"",{x:4},"",{x:1},""],
[{y:-0.875},"",{x:3},"",{x:2},"",{x:3},""],
[{y:-0.75,x:3.5},"",{x:3},""],
[{y:-0.75,x:4.5},"",{x:1},""]

View File

@ -0,0 +1,5 @@
# split_3x5_2
LAYOUT_split_3x5_2
Layout for split keyboards with 3x5 keys and two thumb keys per hand. Examples include the Architeuthis Dux, Ferris, and Cradio.