add gaming layer, update README

This commit is contained in:
Frieder Schlesier 2022-01-16 17:56:35 +01:00
parent d0aa26248b
commit 50a2cb32cf
6 changed files with 437 additions and 56 deletions

View File

@ -3,17 +3,24 @@
* Keyboard Config * Keyboard Config
for Keyboardio Atreus based on Kaleidoscope [[https://shop.keyboard.io/collections/keyboardio-atreus/products/keyboardio-atreus][Keyboardio Atreus]] with Alpha Layer based on Colemak, more specifically the [[https://colemakmods.github.io/mod-dh/keyboards.html#matrix-keyboards][mod-DH for Matrix]] keyboard variant.
This is modified for my personal environment with i3wm + Spacemacs!
** The Layout ** The Layout
[[./keyboard-layout-colemak-DHm.png]] [[./keyboard-layout-colemak-DHm.png]]
- colemak-dhm variant - alpha and shift layers work normally
- https://dreymar.colemak.org/ergo-mods.html#CurlDH - SYMBOLS and numbers are activated with right thumb (blue)
- NAV layer (orange) activated by holding Backspace key
- TAB and Enter keys work as extra Ctrl keys when hold for more than 250ms
- mouse movement with WASD (QWERTY) keys when holding M
- some additional utility keys are activated on hold (german umlaute, Ctrl+C,V,X,Z)
- [[https://kaleidoscope.readthedocs.io/en/latest/quick_start.html][Kaleidoscope Quick Start]] - [[https://kaleidoscope.readthedocs.io/en/latest/quick_start.html][Kaleidoscope Quick Start]]
- blog article about customizing the Atreus for german developers: https://www.gettommy.com/posts/my-ergonomic-40-percent-keyboard-layout-for-german-developers/#where-to-go-from-here - blog article on customizing the Atreus for developers: https://www.gettommy.com/posts/my-ergonomic-40-percent-keyboard-layout-for-german-developers/#where-to-go-from-here
- practise the new layout at https://www.keybr.com/ - typing practise: https://www.keybr.com/
- typing speedtest with layout emulator: https://monkeytype.com/ - typing speedtest with layout emulator: https://monkeytype.com/
- [[http://www.keyboard-layout-editor.com/][Keyboard Layout Editor]] - [[http://www.keyboard-layout-editor.com/][Keyboard Layout Editor]]
@ -23,9 +30,13 @@ for Keyboardio Atreus based on Kaleidoscope
- export KALEIDOSCOPE - export KALEIDOSCOPE
- make flash - make flash
** TODO ** TODO
- fully implement a sane extended layer like[[https://dreymar.colemak.org/layers-extend.html][ this]] - fully implement a sane extended layer like[[https://dreymar.colemak.org/layers-extend.html][ this]]
- add a QWERTZ layer for colleagues (and gaming)
- add mouse warping: https://kaleidoscope.readthedocs.io/en/latest/plugins/Kaleidoscope-MouseKeys.html#warping - add mouse warping: https://kaleidoscope.readthedocs.io/en/latest/plugins/Kaleidoscope-MouseKeys.html#warping
- maybe completely remove the NAV and TAB keys
** Adjusted QWERTY Layer for gaming
[[./keyboard-layout-GW-gaming_draft.png]]

View File

@ -56,7 +56,8 @@ enum {
SHIFT, // Shifted: hold Shift like a sane person SHIFT, // Shifted: hold Shift like a sane person
SYMBOLS, // SUPER key SYMBOLS, // SUPER key
NAVI, // with FUN or Any key (below , and .) NAVI, // with FUN or Any key (below , and .)
MOUSE // while holding M key MOUSE, // while holding M key
GAME // Moved to with ? key
}; };
/* *INDENT-OFF* */ /* *INDENT-OFF* */
@ -129,6 +130,21 @@ KEYMAPS(
XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX,
Key_mouseScrollDn, Key_mouseBtnR, XXX, XXX, XXX, XXX Key_mouseScrollDn, Key_mouseBtnR, XXX, XXX, XXX, XXX
), ),
[GAME] = KEYMAP_STACKED
(
Key_de_2 ,Key_de_3 ,Key_de_4 ,Key_de_5 ,Key_de_6
,Key_de_1 ,Key_de_Q ,Key_de_W ,Key_de_E ,Key_de_R
,Key_de_Tab ,Key_de_A ,Key_de_S ,Key_de_D ,Key_de_F ,Key_de_T
,___ ,Key_de_Y ,Key_de_X ,Key_de_Escape ,Key_de_C ,Key_de_Escape
,Key_de_7 ,Key_de_8 ,Key_de_9 ,Key_de_0 ,Key_de_Semicolon
,Key_de_Z ,Key_de_U ,Key_de_I ,Key_de_O ,Key_de_P
,Key_de_G ,Key_de_K ,Key_de_H ,Key_de_J ,Key_de_K ,Key_de_Slash
,Key_de_V ,Key_de_B ,Key_de_N ,MO(NAVI) ,Key_de_Period ,Key_Enter
),
) )
/* *INDENT-ON* */ /* *INDENT-ON* */

View File

@ -0,0 +1,309 @@
[
[
{
"x": 6,
"a": 5
},
"shift\n\n\n\nhold"
],
[
{
"r": 10,
"rx": 1,
"y": -0.09999999999999998,
"x": 2
},
"$\n\n\n\n\n\n4"
],
[
{
"y": -0.65,
"x": 1
},
"§\n\n\n\n\n\n3",
{
"x": 1,
"t": "#000000\n#1842d9",
"a": 4
},
"\nF1\n\n\n\n\n\n\n%\n5"
],
[
{
"y": -0.75,
"t": "#000000",
"a": 5
},
"\"\n\n\n\n\n\n2"
],
[
{
"y": -0.9,
"x": 4,
"t": "#000000\n#1842d9",
"a": 4
},
"\nF2\n\n\n\n\n\n\n&\n6"
],
[
{
"y": -0.7000000000000001,
"x": 2,
"t": "#000000",
"a": 7
},
"W"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"Q",
{
"x": 1,
"t": "#000000\n#1842d9",
"a": 4
},
"\nF3\n\n\n\n\n\n\n\nE"
],
[
{
"y": -0.75,
"t": "#000000",
"a": 5
},
"!\n\n\n\n\n\n1"
],
[
{
"y": -0.8999999999999999,
"x": 4,
"t": "#000000\n#1842d9",
"a": 4
},
"\nF4\n\n\n\n\n\n\n\nR"
],
[
{
"y": -0.7000000000000002,
"x": 2,
"t": "#000000",
"a": 7
},
"S"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"A",
{
"x": 1
},
"D"
],
[
{
"y": -0.75
},
"TAB",
{
"x": 4
},
"T"
],
[
{
"y": -0.8999999999999999,
"x": 4
},
"F"
],
[
{
"y": -0.7000000000000002,
"x": 2
},
"X"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"Y",
{
"x": 1
},
"Esc\n\n\n\nShift"
],
[
{
"y": -0.75
},
"\n\n\n\nCtrl",
{
"x": 4,
"t": "#000000\n\n\n\n#1842d9"
},
"Space\n\n\n\nFn-Mod"
],
[
{
"y": -0.8999999999999999,
"x": 4,
"t": "#000000"
},
"C"
],
[
{
"r": -10,
"rx": 7,
"ry": 0.965,
"y": -0.20000000000000018,
"x": 2,
"a": 5
},
")\n\n\n\nF10\n\n9"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"(\n\n\n\nF9\n\n8",
{
"x": 1
},
"=\n\n\n\nF11\n\n0"
],
[
{
"y": -0.75,
"x": 4,
"a": 7
},
"?\n\n\n\nF12"
],
[
{
"y": -0.8999999999999999,
"a": 5
},
"/\n\n\n\nF8\n\n7"
],
[
{
"y": -0.7000000000000002,
"x": 2,
"a": 7
},
"I\n\n\n\nF7"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"U\n\n\n\nF6",
{
"x": 1
},
"O"
],
[
{
"y": -0.75,
"x": 4
},
"P"
],
[
{
"y": -0.8999999999999999
},
"Z\n\n\n\nF5"
],
[
{
"y": -0.7000000000000002,
"x": 2
},
"K"
],
[
{
"y": -0.6499999999999999,
"x": 1
},
"J",
{
"x": 1
},
"L"
],
[
{
"y": -0.7500000000000004,
"x": 4
},
"Shift"
],
[
{
"y": -0.9000000000000004
},
"H"
],
[
{
"y": -0.6999999999999997,
"x": 2
},
"M"
],
[
{
"y": -0.6500000000000004,
"x": 1
},
"N",
{
"x": 1,
"a": 5
},
",\n\n\n\n\n\n."
],
[
{
"y": -0.8650000000000002,
"x": -1,
"a": 7
},
"V"
],
[
{
"y": -0.8849999999999998,
"x": 4
},
"Enter"
],
[
{
"y": -0.9000000000000004
},
"B"
],
[
{
"rx": 7.25,
"y": 2.2350000000000003,
"x": -1.25
},
"G"
]
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -31,18 +31,7 @@
"y": -0.09999999999999998, "y": -0.09999999999999998,
"x": 2, "x": 2,
"t": "#267dff\n#1fa12e\n\n\n\n\n\n\n\n000000", "t": "#267dff\n#1fa12e\n\n\n\n\n\n\n\n000000",
"fa": [ "f2": 5
0,
5,
0,
1,
0,
0,
0,
0,
0,
0
]
}, },
"?\n<i class='kb kb-Arrows-Up'></i>\n\n\n\n\n\n\n\nF" "?\n<i class='kb kb-Arrows-Up'></i>\n\n\n\n\n\n\n\nF"
], ],
@ -50,18 +39,26 @@
{ {
"y": -0.65, "y": -0.65,
"x": 1, "x": 1,
"t": "#267dff\n\n\n\n\n\n\n\n\n000000" "t": "#267dff\n\n\n\n\n\n\n\n\n000000",
"f": 3
}, },
"@\n\n\n\n\n\n\n\n\nW", "@\n\n\n\n\n\n\n\n\nW",
{ {
"x": 1 "x": 1,
"f": 3
}, },
"$\n\n\n\n\n\n\n\n\nP" "$\n\n\n\n\n\n\n\n\nP"
], ],
[ [
{ {
"y": -0.75, "y": -0.75,
"t": "#267dff\n\n\n\n\n\n\n\n\n#000000" "t": "#267dff\n\n\n\n\n\n\n\n\n#000000",
"fa": [
0,
5,
5,
1
]
}, },
"!\n\n\nIns\n\n\n\n\n\nQ" "!\n\n\nIns\n\n\n\n\n\nQ"
], ],
@ -77,14 +74,28 @@
{ {
"y": -0.7000000000000001, "y": -0.7000000000000001,
"x": 2, "x": 2,
"t": "#267dff\n#1fa12e\n\n\n\n\n\n\n\n000000" "t": "#267dff\n#1fa12e\n\n\n\n\n\n\n\n000000\n#b906d6",
"fa": [
0,
5,
5,
1,
0,
0,
0,
0,
0,
0,
2
]
}, },
"(\n<i class='kb kb-Arrows-Down'></i>\n\n\n\n\n\n\n\nS" "(\n<i class='kb kb-Arrows-Down'></i>\n\n\n\n\n\n\n\nS\nß"
], ],
[ [
{ {
"y": -0.6499999999999999, "y": -0.6499999999999999,
"x": 1 "x": 1,
"t": "#267dff\n#1fa12e\n\n\n\n\n\n\n\n000000"
}, },
"{\n<i class='kb kb-Arrows-Left'></i>\n\n\n\n\n\n\n\nR", "{\n<i class='kb kb-Arrows-Left'></i>\n\n\n\n\n\n\n\nR",
{ {
@ -95,14 +106,15 @@
[ [
{ {
"y": -0.75, "y": -0.75,
"t": "#267dff\n\n\n\n\n\n\n\n\n000000" "t": "#267dff\n\n\n\n\n\n\n\n\n000000\n#b906d6"
}, },
"~\n\n\n\n\n\n\n\n\nA" "~\n\n\n\n\n\n\n\n\nA\nÄ"
], ],
[ [
{ {
"y": -0.8999999999999999, "y": -0.8999999999999999,
"x": 4 "x": 4,
"t": "#267dff\n\n\n\n\n\n\n\n\n000000"
}, },
"'\n\n\n\n\n\n\n\n\nG" "'\n\n\n\n\n\n\n\n\nG"
], ],
@ -110,10 +122,10 @@
{ {
"y": -0.7000000000000002, "y": -0.7000000000000002,
"x": 2, "x": 2,
"t": "#267dff\n\n\n#c76c00\n\n\n\n\n\n000000", "t": "#267dff\n\n\n#c76c00\n#b906d6\n\n\n\n\n000000",
"f": 3 "f": 3
}, },
")\n\n\n<i class='kb kb-Multimedia-Volume-Up-2'></i>\n\n\n\n\n\nC" ")\n\n\n<i class='kb kb-Multimedia-Volume-Up-2'></i>\nCtrl+C\n\n\n\n\nC"
], ],
[ [
{ {
@ -121,9 +133,10 @@
"x": 1, "x": 1,
"f": 3 "f": 3
}, },
"}\n\n\n<i class='kb kb-Multimedia-Volume-Down-1'></i>\n\n\n\n\n\nX", "}\n\n\n<i class='kb kb-Multimedia-Volume-Down-1'></i>\nCtrl+X\n\n\n\n\nX",
{ {
"x": 1, "x": 1,
"t": "#267dff\n\n\n#c76c00\n\n\n\n\n\n000000",
"f": 3 "f": 3
}, },
"]\n\n\n<i class='kb kb-Multimedia-Mute-2'></i>\n\n\n\n\n\nD" "]\n\n\n<i class='kb kb-Multimedia-Mute-2'></i>\n\n\n\n\n\nD"
@ -145,16 +158,16 @@
{ {
"y": -0.8999999999999999, "y": -0.8999999999999999,
"x": 4, "x": 4,
"t": "#267dff\n\n\n#c76c00", "t": "#267dff\n\n\n#c76c00\n#b906d6",
"a": 4, "a": 4,
"fa": [ "fa": [
0, 0,
5, 5,
0, 5,
2 2
] ]
}, },
"\"\n\n\n<i class='kb kb-Multimedia-Play-Pause'></i>\n\n\n\n\n\nV" "\"\n\n\n<i class='kb kb-Multimedia-Play-Pause'></i>\nCtrl+V\n\n\n\n\nV"
], ],
[ [
{ {
@ -226,16 +239,29 @@
"ry": 0.965, "ry": 0.965,
"y": -0.20000000000000018, "y": -0.20000000000000018,
"x": 2, "x": 2,
"t": "#267dff\n\n\n#c76c00\n\n\n\n\n\n000000", "t": "#267dff\n\n\n#c76c00\n\n\n\n\n\n000000\n#b906d6",
"a": 4, "a": 4,
"f": 3 "fa": [
0,
2,
0,
0,
0,
0,
0,
0,
0,
0,
2
]
}, },
"8\n\n\n<i class='kb kb-Arrows-Up'></i>\n\n\n\n\n\nU" "8\n\n\n<i class='kb kb-Arrows-Up'></i>\n\n\n\n\n\nU\nÜ"
], ],
[ [
{ {
"y": -0.6499999999999999, "y": -0.6499999999999999,
"x": 1, "x": 1,
"t": "#267dff\n\n\n#c76c00\n#b906d6\n\n\n\n\n000000",
"fa": [ "fa": [
0, 0,
2, 2,
@ -243,9 +269,10 @@
1 1
] ]
}, },
"7\n\n\nHOME\n\n\n\n\n\nL", "7\n\n\nHOME\nCtrl+L\n\n\n\n\nL",
{ {
"x": 1 "x": 1,
"t": "#267dff\n\n\n#c76c00\n\n\n\n\n\n000000"
}, },
"9\n\n\nEnd\n\n\n\n\n\nZ" "9\n\n\nEnd\n\n\n\n\n\nZ"
], ],
@ -292,24 +319,35 @@
{ {
"y": -0.75, "y": -0.75,
"x": 4, "x": 4,
"f": 3 "t": "#267dff\n\n\n#c76c00\n#b906d6\n\n\n\n\n000000\n#b906d6",
"fa": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
]
}, },
"-\n\n\n<i class='kb kb-Arrows-Bottom-4'></i>\n\n\n\n\n\nO" "-\n\n\n<i class='kb kb-Arrows-Bottom-4'></i>\n\n\n\n\n\nO\nÖ"
], ],
[ [
{ {
"y": -0.8999999999999999, "y": -0.8999999999999999,
"t": "#267dff\n#1fa12e\n\n#c76c00\n#1fa12e\n\n\n\n\n000000", "t": "#267dff\n#1fa12e\n\n#c76c00\n#1fa12e\n\n\n\n\n000000"
"f": 3
}, },
"*\n<i class='fa fa-mouse-pointer'></i>\n\n<i class='kb kb-Arrows-Left'></i>\n<i class='fa fa-mouse-pointer'></i>\n\n\n\n\nM" "*\n<i class='fa fa-mouse-pointer'></i>\n\n<i class='kb kb-Arrows-Left'></i>\nMouse\n\n\n\n\nM"
], ],
[ [
{ {
"y": -0.7000000000000002, "y": -0.7000000000000002,
"x": 2, "x": 2,
"t": "#267dff\n\n\n\n\n\n\n\n000000\n000000", "t": "#267dff\n\n\n\n\n\n\n\n000000\n000000"
"f": 3
}, },
"2\n\n\n\n\n\n\n\n;\n," "2\n\n\n\n\n\n\n\n;\n,"
], ],
@ -317,14 +355,12 @@
{ {
"y": -0.6499999999999999, "y": -0.6499999999999999,
"x": 1, "x": 1,
"t": "#267dff\n\n\n\n\n\n\n\n\n000000", "t": "#267dff\n\n\n\n\n\n\n\n\n000000"
"f": 3
}, },
"1\n\n\n\n\n\n\n\n\nH", "1\n\n\n\n\n\n\n\n\nH",
{ {
"x": 1, "x": 1,
"t": "#267dff\n\n\n\n\n\n\n\n000000\n000000", "t": "#267dff\n\n\n\n\n\n\n\n000000\n000000"
"f": 3
}, },
"3\n\n\n\n\n\n\n\n:\n." "3\n\n\n\n\n\n\n\n:\n."
], ],
@ -334,16 +370,14 @@
"x": 4, "x": 4,
"t": "#000000", "t": "#000000",
"sm": "alps", "sm": "alps",
"sb": "matias", "sb": "matias"
"f": 3
}, },
"<i class='kb kb-Return-2'></i>\n\n\n\n\n\n\n\n\n/" "<i class='kb kb-Return-2'></i>\n\n\n\n\n\n\n\n\n/"
], ],
[ [
{ {
"y": -0.9000000000000004, "y": -0.9000000000000004,
"t": "#267dff\n\n\n\n\n\n\n\n\n000000", "t": "#267dff\n\n\n\n\n\n\n\n\n000000"
"f": 3
}, },
"0\n\n\n\n\n\n\n\n\nK" "0\n\n\n\n\n\n\n\n\nK"
], ],
@ -407,7 +441,18 @@
"t": "#000000\n#00ff19", "t": "#000000\n#00ff19",
"a": 4, "a": 4,
"f": 3, "f": 3,
"f2": 2 "fa": [
0,
2,
0,
0,
0,
0,
0,
0,
0,
2
]
}, },
"<i class='kb kb-Arrows-Top-1'></i>\nRclick\n\n\n\n\n\n\n\nSYMB" "<i class='kb kb-Arrows-Top-1'></i>\nRclick\n\n\n\n\n\n\n\nSYMB"
] ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 122 KiB