Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
4fcc709f4e
26 changed files with 9357 additions and 0 deletions
201
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_colemak.c
Normal file
201
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_colemak.c
Normal file
|
|
@ -0,0 +1,201 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2020 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
/* ⬇ */
|
||||
|
||||
/* Layer _..._BASE: Qwerty, normal BASE layer and 'default' layer
|
||||
*
|
||||
* - Dual use keys create a delay in the key (tap/hold keys), therefore
|
||||
* space is not dual use (most ued key), neither is hyphen.
|
||||
*/
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_COLEMAK__DEF_BASE)
|
||||
[ _DEF_BASE ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_COLEMAK__ALT_BASE)
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._BASE (Letters). This is Colemak, except backspace/tab
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ wW fF pP gG | jJ lL uU yY ;: Bksp
|
||||
Tab+LCtl aA rR sS tT dD | hH nN eE iI oO '"
|
||||
LSht+_PAD zZ xX cC vV bB | kK mM ,< .> /? RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) LGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(RGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
*/
|
||||
//
|
||||
// <pink2 , <pink, <ring, <midd, <indx, <ind|, indx>, inde>, midd> , ring> , pink> , pink2> ,
|
||||
// -*!- , , , , , <|,> , , , , , ,
|
||||
KC_ESC , KC_Q , KC_W , KC_F , KC_P , KC_G , KC_J , KC_L , KC_U , KC_Y , KC_SCLN , KC_BSPC ,
|
||||
LCTL_T ( KC_TAB ) , KC_A , KC_R , KC_S , KC_T , KC_D , KC_H , KC_N , KC_E , KC_I , KC_O , KC_QUOT ,
|
||||
CHOLTAP_LSHFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_K , KC_M , KC_COMM , KC_DOT , KC_SLSH , CHOLTAP_RSHFT ,
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, MO ( _PAD )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1_BASE
|
||||
# endif
|
||||
|
||||
# ifdef SWITCH_HOLD_ACC_NSY
|
||||
, DUO_HOLD , CHOLTAP_ACCE
|
||||
# else
|
||||
, CHOLTAP_ACCE , DUO_HOLD
|
||||
# endif
|
||||
, LT__MOV__KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_SPC , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, MO ( _FUN )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, CHOLTAP_LAYR
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
/* Layer _..._NSY: Numbers and symbols, to work with the Colemak base layer above (unchanged from Qwerty).
|
||||
* Off hand Number input (-.Bksp ent (shft)tab).
|
||||
*/
|
||||
// KC_TILD does not work there, because of a limitation with shifted keys (nov 2019).
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_COLEMAK__DEF_BASE)
|
||||
[ _DEF_NSY ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_COLEMAK__ALT_BASE)
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._NSY (Numbers and SYmbols). This fits the above Colemak layer _..._BASE
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht // limitation prevents ~
|
||||
^^ ^ // Only differences with normal version _..._NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _..._BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(RGUI) (_MOV)
|
||||
*/
|
||||
//
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , -*- , , , , <|,> , , , , , ,
|
||||
CTO_BASE , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , KC_LPRN , KC_RPRN , KC_DEL ,
|
||||
LCTL_T ( KC_TAB ) , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , RCTL_T ( KC_GRV ) ,
|
||||
LSFT_T ( KC_MINS ) , KC_LBRC , KC_RBRC , KC_MINS , KC_BSLS , KC_EQL , KC_PLUS , KC_PIPE , KC_UNDS , KC_LCBR , KC_RCBR , RSFT_T ( KC_TILD ) ,
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, _______ , _______ , KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_DOT , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, RALT_T ( KC_RGHT )
|
||||
// , , -*- , <|,> , -*- , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
# Minifan layout
|
||||
|
||||
Compiled for: Colemak
|
||||
=====================
|
||||
|
||||
This file details the compile version `#define BASE_COLEMAK__DEF_BASE, BASE_COLEMAK__ALT_BASE`.
|
||||
This is a Colemak layout.
|
||||
|
||||
Control follows Unix logic here (left/center), not Colemak Backspace.
|
||||
|
||||
Colemak keymaps
|
||||
---------------
|
||||
|
||||
──────────Colemak──────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
(…)
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
Layers (text)
|
||||
=============
|
||||
|
||||
───────────────Colemak────────────────
|
||||
Layer _..._BASE (Letters). This is Colemak, except backspace/tab
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ wW fF pP gG | jJ lL uU yY ;: Bksp
|
||||
Tab+LCtl aA rR sS tT dD | hH nN eE iI oO '"
|
||||
LSht+_PAD zZ xX cC vV bB | kK mM ,< .> /? RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) RGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(LGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
|
||||
Remarks: The left modifiers have a slight delay in combination with an outside pointer device (mouse, stylus).
|
||||
It seems this will be difficult to fix, because it is spread over two devices. To avoid the
|
||||
±0.2 second delay, activate a layer where the modifiers are direct (`_PAD`), using the layer toggle on left shift.
|
||||
|
||||
The two keys with ';' (Del;`_ACC`, Right;`_RAR`) do not auto-repeat on double tap, like QMK normal layer-tap keys.
|
||||
There is an uncluttered _Delete_ on `_PAD`, an uncluttered _Right_ arrow on the `_MOV` layer.
|
||||
|
||||
Holding both `_DEF_NSY` keys left and right of the "split space bar" (enter, space) results in layer `_DRA`.
|
||||
|
||||
Holding either one of the just above mentioned `_DEF_NSY` layer keys (<3 and 3>), with the `_ACC` layer key
|
||||
(on <2) results in layer `_BON`.
|
||||
|
||||
|
||||
- - -
|
||||
|
||||
|
||||
Layer _..._NSY (Numbers and SYmbols). (Same as Qwerty numbers layer.)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht // limitation prevents ~
|
||||
^^ ^ // Only differences with Dvorak version _DEF_NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ RGUI Right+RAlt
|
||||
-*- <|> -*- u //(hold) Access on _DEF_BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(LGUI) (_MOV)
|
||||
|
||||
|
||||
|
||||
- - -
|
||||
|
||||
|
||||
200
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c
Normal file
200
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c
Normal file
|
|
@ -0,0 +1,200 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2020 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
/* ⬇ */
|
||||
|
||||
/* Layer _..._BASE: default BASE layer (Dvorak)
|
||||
*
|
||||
* - Dual use keys create a delay in the key (tap/hold keys), therefore
|
||||
* space is not dual use (most used key), neither is hyphen.
|
||||
*/
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_DVORAK__DEF_BASE)
|
||||
[ _DEF_BASE ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_DVORAK__ALT_BASE)
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._BASE (LeTteRs, standard Dvorak)
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc '" ,< .> pP yY | fF gG cC rR lL Bksp
|
||||
Tab+LCtl aA oO eE uU iI | dD hH tT nN sS -_
|
||||
LSht+_PAD ;: qQ jJ kK xX | bB mM wW vV zZ RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) LGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
… …
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
³) 'South paw' hardware configuration
|
||||
⁴) 'Arrow' hardware configuration
|
||||
³ ⁴) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
⁵) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
⁶) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
*/
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <indx, <ind|, indx>, inde>, midd>, ring>, pink>, pink2> ,
|
||||
// -*!- , , , , , <|,> , , , , , ,
|
||||
KC_ESC , KC_QUOT , KC_COMM , KC_DOT , KC_P , KC_Y , KC_F , KC_G , KC_C , KC_R , KC_L , KC_BSPC ,
|
||||
LCTL_T ( KC_TAB ) , KC_A , KC_O , KC_E , KC_U , KC_I , KC_D , KC_H , KC_T , KC_N , KC_S , KC_MINS ,
|
||||
CHOLTAP_LSHFT , KC_SCLN , KC_Q , KC_J , KC_K , KC_X , KC_B , KC_M , KC_W , KC_V , KC_Z , CHOLTAP_RSHFT ,
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, MO ( _PAD )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1_BASE
|
||||
# endif
|
||||
|
||||
# ifdef SWITCH_HOLD_ACC_NSY
|
||||
, DUO_HOLD , CHOLTAP_ACCE
|
||||
# else
|
||||
, CHOLTAP_ACCE , DUO_HOLD
|
||||
# endif
|
||||
|
||||
, LT__MOV__KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_SPC , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, MO ( _FUN )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, CHOLTAP_LAYR
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
/* Layer _..._NSY: Numbers and symbols.
|
||||
* Off hand Number input (-.Bksp ent (shft)tab).
|
||||
*/
|
||||
// KC_TILD does not work there, because of a limitation with shifted keys (nov 2019).
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_DVORAK__DEF_BASE)
|
||||
[ _DEF_NSY ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_DVORAK__ALT_BASE)
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._NSY (Numbers and SYmbols)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} /? \| =+ | + | ? { } `~+RSht // limitation prevents ~
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _..._BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
… …
|
||||
*/
|
||||
//
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , -*- , , , , <|,> , , , , , ,
|
||||
CTO_BASE , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , KC_LPRN , KC_RPRN , KC_DEL ,
|
||||
LCTL_T ( KC_TAB ) , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , RCTL_T ( KC_GRV ) ,
|
||||
LSFT_T ( KC_MINS ) , KC_LBRC , KC_RBRC , KC_SLSH , KC_BSLS , KC_EQL , KC_PLUS , KC_PIPE , KC_QUES , KC_LCBR , KC_RCBR , RSFT_T ( KC_TILD ) ,
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, TRANS_LEFT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, _______ , _______ , KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
, KC_DOT , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, TRANS_RIGHT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, RALT_T ( KC_RIGHT )
|
||||
// , , -*- , <|,> , -*- , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
# Minifan layout
|
||||
|
||||
Compiled for: Dvorak
|
||||
====================
|
||||
|
||||
This file details the compile version `#define BASE_DVORAK__DEF_BASE,
|
||||
BASE_DVORAK__ALT_BASE`. This is a Dvorak layout.
|
||||
|
||||
Dvorak keymaps
|
||||
--------------
|
||||
|
||||
──────────Dvorak───────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
(…)
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
Layers (text)
|
||||
=============
|
||||
|
||||
Layer _..._BASE (LeTteRs, standard Dvorak)
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc '" ,< .> pP yY | fF gG cC rR lL Bksp
|
||||
Tab+LCtl aA oO eE uU iI | dD hH tT nN sS -_
|
||||
LSht+_PAD ;: qQ jJ kK xX | bB mM wW vV zZ RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _DEF_NSY(_DRA) Enter+_MOV| Space _DEF_NSY(_DRA) RGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(LGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _DEF_NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
|
||||
Remarks: The left modifiers have a slight delay in combination with an outside pointer device (mouse, stylus).
|
||||
It seems this will be difficult to fix, because it is spread over two devices. To avoid the
|
||||
±0.2 second delay, activate a layer where the modifiers are direct (`_PAD`), using the layer toggle on left shift.
|
||||
|
||||
The two keys with ';' (Del;`_ACC`, Right;`_RAR`) do not auto-repeat on double tap, like QMK normal layer-tap keys.
|
||||
There is an uncluttered _Delete_ on `_PAD`, an uncluttered _Right_ arrow on the `_MOV` layer.
|
||||
|
||||
Holding both `_DEF_NSY` keys left and right of the "split space bar" (enter, space) results in layer `_DRA`.
|
||||
|
||||
Holding either one of the just above mentioned `_DEF_NSY` layer keys (<3 and 3>), with the `_ACC` layer key
|
||||
(on <2) results in layer `_BON`.
|
||||
|
||||
- - -
|
||||
|
||||
Layer _..._NSY (Numbers and SYmbols)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} /? \| =+ | + | ? { } `~+RSht // limitation prevents ~
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ RGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _DEF_BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(LGUI) (_MOV)
|
||||
|
||||
- - -
|
||||
|
||||
Key associations
|
||||
----------------
|
||||
Key placement associations between layers for Dvorak.
|
||||
|
||||

|
||||
|
||||
|
|
@ -0,0 +1,242 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2020 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
/* Layers _ALT_BASE, _ALT_NSY: Descramble basic layers if the computer itself is
|
||||
* applying Dvorak remapping.
|
||||
*
|
||||
* When a computer is already set to Dvorak, connecting a
|
||||
* keyboard which is natively Dvorak results in garbage.
|
||||
* The computer side normal keycodes to Dvorak remapping goes
|
||||
* on top of the wrong input, resulting in the following being
|
||||
* effective:
|
||||
*
|
||||
* _DEF_BASE layer: |
|
||||
* Esc - w v l f u i j p n Bspc
|
||||
* Tab a r . g c e d y b o [
|
||||
* Sht s ' h t q x m , k ; Sht
|
||||
* Enter Space
|
||||
* _DEF_NSY layer: |
|
||||
* _DEF_BASE ! @ # $ % ^ & * ( ) Bspc
|
||||
* [ 1 2 3 4 5 \ ] z / = `
|
||||
* Sht 0 9 8 7 6 | } Z ? + `
|
||||
* Enter Space
|
||||
*
|
||||
* _ACC layer: |
|
||||
* <just semi-random character strings>
|
||||
*
|
||||
* _DRA, _BON: same as _ACC: garbage.
|
||||
*
|
||||
* To solve this results in the strange layout given below.
|
||||
* The result is close to a Qwerty layout. It will not be ideal
|
||||
* for Qwerty typers because the symbols are not arranged that
|
||||
* well.
|
||||
*/
|
||||
|
||||
|
||||
/* Layer _ALT_BASE: Descrambled _DEF_BASE layer for a computer already set to Dvorak (see above).
|
||||
* It is a copy of _DEF_BASE, with moved around stuff, and points to _ALT_NSY instead
|
||||
* of _DEF_NSY, because that too has some descrambled symbols. The rest is the same.
|
||||
*
|
||||
*/
|
||||
|
||||
// This layout is only foreseen on ‛Alternate’.
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
|
||||
/*
|
||||
Layer _ALT_BASE (Dvorak descramble mode for letters, end result shown)
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc '" ,< .> pP yY | fF gG cC rR lL Bksp
|
||||
Tab+LCtl aA oO eE uU iI | dD hH tT nN sS -_
|
||||
LSht+_PAD ;: qQ jJ kK xX | bB mM wW vV zZ RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _ALT_NSY(_DRA) Enter+_MOV| Space _ALT_NSY(_DRA) LGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━━━━━━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(RGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _DEF_NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
|
||||
|
||||
_ALT_BASE input results in the same as _DEF_BASE with computer side Dvorak remapping. Only shown what changes:
|
||||
|
||||
'" ,< .> pP yY | fF gG cC rR lL // row 4, result
|
||||
oO eE uU iI | dD hH tT nN sS -_ // row 3, result
|
||||
;: qQ jJ kK xX | bB wW vV zZ // row 2, result
|
||||
---------------------------------------------------------------------------------------
|
||||
_ALT_NSY _ALT_NSY // row 1, result
|
||||
|
||||
(Keys for 'aA', '\|' and 'mM' are the same in Dvorak and Qwerty.)
|
||||
|
||||
*/
|
||||
//
|
||||
//
|
||||
// <pink2 , <pink, <ring, <midd, <indx, <ind|, indx>, inde>, middle> , ring> , pink> , pink2> ,
|
||||
// -*- , , , , , <|,> , , , , , -!- ,
|
||||
KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC ,
|
||||
LCTL_T ( KC_TAB ) , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN , KC_QUOT ,
|
||||
CHOLTAP_LSHFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM , KC_DOT , KC_SLSH , CHOLTAP_RSHFT ,
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, MO ( _PAD )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1_BASE
|
||||
# endif
|
||||
|
||||
# ifdef SWITCH_HOLD_ACC_NSY
|
||||
, DUO_HOLD , CHOLTAP_ACCE
|
||||
# else
|
||||
, CHOLTAP_ACCE , DUO_HOLD
|
||||
# endif
|
||||
|
||||
, LT__MOV__KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_SPC , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, MO ( _FUN )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, CHOLTAP_LAYR
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
|
||||
/* Layer _ALT_NSY: Descrambled _DEF_NSY layer for a computer already set to Dvorak (see just above).
|
||||
*
|
||||
*/
|
||||
// KC_TILD does not work there, because of a limitation with shifted keys (nov 2019).
|
||||
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
|
||||
/*
|
||||
Layer _ALT_NSY (Dvorak descramble mode for numbers/symbols)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht -_ =+ [{ \| ]} | } | { _ + `~+RSht // row 2, raw
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _DEF_BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(RGUI) (_MOV)
|
||||
|
||||
_ALT_NSY input results in the same as _DEF_NSY with computer side Dvorak remapping. Only shown what changes:
|
||||
|
||||
[{ ]} /? =+ | + ? { } // row 2, result
|
||||
*/
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , -*- , , , , <|,> , , , , -*- , ,
|
||||
CTO_BASE , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , KC_LPRN , KC_RPRN , KC_DEL ,
|
||||
LCTL_T ( KC_TAB ) , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , RCTL_T ( KC_GRV ) ,
|
||||
LSFT_T ( KC_MINS ) , KC_MINS , KC_EQL , KC_LBRC , KC_BSLS , KC_RBRC , KC_RCBR , KC_PIPE , KC_LCBR , KC_UNDS , KC_PLUS , RSFT_T ( KC_TILD ) ,
|
||||
// --------------------------------------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, _______ , _______ , KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_DOT , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, RALT_T ( KC_RIGHT )
|
||||
// , , -*- , <|,> , -*- , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
|
@ -0,0 +1,135 @@
|
|||
# Minifan layout
|
||||
|
||||
Compiled for: Dvorak²
|
||||
=====================
|
||||
|
||||
This file details the compile version `#define BASE_DVORAK_DESCRAMBLE__ALT_BASE`
|
||||
which has a special version of Dvorak so that you can type Dvorak on a computer
|
||||
*already* set to do Dvorak layout re-mapping.
|
||||
|
||||
This can be useful on for example a laptop, for which the build-in
|
||||
keyboard should to be in Dvorak.
|
||||
|
||||
Dvorak² keymaps
|
||||
---------------
|
||||
|
||||
──────────Dvorak───────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
(…)
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
Layers (text)
|
||||
=============
|
||||
|
||||
Layer _ALT_BASE (Dvorak descramble mode for letters)
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... // -o- BASE access
|
||||
Esc '" ,< .> pP yY | fF gG cC rR lL Bksp
|
||||
Tab+LCtl aA oO eE uU iI | dD hH tT nN sS -_
|
||||
LSht+_PAD ;: qQ jJ kK xX | bB mM wW vV zZ RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _ALT_NSY(_DRA) Enter+_MOV| Space _ALT_NSY(_DRA) RGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━━━━━━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(LGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _DEF_NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
|
||||
|
||||
This layer input results in the same as normal Dvorak if computer side Dvorak remapping is occuring.
|
||||
Only shown what changes:
|
||||
|
||||
'" ,< .> pP yY | fF gG cC rR lL // row 4, result
|
||||
oO eE uU iI | dD hH tT nN sS -_ // row 3, result
|
||||
;: qQ jJ kK xX | bB wW vV zZ // row 2, result
|
||||
-------------------------------------------------------------------------------
|
||||
_ALT_NSY _ALT_NSY // row 1, result
|
||||
|
||||
(Keys for 'aA', '\|' and 'mM' are the same in Dvorak and Qwerty.)
|
||||
|
||||
- - -
|
||||
|
||||
Layer _ALT_NSY (Dvorak descramble mode for numbers-symbols)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht -_ =+ [{ \| ]} | } | { _ + `~+RSht // row 2, raw
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ RGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _DEF_BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(LGUI) (_MOV)
|
||||
|
||||
This layer input results in the same as regular Dvorak _..._NSY layer, if computer side Dvorak remapping
|
||||
is occuring. Only shown what changes:
|
||||
|
||||
[{ ]} /? =+ | + ? { } // row 2, result
|
||||
|
||||
- - -
|
||||
|
||||
Special feature: 'Descramble' mode
|
||||
==================================
|
||||
|
||||

|
||||
|
||||
This is an option to take care of typing normally on a computer already
|
||||
set to Dvorak ('descramble' mode.)
|
||||
|
||||
Activation: go to `_RAR` layer, than touch what is space bar on the BASE layer
|
||||
(the key just right from the middle on the first row). This cycles through the modes.
|
||||
|
||||
⮚ When the left led is white: normal mode.
|
||||
⮚ Right led white: full descramble mode (Linux descrambled Unicode input).
|
||||
⮚ Middle led white: half descramble mode, with normal Unicode input system.
|
||||
|
||||
With the middle led set to white, you can take advantage of a Unicode
|
||||
input mode that works on your system, if it is the same when the
|
||||
computer is set to Dvorak or not (see `_RAR` layer for Unicode input
|
||||
encoding selection). This more or less means there is one more Unicode
|
||||
encoding option than already standard in QMK: 'descrambled' version for
|
||||
Linux (Shift-Control-U HEX) encoding, for use on a computer *already* set to
|
||||
Dvorak.
|
||||
|
||||
To test it, (in Debian/Linux) go to a terminal in X and type (normal user)
|
||||
|
||||
> setxkbmap -layout us -variant dvorak
|
||||
|
||||
Undo:
|
||||
|
||||
> setxkbmap -layout us
|
||||
|
||||
Unicode on Windos operating system may require to install something special.
|
||||
|
||||
|
||||
Key associations
|
||||
----------------
|
||||
Key placement associations between layers for Dvorak.
|
||||
|
||||

|
||||
|
||||
409
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.c
Normal file
409
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.c
Normal file
|
|
@ -0,0 +1,409 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2020 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
// See the user configuration file: ./base_numpad.h
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
// This is moved into ./user_config.h, because global #defines are affected.
|
||||
//((#include "./base_numpad.h" // Pull in the user configuration))
|
||||
|
||||
/* ⬇ */
|
||||
|
||||
/* Layer _..._BASE: default BASE layer (Dvorak)
|
||||
*
|
||||
* This thing is different from the usual different letters arrangement.
|
||||
* It is a numbers pad, one for the left hand, and one for the right
|
||||
* hand. Both are as identical as possible. The use case is the same as
|
||||
* a number pad keyboard: single handed numbers input.
|
||||
*
|
||||
* The number 5 is under the middle finger home row, as expected for blind
|
||||
* number pad typing.
|
||||
*
|
||||
* The left/upper key, where normally BASE is located, is now OTHER_BASE.
|
||||
* That switches the board to the ‛Default’ layout, which is effectively the
|
||||
* same way as a return to BASE in the sense of BASE being the letters/layer
|
||||
* switch layer. “Other Base” reached from the normal letters/layer-switching
|
||||
* BASE layout will then turn the keyboard into these number pads layers.
|
||||
*
|
||||
* A modified Numbers&Symbols layer _NSY is still supplied with this Numbers
|
||||
* Pad layout (as with other Base layers).
|
||||
*
|
||||
* The standard numbers pad layer _PAD also still exists. That one has the
|
||||
* numbers arranged differently.
|
||||
*
|
||||
*/
|
||||
|
||||
// When putting this layer on ‛Default’, it produced undesired side effects:
|
||||
// • _RAR and _MOV hold keys on the ‛Alternate’ letters layer, failed to switch back.
|
||||
// • Parts of the Numbers Pad keys got activated through transparent layer switch keys on letters layer.
|
||||
// Since there is no use for Numpad on ‛Default’ Base anyway, this is simply not supported, which seems to solve the problem.
|
||||
|
||||
|
||||
# ifndef NUMPAD_BASE_SINGLE
|
||||
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
|
||||
/*
|
||||
Layer _..._BASE (Number pad, square layout)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
!AlterGo Bspc 7 8 9 - | Bspc 7 8 9 - Bspc //!AlterGo: to _DEF_BASE
|
||||
= * 4 5 6 + | * 4 5 6 + =
|
||||
_NSY¹ / 1 2 3 , | / 1 2 3 , _NSY¹
|
||||
------------------------------------------------------------------------
|
||||
xxx 0 . Ent | NumL 0 . Ent
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
… | …²
|
||||
|
||||
Layer _..._BASE (Number pad, with NumLock off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring >pin>pink2>
|
||||
<|>
|
||||
!AlterGo Bspc Home Up PgUp - | Bspc Home Up PgUp - Bspc //!AlterGo: to _DEF_BASE
|
||||
= * Left 5 Right + | * Left 5 Right + = // modified 5
|
||||
_NSY¹ / End Down PgDn , | / End Down PgDn , _NSY¹
|
||||
-------------------------------------------------------------------------
|
||||
xxx Ins Del Ent | NumL Ins Del Ent
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
… | …²
|
||||
|
||||
₁) Toggle to the accompanying Super-Sub-Script (_NSY) layer.
|
||||
₂) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
*/
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <indx , <ind|, indx> , inde> , midd> , ring> , pink> , pink2> ,
|
||||
// -*!- , , , , , <|,> , , , , , ,
|
||||
OTHER_BASE_GO , KC_BSPC , KC_KP_7 , KC_KP_8 , KC_KP_9 , KC_KP_MINUS , KC_BSPC , KC_KP_7 , KC_KP_8 , KC_KP_9 , KC_KP_MINUS , KC_BSPC ,
|
||||
KC_KP_EQUAL , KC_KP_ASTERISK , KC_KP_4 , KC_KP_5 , KC_KP_6 , KC_KP_PLUS , KC_KP_ASTERISK , KC_KP_4 , KC_KP_5 , KC_KP_6 , KC_KP_PLUS , KC_KP_EQUAL ,
|
||||
CTO_NUMS , KC_KP_SLASH , KC_KP_1 , KC_KP_2 , KC_KP_3 , KC_KP_COMMA , KC_KP_SLASH , KC_KP_1 , KC_KP_2 , KC_KP_3 , KC_KP_COMMA , CTO_NUMS ,
|
||||
// -------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
XXXXXXX
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, TRANS_LEFT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1 // Note anomaly, not MORE_key1_BASE: numpad is treated as a common layer here, because that is ± how it functions.
|
||||
# endif
|
||||
|
||||
, KC_KP_0 , KC_KP_DOT , KC_KP_ENTER
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_NUMLOCK , KC_KP_0
|
||||
// ---⬇
|
||||
// Note anomaly: the additional 'arrow' hardware key is shifted one to the
|
||||
// left, compared to other Base layouts, and so is TRANS_RIGHT This is to
|
||||
// maintain 'window/command' key on the same key between layers.
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, TRANS_RIGHT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
|
||||
//, MORE_key2
|
||||
, KC__YGUI
|
||||
|
||||
// Note anomaly: not the usual configurable key (MORE_key2), but GUI. This
|
||||
// is because position has shifted already, and this GUI allows all the usual
|
||||
// keys on a 100% keyboard to be reached with all modifiers, including GUIs,
|
||||
// if 'command' hardware key is included. Unfortunately this causes a gap
|
||||
// in the numpad layout, but pressing GUI by itself in error will unlikely
|
||||
// produce serious mistakes. Maintaining similar keys between layers seems
|
||||
// more important. Since Numpad already is a navigation cluster, it seems
|
||||
// more important to allow all keys to be reachable with all modifiers,
|
||||
// including GUIs, than to have a quick switch over to the _MOV layer here.
|
||||
// Obviously it is fair enough to do this differently, but if someone needs a
|
||||
// Numpad + either GUI key combination, that could be a real problem without
|
||||
// GUIs here, whereas adding a _MOV switch is a matter of convenience. It
|
||||
// seems important to be able to type anything a regular 100% keyboard can,
|
||||
// or as near to it as possible.
|
||||
//
|
||||
// These anomalies are the same for all the Numpad layers here.
|
||||
|
||||
# endif
|
||||
// ---⬆
|
||||
, KC_KP_DOT
|
||||
|
||||
, KC_KP_ENTER
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> ± ± , 2> , 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
/* Layer _ALT_NSY: super-/sub-script numbers numpad, square layout
|
||||
*/
|
||||
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
|
||||
/*
|
||||
Layer _..._BASE (super-/sub-script numbers, Numlock on/off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
BASE Bspc ⁷₇ ⁸₈ ⁹₉ - | Bspc ⁷₇ ⁸₈ ⁹₉ - Bspc
|
||||
= * ⁴₄ ⁵₅ ⁶₆ + | * ⁴₄ ⁵₅ ⁶₆ + =
|
||||
LSht / ¹₁ ²₂ ³₃ , | / ¹₁ ²₂ ³₃ , RSht
|
||||
-*- <|> -*- //(toggle) Access on Base
|
||||
------------------------------------------------------------------------
|
||||
xxx ⁰₀ .DEL Ent | xxx ⁰₀ .DEL Ent
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
… | …¹
|
||||
|
||||
₁) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
*/
|
||||
//High/low numbers guide:
|
||||
//¹₁ ²₂ ³₃ ⁴₄ ⁵₅ | ⁶₆ ⁷₇ ⁸₈ ⁹₉ ⁰₀
|
||||
//XP_DRA_BA XP_DRA_BB XP_DRA_BC XP_DRA_BD XP_DRA_BE XP_DRA_BF XP_DRA_BG XP_DRA_BH XP_DRA_BI XP_DRA_BJ
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <indx , <ind|, indx> , inde> , midd> , ring> , pink> , pink2> ,
|
||||
// -*!- , , , , , <|,> , , , , , ,
|
||||
CTO_BASE , KC_BSPC , XP_DRA_BG , XP_DRA_BH , XP_DRA_BI , KC_KP_MINUS , KC_BSPC , XP_DRA_BG , XP_DRA_BH , XP_DRA_BI , KC_KP_MINUS , KC_BSPC ,
|
||||
KC_KP_EQUAL , KC_KP_ASTERISK , XP_DRA_BD , XP_DRA_BE , XP_DRA_BF , KC_KP_PLUS , KC_KP_ASTERISK , XP_DRA_BD , XP_DRA_BE , XP_DRA_BF , KC_KP_PLUS , KC_KP_EQUAL ,
|
||||
KC_LSFT , KC_KP_SLASH , XP_DRA_BA , XP_DRA_BB , XP_DRA_BC , KC_KP_COMMA , KC_KP_SLASH , XP_DRA_BA , XP_DRA_BB , XP_DRA_BC , KC_KP_COMMA , KC_RSFT ,
|
||||
// -----------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
XXXXXXX
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, TRANS_LEFT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, XP_DRA_BJ , KC_KP_DOT , KC_KP_ENTER
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, XXXXXXX , XP_DRA_BJ
|
||||
|
||||
// See comment on the first layout in this file (double handed Base layer), about the next few keys:
|
||||
// ---⬇
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, TRANS_RIGHT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
//, MORE_key2
|
||||
, KC__YGUI
|
||||
# endif
|
||||
// ---⬆
|
||||
, KC_KP_DOT
|
||||
|
||||
, KC_KP_ENTER
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> ± ± , 2> , 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
# else // NUMPAD_BASE_SINGLE is defined ====================================================================
|
||||
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
|
||||
/*
|
||||
|
||||
* Layer Numbers Pad on Base:
|
||||
* « See also documentation in keymap.c at _PAD layer, of which this is almost entirely a copy »
|
||||
* One difference is the key to go to the _ALT_NSY layer (denoted “NUMS:” just below).
|
||||
* The other difference is the key to switch to default Base and also immediately goes there
|
||||
* (denoted “!AlterGo” here).
|
||||
|
||||
Layer _ALT_BASE (Number pad, with NumLock on)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
!AlterGo NUMS: xxx xxx xxx xxx | = 7 8 9 - Bspc // NUMS: to ¹/₁
|
||||
LCtl xxx xxx xxx xxx xxx | * 4 5 6 + RCtl
|
||||
LSht xxx xxx xxx xxx xxx | / 1 2 3 , RSht
|
||||
------------------------------------------------------------------------
|
||||
LAlt Del Tab Ent | NumL 0 . RAlt
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
… | …¹
|
||||
|
||||
Layer _ALT_BASE (Number pad, with NumLock off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring >pin>pink2>
|
||||
<|>
|
||||
!AlterGo NUMS: xxx xxx xxx xxx | = Home Up PgUp - Bspc // NUMS: to ¹/₁
|
||||
LCtl xxx xxx xxx xxx xxx | * Left 5 Right + RCtl // modified 5
|
||||
LSht xxx xxx xxx xxx xxx | / End Down PgDn , RSht
|
||||
-------------------------------------------------------------------------
|
||||
LAlt Del Tab Ent | NumL Ins Del RAlt
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
… | …¹
|
||||
|
||||
₁) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
*/
|
||||
|
||||
//High/low numbers guide:
|
||||
//¹₁ ²₂ ³₃ ⁴₄ ⁵₅ | ⁶₆ ⁷₇ ⁸₈ ⁹₉ ⁰₀
|
||||
//XP_DRA_BA XP_DRA_BB XP_DRA_BC XP_DRA_BD XP_DRA_BE XP_DRA_BF XP_DRA_BG XP_DRA_BH XP_DRA_BI XP_DRA_BJ
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , , , , , -*- <|,> , , , , , ,
|
||||
OTHER_BASE_GO , CTO_NUMS , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_KP_EQUAL , KC_KP_7 , KC_KP_8 , KC_KP_9 , KC_KP_MINUS , KC_BSPC ,
|
||||
KC_LCTL , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_KP_ASTERISK , KC_KP_4 , KC_KP_5 , KC_KP_6 , KC_KP_PLUS , KC_RCTL ,
|
||||
KC_LSFT , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_KP_SLASH , KC_KP_1 , KC_KP_2 , KC_KP_3 , KC_KP_COMMA , KC_RSFT ,
|
||||
// ------------------------------------------------------------------------------------------------------------------------------------
|
||||
KC_LALT
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, TRANS_LEFT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, KC_DEL , KC_TAB , KC_KP_ENTER
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_NUMLOCK , KC_KP_0
|
||||
|
||||
// See comment on the first layout in this file (double handed Base layer), about the next few keys:
|
||||
// ---⬇
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, TRANS_RIGHT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
//, MORE_key2
|
||||
, KC__YGUI
|
||||
# endif
|
||||
// ---⬆
|
||||
, KC_KP_DOT
|
||||
|
||||
, KC_RALT
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> ± ± , 2> , 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
|
||||
/*
|
||||
|
||||
* Layer Numbers Pad on Base:
|
||||
* This layer is the same as the above, except the numbers are in super-/sub-script.
|
||||
*
|
||||
|
||||
Layer _ALT_NSY (Number pad, with NumLock on/off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
BASE xxx xxx xxx xxx xxx | = ⁷₇ ⁸₈ ⁹₉ - Bspc
|
||||
LCtl xxx xxx xxx xxx xxx | * ⁴₄ ⁵₅ ⁶₆ + RCtl
|
||||
LSht xxx xxx xxx xxx xxx | / ¹₁ ²₂ ³₃ , RSht
|
||||
------------------------------------------------------------------------
|
||||
LAlt Del Tab Ent | xxx ⁰₀ .DEL RAlt
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
… | …¹
|
||||
|
||||
₁) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
*/
|
||||
|
||||
//High/low numbers guide:
|
||||
//¹₁ ²₂ ³₃ ⁴₄ ⁵₅ | ⁶₆ ⁷₇ ⁸₈ ⁹₉ ⁰₀
|
||||
//XP_DRA_BA XP_DRA_BB XP_DRA_BC XP_DRA_BD XP_DRA_BE XP_DRA_BF XP_DRA_BG XP_DRA_BH XP_DRA_BI XP_DRA_BJ
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , , , , , -*- <|,> , , , , , ,
|
||||
CTO_BASE , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_KP_EQUAL , XP_DRA_BG , XP_DRA_BH , XP_DRA_BI , KC_KP_MINUS , KC_BSPC ,
|
||||
KC_LCTL , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_KP_ASTERISK , XP_DRA_BD , XP_DRA_BE , XP_DRA_BF , KC_KP_PLUS , KC_RCTL ,
|
||||
KC_LSFT , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_KP_SLASH , XP_DRA_BA , XP_DRA_BB , XP_DRA_BC , KC_KP_COMMA , KC_RSFT ,
|
||||
// -----------------------------------------------------------------------------------------------------------------------------------
|
||||
KC_LALT
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, TRANS_LEFT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, KC_DEL , KC_TAB , KC_KP_ENTER
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, XXXXXXX , XP_DRA_BJ
|
||||
|
||||
// See comment on the first layout in this file (double handed Base layer), about the next few keys:
|
||||
// ---⬇
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, TRANS_RIGHT
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
//, MORE_key2
|
||||
, KC__YGUI
|
||||
# endif
|
||||
// ---⬆
|
||||
, KC_KP_DOT
|
||||
|
||||
, KC_RALT
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> ± ± , 2> , 1>
|
||||
|
||||
),
|
||||
|
||||
# endif // NUMPAD_BASE_SINGLE
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2020 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
/* ➡ Number pad Configuration ⬅
|
||||
*
|
||||
* This concerns this Base layer in the shape of a numerical key pad, not the numerical
|
||||
* key pad layer which is part of the common layer system, which is defined and configured
|
||||
* elsewhere (see ./user_config.h).
|
||||
*
|
||||
* _Activate_ the below to have a single keypad definition on this layer, for the right
|
||||
* hand. Modifiers are also defined.
|
||||
* _Remove_ the below to have two keypad definitions on this Base layer, one for each hand.
|
||||
*
|
||||
* In both cases, you can reach the accompanying number pad layer with the super-/sub-script
|
||||
* numbers. For either option, there is a matching * super-/sub-script layer, which is
|
||||
* automatically compiled with it.
|
||||
*/
|
||||
#define NUMPAD_BASE_SINGLE // _Activate_ to resemble a one handed numerical keyboard, for right hand.
|
||||
// _Remove_ to have two numerical key pads, side by side, one for each hand.
|
||||
//
|
||||
/* Tip: When in doubt it might be best to choose the single handed layer, because it
|
||||
* resembles a regular keyboard more, and has modifier combinations.
|
||||
*/
|
||||
|
||||
|
||||
/* ➡ Removing the numbers pad _PAD layer ⬅
|
||||
*
|
||||
* You may have no use for this common layer, if you have a numerical
|
||||
* keypad on the Alternate Base already.
|
||||
*
|
||||
* While _PAD layer gives quick uncluttered access to Control, Shift and Alt
|
||||
* to modify your pointer device input, the _MOV layer does the same. You
|
||||
* end up with the same functionality, with or without _PAD, in this matter.
|
||||
*
|
||||
* This does precisely the same as REMOVE_PAD in ./user_config.h, but this
|
||||
* setting here overrides any setting in ./user_config.h
|
||||
*/
|
||||
//#define REMOVES_PAD // _Activate_ to strip out the _PAD layer, _remove_ to have the _PAD layer.
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
|
||||
// The below sets some things up based on the above #defines.
|
||||
|
||||
// Stripping out _PAD layer, sets the #define used global configuration file ./user_config.h
|
||||
# ifdef REMOVES_PAD // this file
|
||||
# ifndef REMOVE_PAD // user_config.h
|
||||
# define REMOVE_PAD // removes _PAD layer
|
||||
# endif
|
||||
# endif
|
||||
// Inserting the _PAD layer, even if stripped in ./user_config.h
|
||||
# ifndef REMOVES_PAD // this file
|
||||
# ifdef REMOVE_PAD // user_config.h
|
||||
# undef REMOVE_PAD // activtaes _PAD layer
|
||||
# endif
|
||||
# endif
|
||||
364
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.md
Normal file
364
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_numpad.md
Normal file
|
|
@ -0,0 +1,364 @@
|
|||
# Minifan layout
|
||||
|
||||
Compile options
|
||||
---------------
|
||||
|
||||
In  this base layout is configured.
|
||||
|
||||
• Single numpad.
|
||||
|
||||
This number pad choice only has a number pad for the right hand. The
|
||||
usual modifiers are in their expected places.
|
||||
|
||||
The single numbers pad variation is also a compile option for the _common
|
||||
layer_ `_PAD`, albeit without a super/subscript auxilery layer.
|
||||
|
||||
• Dual numpad.
|
||||
|
||||
This numbers pad choice has a number pad for each hand. There are two
|
||||
number pads together on the keyboard at once.
|
||||
|
||||
Numpad keymaps
|
||||
==============
|
||||
|
||||
Single numpad
|
||||
-------------
|
||||
|
||||
──────────Numpad───────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
The otherwise ‛common’ layers are not directly available in this special layout.
|
||||
You can still reach them as normal through your other Base layer.
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
|
||||
Layers (text)
|
||||
|
||||
Layer _ALT_BASE (Number pad, with NumLock on)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
!AlterGo NUMS: xxx xxx xxx xxx | = 7 8 9 - Bspc // NUMS: to ¹/₁
|
||||
LCtl xxx xxx xxx xxx xxx | * 4 5 6 + RCtl
|
||||
LSht xxx xxx xxx xxx xxx | / 1 2 3 , RSht
|
||||
------------------------------------------------------------------------
|
||||
LAlt Del Tab Ent | NumL 0 . RAlt
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
LGUI | RGUI¹
|
||||
|
||||
Layer _ALT_BASE (Number pad, with NumLock off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring >pin>pink2>
|
||||
<|>
|
||||
!AlterGo NUMS: xxx xxx xxx xxx | = Home Up PgUp - Bspc // NUMS: to ¹/₁
|
||||
LCtl xxx xxx xxx xxx xxx | * Left 5 Right + RCtl // modified 5
|
||||
LSht xxx xxx xxx xxx xxx | / End Down PgDn , RSht
|
||||
-------------------------------------------------------------------------
|
||||
LAlt Del Tab Ent | NumL Ins Del RAlt
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
^ | ^
|
||||
LGUI | RGUI¹
|
||||
|
||||
|
||||
₁) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
- - -
|
||||
|
||||
Layer _ALT_NSY (Number pad, with NumLock on/off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
BASE xxx xxx xxx xxx xxx | = ⁷₇ ⁸₈ ⁹₉ - Bspc
|
||||
LCtl xxx xxx xxx xxx xxx | * ⁴₄ ⁵₅ ⁶₆ + RCtl
|
||||
LSht xxx xxx xxx xxx xxx | / ¹₁ ²₂ ³₃ , RSht
|
||||
------------------------------------------------------------------------
|
||||
LAlt Del Tab Ent | xxx ⁰₀ .DEL RAlt
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
^ | ^
|
||||
LGUI | RGUI¹
|
||||
|
||||
₁) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
Dual numpad
|
||||
-----------
|
||||
|
||||

|
||||
|
||||
──────────Numpad───────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
The otherwise ‛common’ layers are not directly available in this special layout.
|
||||
You can still reach them as normal through your other Base layer.
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
|
||||
Layers (text)
|
||||
|
||||
───────────────Numpad────────────────
|
||||
|
||||
Layer _..._BASE (Number pad, square layout)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
!AlterGo Bspc 7 8 9 - | Bspc 7 8 9 - Bspc //!AlterGo: to _DEF_BASE
|
||||
= * 4 5 6 + | * 4 5 6 + =
|
||||
_NSY¹ / 1 2 3 , | / 1 2 3 , _NSY¹
|
||||
------------------------------------------------------------------------
|
||||
xxx 0 . Ent | NumL 0 . Ent
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
^ | ^
|
||||
LGUI | RGUI²
|
||||
|
||||
Layer _..._BASE (Number pad, with NumLock off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring >pin>pink2>
|
||||
<|>
|
||||
!AlterGo Bspc Home Up PgUp - | Bspc Home Up PgUp - Bspc //!AlterGo: to _DEF_BASE
|
||||
= * Left 5 Right + | * Left 5 Right + = // modified 5
|
||||
_NSY¹ / End Down PgDn , | / End Down PgDn , _NSY¹
|
||||
-------------------------------------------------------------------------
|
||||
xxx Ins Del Ent | NumL Ins Del Ent
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
^ | ^
|
||||
LGUI | RGUI²
|
||||
|
||||
₁) Toggle to the accompanying Super-Sub-Script (_NSY) layer.
|
||||
₂) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
- - -
|
||||
|
||||
Layer _..._BASE (super-/sub-script numbers, Numlock on/off)
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
<|>
|
||||
BASE Bspc ⁷₇ ⁸₈ ⁹₉ - | Bspc ⁷₇ ⁸₈ ⁹₉ - Bspc
|
||||
= * ⁴₄ ⁵₅ ⁶₆ + | * ⁴₄ ⁵₅ ⁶₆ + =
|
||||
LSht / ¹₁ ²₂ ³₃ , | / ¹₁ ²₂ ³₃ , RSht
|
||||
-*- <|> -*- //(toggle) Access on Base
|
||||
------------------------------------------------------------------------
|
||||
xxx ⁰₀ .DEL Ent | xxx ⁰₀ .DEL Ent
|
||||
<|>
|
||||
<1 ± <2 <3 <4 | 4> 3> ± 2> 1>
|
||||
^ | ^
|
||||
LGUI | RGUI¹
|
||||
|
||||
₁) Note anomaly: additional hardware key ‛arrow’ shifted one to the left.
|
||||
|
||||
|
||||
Special Base layer Numpad
|
||||
=========================
|
||||
|
||||
This is a layout resembling a “numbers pad”. A “numbers pad”
|
||||
is a separate square on a 100% sized keyboard, or separate keypad.
|
||||
|
||||
Unlike more usual base layers choices, which typically contain a letters
|
||||
layout and access to all the common layers, this ‛Base’ layer is
|
||||
quite different. Once you have switched to it, you lack keys to access
|
||||
all ‛common’ layers.
|
||||
|
||||
You can only switch back to your ‛regular’ base layer, or switch to a
|
||||
second form of the numbers pad. This second layer is called “auxilery”
|
||||
layer here, but technically it is the same thing as the numbers/symbols
|
||||
`_NSY` layer, which accompanies a letters layer like Qwerty or Dvorak.
|
||||
|
||||
Use the top left key from the numbers pad layer, to switch back to the
|
||||
other ‛Base’ layer. This is also unique to this special ‛Base’ layer,
|
||||
but similar to the way the “common layers” switch back to Base.
|
||||
|
||||
The other Base layer (once you are in this Number Pad layer) for most
|
||||
people will be a letters layer with Qwerty, Dvorak or some other layout
|
||||
on it, in which the keyboard will start up. To reach the numbers pad
|
||||
Base layer, use the key ‛Other Base’ on the `_RAR` layer.
|
||||
|
||||
|
||||
Led colors
|
||||
----------
|
||||
|
||||
The led colors for this ‛Base’ layer are different from the usual. They show
|
||||
the state of the Numbers Lock, on or off. Colors are green/light-blue/blue to
|
||||
indicate Numbers Lock is off, which means the navigation cluster is active.
|
||||
Colors are blue/light-blue/green to indicate the Numbers Lock is on,
|
||||
meaning you can type numbers.
|
||||
|
||||
This follows the same scheme as the `_PAD` layer, which in turn follows
|
||||
the logic of the `_NSY` (numbers/symbols) layer being blue, and the `_MOV`
|
||||
(movement/navigation) layer being green, in such a way that the left most
|
||||
led is the indicator thereof, following reading direction left to right. The
|
||||
brightness of the leds is diminished, to indicate the difference with `_PAD`
|
||||
layer (whether or not that layer is compiled).
|
||||
|
||||
|
||||
Auxilery numpad layer
|
||||
---------------------
|
||||
|
||||
With the numbers pad layer comes a second layer, as is normal for
|
||||
all Base layer choices. This second layer is the same as the normal
|
||||
numbers pad, except the numbers are in super- ⁽¹²³⁾ or sub-script
|
||||
₍₁₂₃₎.
|
||||
|
||||
The numbers on the second layer become subscript when Shift is pressed,
|
||||
otherwise they are in super-script. These super-/sub-script forms of the
|
||||
numbers Unicode (see the `_RAR` layer).
|
||||
|
||||
This second form of numbers pad is reached from keys on the numbers pad
|
||||
Base layer. You can switch back to the regular numbers pad, with the
|
||||
upper/left key. Another key stroke from there on the upper/left key,
|
||||
will bring you back to what is likely your regular typing layer.
|
||||
|
||||
|
||||
Auxilery numpad layer led colors
|
||||
--------------------------------
|
||||
|
||||
For the second layer that comes with it, with super-/sub-script numbers,
|
||||
the led colors are what they “normally” are (for other compile
|
||||
choices) for this layer (the ‛Alternate‛ Base accompanying layer,
|
||||
usually numbers/symbols): blue/blue/light-blue. There is no indication
|
||||
of Numbers Lock on this layer, although a few keys are altered by Numbers
|
||||
Lock (Dot/Delete ‛.’, and Enter).
|
||||
|
||||
|
||||
‛Arrow’ additional hardware key
|
||||
===============================
|
||||
|
||||
Unlike with other layers: the optional ‛arrow’ hardware key on the
|
||||
right hand is not inserted between the last and second last keys on the
|
||||
right, and neither is it set to the configurable default value (toggle
|
||||
`_MOV` layer). Instead, this key is inserted one key over to the left,
|
||||
and it is set to GUI.
|
||||
|
||||
The reason is that this GUI will line up with the GUI on the ‛Base’
|
||||
layer. If combined with the ‛command’ hardware key on the right, set
|
||||
to the other GUI, you can reach all Numbers Pad keys with all modifiers,
|
||||
including both GUIs.
|
||||
|
||||
Another reason is that a typical use of the additional hardware
|
||||
key on the right (called ‛Arrow’) will by default lead to a navigation
|
||||
layer, however the Numbers Pad already has its own navigation. To add
|
||||
a toggle to `_MOV` would be a matter of convenience, whereas not being
|
||||
able to reach all Numbers Pad keys with either GUI could represent a
|
||||
serious problem.
|
||||
|
||||
Downsides to this design are the loss of default ‛Arrow’ hardware key
|
||||
use on this layer, and a sort of gap of one key in the Numbers Pad layout.
|
||||
The downsides seem to be matters of style and convenience, whereas not
|
||||
being able to type whatever you can on a 100% keyboard could be a serious
|
||||
problem for someone (keyboard shortcuts mainly).
|
||||
|
||||
There is no default solution to type everything with all modifiers
|
||||
including the GUIs, without adding the additional hardware key(s).
|
||||
Obviously it is possible to just stick a GUI on a free spot, but that
|
||||
makes things chaotic. Single pad Numbers Pad could be re-arranged to
|
||||
make room for GUI, which would loose more of its similarity to other
|
||||
keyboards.
|
||||
|
||||
|
||||
Numbers pads everywhere ?
|
||||
=========================
|
||||
|
||||
Perhaps the amount of options for a numberical keypad are a bit overkill.
|
||||
It had to do with how it developed.
|
||||
|
||||
For some overview of your options:
|
||||
|
||||
① Common layer numerical keypad. Just another layer, like `_RAR`, `_BON`, etc.
|
||||
|
||||
1. You can have a numerical keypad in the _common layers._
|
||||
2. You can also remove this layer entirely.
|
||||
|
||||
3. This “common layers” numbers pad is activated through the Base layer, on Left Shift tap.
|
||||
4. Returns to ‛Default Base’ with upper/left key.
|
||||
|
||||
5. Variation of form: right hand square form, resembling a key pad on
|
||||
other keyboards.
|
||||
6. Variation of form: the numbers in a straight line, resembling the
|
||||
`_NSY` layer and other layers.
|
||||
|
||||
② A numerical keypad on the other ‛Base’ layer, in the dual layout system.
|
||||
|
||||
1. You can have a numerical keypad on the ‛Alternate Base’ position.
|
||||
2. You can also put something different on ‛Alternate Base’, such as a
|
||||
Colemak layout.
|
||||
|
||||
3. This layer is activated through the `_RAR` layer, by choosing ‛Other
|
||||
Base’.
|
||||
4. Returns to ‛Default Base’ with upper/left key, effectively the same as with
|
||||
the common numerical keypad layer, and all other common layers.
|
||||
|
||||
5. Variation of form: right hand square form, resembling a key pad on
|
||||
other keyboards.
|
||||
6. Variation of form: dual handed square form, so you have a key pad for
|
||||
each hand.
|
||||
|
||||
7. For all variation of form, there is an accompanying layer which is
|
||||
the same, except the numbers are in Unicode super (unshifted) and
|
||||
sub-script (shifted).
|
||||
|
||||
Some examples:
|
||||
|
||||
① As close to a 100% ‛regular’ keyboard as possible.
|
||||
|
||||
If you have no use for ‛Alternate Base’ with anything else, you could put
|
||||
the single handed numerical keypad there, and remove the common `_PAD` layer
|
||||
to have less mental clutter.
|
||||
|
||||
This makes accessing `_MOV` on Left Shift easier, you have modifiers with
|
||||
the numerical keypad, and you have super/sub-script as well (although its use
|
||||
is probably rather rare).
|
||||
|
||||
② The predictable numbers typing option.
|
||||
|
||||
If you want ‛Alternate Base’ to have something else (or nothing
|
||||
at all), keep the `_PAD` layer, and choose straight line numbers,
|
||||
so that you don't have to learn a second way to type numbers, if you
|
||||
ever have a need to type keypad numbers (which could be quite rare).
|
||||
|
||||
In this version, you are not envisioning the use of keypad navigation,
|
||||
but rather use regular `_MOV` layer navigation. (This was the original
|
||||
programming on the keyboard, before more options developed; it follows
|
||||
the overall logic that the same or similar keys are in the same or
|
||||
similar positions.)
|
||||
|
||||
③ The everything option.
|
||||
|
||||
You could keep both `_PAD` with straight lined up numbers if you like typing
|
||||
all numbers the same way, and also compile numpad single square on ‛Alternate
|
||||
Base’ to have good access to a regular numerical keypad, should you ever need
|
||||
it, and/or to have an easier to access navigation cluster there (easier than
|
||||
navigation on the straight line numpad variation that is, where navigation
|
||||
is difficult).
|
||||
|
||||
④ The numerical keyboard specialist.
|
||||
|
||||
You could compile it for both hands, if you type so much on a numerical
|
||||
keypad, that it is useful to be fast on it with either hand.
|
||||
|
||||
It will be harder to type on the double numerical keyboard with modifiers
|
||||
(Shift, Control, Alt), but if you compile with the common numbers pad layer,
|
||||
you can reach such combinations there. To keep things similar, you can compile
|
||||
this common numbers pad layer with numbers in square form, rather than a straight
|
||||
line.
|
||||
209
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_qwerty.c
Normal file
209
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_qwerty.c
Normal file
|
|
@ -0,0 +1,209 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2020 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
/* ⬇ */
|
||||
|
||||
/* Layer _..._BASE: Qwerty, normal BASE layer and 'default' layer
|
||||
*
|
||||
* - Dual use keys create a delay in the key (tap/hold keys), therefore
|
||||
* space is not dual use (most ued key), neither is hyphen.
|
||||
*/
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_QWERTY__DEF_BASE)
|
||||
[ _DEF_BASE ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_QWERTY__ALT_BASE)
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._BASE (Letters). This is Qwerty
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ wW eE rR tT | yY uU iI oO pP Bksp
|
||||
Tab+LCtl aA sS dD fF gG | hH jJ kK lL ;: '"
|
||||
LSht+_PAD zZ xX cC vV bB | nN mM ,< .> /? RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) LGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(RGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
*/
|
||||
//
|
||||
// <pink2 , <pink, <ring, <midd, <indx, <ind|, indx>, inde>, midd> , ring> , pink> , pink2> ,
|
||||
// -*!- , , , , , <|,> , , , , , ,
|
||||
KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC ,
|
||||
LCTL_T ( KC_TAB ) , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN , KC_QUOT ,
|
||||
CHOLTAP_LSHFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM , KC_DOT , KC_SLSH , CHOLTAP_RSHFT ,
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, MO ( _PAD )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1_BASE
|
||||
# endif
|
||||
|
||||
# ifdef SWITCH_HOLD_ACC_NSY
|
||||
, DUO_HOLD , CHOLTAP_ACCE
|
||||
# else
|
||||
, CHOLTAP_ACCE , DUO_HOLD
|
||||
# endif
|
||||
|
||||
, LT__MOV__KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_SPC , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, MO ( _FUN )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, CHOLTAP_LAYR
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
/* Layer _..._NSY: Numbers and symbols, to work with the Qwerty base layer above.
|
||||
* Off hand Number input (-.Bksp ent (shft)tab).
|
||||
*/
|
||||
// KC_TILD does not work there, because of a limitation with shifted keys (nov 2019).
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_QWERTY__DEF_BASE)
|
||||
[ _DEF_NSY ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_QWERTY__ALT_BASE)
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._NSY (Numbers and SYmbols). This fits the above Qwerty layer _..._BASE
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht // limitation prevents ~
|
||||
^^ ^ // Only differences with normal version _..._NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _..._BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(RGUI) (_MOV)
|
||||
*/
|
||||
//
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , -*- , , , , <|,> , , , , , ,
|
||||
CTO_BASE , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , KC_LPRN , KC_RPRN , KC_DEL ,
|
||||
LCTL_T ( KC_TAB ) , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0
|
||||
// Harmonizes with ‛Qwerty Base Arrow’, so that if both are compiled, the user isn't
|
||||
// messing up this key on this Qwerty layout, which has to be different in the other Qwerty.
|
||||
# ifdef QWERTY_BASEARROW_HARMONIZE
|
||||
, KC_SLSH , // Same as in ‛Qwerty Base Arrow’
|
||||
# else
|
||||
, RCTL_T ( KC_GRV ) , // Default
|
||||
# endif
|
||||
LSFT_T ( KC_MINS ) , KC_LBRC , KC_RBRC , KC_MINS , KC_BSLS , KC_EQL , KC_PLUS , KC_PIPE , KC_UNDS , KC_LCBR , KC_RCBR , RSFT_T ( KC_TILD ) ,
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, _______ , _______ , KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_DOT , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, RALT_T ( KC_RGHT )
|
||||
// , , -*- , <|,> , -*- , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
100
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_qwerty.md
Normal file
100
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_qwerty.md
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
# Minifan layout
|
||||
|
||||
Compiled for: Qwerty
|
||||
====================
|
||||
|
||||
This file details the compile version `#define BASE_QWERTY__DEF_BASE, BASE_QWERTY__ALT_BASE`.
|
||||
This is a Qwerty layout.
|
||||
|
||||
Qwerty keymaps
|
||||
--------------
|
||||
|
||||
──────────Qwerty───────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
(…)
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
Layers (text)
|
||||
=============
|
||||
|
||||
───────────────Qwerty─────────────────
|
||||
|
||||
Layer _..._BASE (Letters). This is standard Qwerty
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ wW eE rR tT | yY uU iI oO pP Bksp
|
||||
Tab+LCtl aA sS dD fF gG | hH jJ kK lL ;: '"
|
||||
LSht+_PAD zZ xX cC vV bB | nN mM ,< .> /? RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _DEF_NSY(_DRA) Enter+_MOV| Space _DEF_NSY(_DRA) RGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(LGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _DEF_NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
|
||||
Remarks: The left modifiers have a slight delay in combination with an outside pointer device (mouse, stylus).
|
||||
It seems this will be difficult to fix, because it is spread over two devices. To avoid the
|
||||
±0.2 second delay, activate a layer where the modifiers are direct (`_PAD`), using the layer toggle on left shift.
|
||||
|
||||
The two keys with ';' (Del;`_ACC`, Right;`_RAR`) do not auto-repeat on double tap, like QMK normal layer-tap keys.
|
||||
There is an uncluttered _Delete_ on `_PAD`, an uncluttered _Right_ arrow on the `_MOV` layer.
|
||||
|
||||
Holding both `_DEF_NSY` keys left and right of the "split space bar" (enter, space) results in layer `_DRA`.
|
||||
|
||||
Holding either one of the just above mentioned `_DEF_NSY` layer keys (<3 and 3>), with the `_ACC` layer key
|
||||
(on <2) results in layer `_BON`.
|
||||
|
||||
|
||||
- - -
|
||||
|
||||
|
||||
Layer _..._NSY (Numbers and SYmbols). This fits the above Qwerty layer _DEF_BASE
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht // limitation prevents ~
|
||||
^^ ^ // Only differences with Dvorak version _DEF_NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ RGUI Right+RAlt
|
||||
-*- <|> -*- u //(hold) Access on _DEF_BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(LGUI) (_MOV)
|
||||
|
||||
|
||||
|
||||
- - -
|
||||
|
||||
Key associations
|
||||
----------------
|
||||
Key placement associations between layers for Qwerty.
|
||||
|
||||

|
||||
|
||||
|
||||
|
|
@ -0,0 +1,243 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2020 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
/* ⬇ */
|
||||
|
||||
/* Layer _..._BASE: Qwerty with arrows on Base, normal BASE layer and 'default' layer
|
||||
*
|
||||
* - This version of Qwerty puts arrows on Base, and assumes the 'arrow' hardware key.
|
||||
* When not compiled with 'arrow' hardware key, Base will not contain ‛down arrow’.
|
||||
*
|
||||
* This does not mean that this is the recommended version of Qwerty in general for
|
||||
* the 'arrow' hardware key with Qwerty. Regular Qwerty works with the additional
|
||||
* hardware key 'arrow'. The regular Qwerty compile option just works differently
|
||||
* than this version with arrows on Base. Regular qwerty has the additional hardware
|
||||
* key on the right be a toggle to _MOV layer, where you then have arrows in the same
|
||||
* area. Notice further that in all cases, you have a hold key to the _MOV layer under
|
||||
* what is colloqually known as the ‛left space bar’, which leads to convenient arrow
|
||||
* keys in the home row.
|
||||
*
|
||||
* Putting directional arrow keys on the Base layer will cost you several keys on
|
||||
* the Base layer: hold _RAR, GUI, and ‛/?’.
|
||||
* • The ‛/?’ key is displaced to the _NSY layer.
|
||||
* • The GUI key is lost. You could decide to also use the ‛south paw’/‛command’
|
||||
* hardware key, which is a GUI by default.
|
||||
* • Hold key to _RAR layer is lost. You can only reach _RAR layer, using the right
|
||||
* shift toggle, which is on a short timer.
|
||||
*
|
||||
* My recommendation would be: see if you can make things work with regular Qwerty
|
||||
* if you are a 10 fingers typist, first. Moving your hand to this arrow cluster
|
||||
* seems to be a high cost to pay. You will also loose the default location for ‛/?’.
|
||||
*
|
||||
* For special need situations regarding this right hand row1/2 arrow cluster, a
|
||||
* tap to _MOV layer on the ‛arrow’ hardware key, should be a reasonable cost to
|
||||
* pay, if a situation is already important enough to decide to move your hand there.
|
||||
* For short uses of arrow keys, holding to the _MOV layer is the most efficient.
|
||||
*
|
||||
* If you are not a 10 finger typist though, holding a key to _MOV layer seems to be
|
||||
* inconvenient, and thus arrows on Base could be better for you.
|
||||
*
|
||||
* Hence my conclusion: only compile ‛Qwerty with arrows on Base’ if the regular
|
||||
* Qwerty isn't working for you.
|
||||
*
|
||||
*/
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_QWERTY_BASEARROW__DEF_BASE)
|
||||
[ _DEF_BASE ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_QWERTY_BASEARROW__ALT_BASE)
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._BASE (Letters). This is Qwerty with arrows on Base
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ wW eE rR tT | yY uU iI oO pP Bksp
|
||||
Tab+LCtl aA sS dD fF gG | hH jJ kK lL ;: '"
|
||||
LSht+_PAD zZ xX cC vV bB | nN mM ,< .> Up RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) Left Right
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(RGUI) (Down)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration. Set to Down Arrow.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
*/
|
||||
//
|
||||
// <pink2 , <pink, <ring, <midd, <indx, <ind|, indx>, inde>, midd> , ring> , pink> , pink2> ,
|
||||
// -*!- , , , , , <|,> , , , , , ,
|
||||
KC_ESC , KC_Q , KC_W , KC_E , KC_R , KC_T , KC_Y , KC_U , KC_I , KC_O , KC_P , KC_BSPC ,
|
||||
LCTL_T ( KC_TAB ) , KC_A , KC_S , KC_D , KC_F , KC_G , KC_H , KC_J , KC_K , KC_L , KC_SCLN , KC_QUOT ,
|
||||
CHOLTAP_LSHFT , KC_Z , KC_X , KC_C , KC_V , KC_B , KC_N , KC_M , KC_COMM , KC_DOT , KC_UP , CHOLTAP_RSHFT ,
|
||||
// KC_SLSH
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, MO ( _PAD )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1_BASE
|
||||
# endif
|
||||
|
||||
# ifdef SWITCH_HOLD_ACC_NSY
|
||||
, DUO_HOLD , CHOLTAP_ACCE
|
||||
# else
|
||||
, CHOLTAP_ACCE , DUO_HOLD
|
||||
# endif
|
||||
|
||||
, LT__MOV__KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_SPC , DUO_HOLD
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, MO ( _FUN )
|
||||
# endif
|
||||
|
||||
, KC_LEFT
|
||||
// , KC__YGUI
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, KC_DOWN
|
||||
// , MORE_key2
|
||||
# endif
|
||||
|
||||
, KC_RIGHT
|
||||
// , CHOLTAP_LAYR
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
/* Layer _..._NSY: Numbers and symbols, to work with the Qwerty base layer above.
|
||||
* Off hand Number input (-.Bksp ent (shft)tab).
|
||||
*/
|
||||
// KC_TILD does not work there, because of a limitation with shifted keys (nov 2019).
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_QWERTY_BASEARROW__DEF_BASE)
|
||||
[ _DEF_NSY ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_QWERTY_BASEARROW__ALT_BASE)
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._NSY (Numbers and SYmbols). This fits the above Qwerty layer _..._BASE
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) /?
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht
|
||||
^^ ^ // Only differences with normal version _..._NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _..._BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(RGUI) (_MOV)
|
||||
*/
|
||||
//
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , -*- , , , , <|,> , , , , , ,
|
||||
CTO_BASE , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , KC_LPRN , KC_RPRN , KC_DEL ,
|
||||
LCTL_T ( KC_TAB ) , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_SLSH , // Sacrificing RCTL, because these are major symbols, which seem to warrant being uncluttered.
|
||||
// RCTL_T ( KC_GRV ) ,
|
||||
LSFT_T ( KC_MINS ) , KC_LBRC , KC_RBRC , KC_MINS , KC_BSLS , KC_EQL , KC_PLUS , KC_PIPE , KC_UNDS , KC_LCBR , KC_RCBR , RSFT_T ( KC_GRV ) , // ` and ~ are often on a diminutive key on mini keyboards, therefore not sacrificing this Shift key.
|
||||
// RSFT_T ( KC_TILD ) ,
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, _______ , _______ , KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_DOT , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, RALT_T ( KC_RGHT )
|
||||
// , , -*- , <|,> , -*- , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2021 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
/* • Harmonize regular Qwerty
|
||||
*
|
||||
* If compiling this ‛Qwerty Base Arrow’ base pair with regular Qwerty on
|
||||
* the other base pair (dual layout), the key ‛/?’ is on a different key
|
||||
* in these two layouts. This is bound to cause typing errors. With this
|
||||
* option you can cause the regular Qwerty to also have a ‛/?’ in the same
|
||||
* spot as ‛Qwerty Base Arrow’ has it, sacrificing Right Control/‛`~’ there.
|
||||
*
|
||||
* Regular Qwerty will still also have a ‛/?’ key in the normal Qwerty location.
|
||||
*
|
||||
* The key ‛`~’ can be reached through other means: just below on numbers &
|
||||
* symbols _NSY layer, or on the bonus Unicode layer _BON (on the far left, home row).
|
||||
* This is so by default, it remains unchanged.
|
||||
*/
|
||||
#define QWERTY_BASEARROW_HARMONIZE // _Activate_ to harmonize the ‛/?’ key in the regular Qwerty layout.
|
||||
// _Remove_ leave regular Qwerty layout unchanged from default.
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
/* ⬇ */
|
||||
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
# Minifan layout
|
||||
|
||||
Compiled for: Qwerty with arrows on Base
|
||||
========================================
|
||||
|
||||
This version of Qwerty puts arrows on Base, and assumes the 'arrow' hardware key.
|
||||
|
||||
You have to manually set *#define `MORE_KEY__ARROW`* in `./user_config.h`,
|
||||
If not compiled with ‛Arrow’ hardware key, Base will not contain ‛Down arrow’.
|
||||
You do not have to worry about what to set the additional hardware key to, on
|
||||
the Base layer. This will be set to Down Arrow, to complete that arrow cluster.
|
||||
|
||||
The option `QWERTY_BASEARROW_HARMONIZE` in `./base_qwerty_basearrow.h` is set
|
||||
by default, causing the key ‛/?’ in the _regular_ Qwerty layout to _also_ be
|
||||
located in the same spot as in this ‛Qwerty with Arrows on Base’ layout. See
|
||||
the header file `./base_qwerty_basearrow.h` for more details.
|
||||
|
||||
|
||||
Is arrows on Base efficient ?
|
||||
=============================
|
||||
|
||||
This variation of Qwerty is not necessarily the recommended version of
|
||||
Qwerty for a board with the additional ‛Arrow’ hardware key.
|
||||
The regular Qwerty compile option can provide good arrow access.
|
||||
|
||||
Putting directional arrow keys on the Base layer will cost you several
|
||||
keys on the Base layer: hold to layer `_RAR` (power, media, etc. layer),
|
||||
GUI, and ‛/?’.
|
||||
|
||||
• The ‛/?’ key is displaced to the `_NSY` (numbers & symbols) layer, and is not
|
||||
in the default spot for a Qwerty layout.
|
||||
|
||||
• The GUI key is lost. You could decide to also use the ‛south paw’/‛command’
|
||||
hardware key, which is a GUI by default.
|
||||
|
||||
• Hold key to `_RAR` layer is lost. You can only reach `_RAR` layer using the
|
||||
right shift toggle, which is on a short timer.
|
||||
|
||||
|
||||
Have it both ways
|
||||
=================
|
||||
|
||||
You could compile regular Qwerty on one of the Base pairs (‛Default’ or
|
||||
‛Alternate’), and Qwerty _with Arrows on Base_ on the other. That way
|
||||
you can switch to see what works for you. You could leave it like
|
||||
that, and choose what you want depending on what you are doing.
|
||||
|
||||
|
||||
Qwerty keymaps
|
||||
--------------
|
||||
|
||||
──────────Qwerty───────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
(…)
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
Layers (text)
|
||||
=============
|
||||
|
||||
───────────────Qwerty─────────────────
|
||||
|
||||
Layer _..._BASE (Letters). This is Qwerty with arrows on Base
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ wW eE rR tT | yY uU iI oO pP Bksp
|
||||
Tab+LCtl aA sS dD fF gG | hH jJ kK lL ;: '"
|
||||
LSht+_PAD zZ xX cC vV bB | nN mM ,< .> Up RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) Left Right
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(RGUI) (Down)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration. Set to Down Arrow.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
|
||||
Remarks: The left modifiers have a slight delay in combination with an outside pointer device (mouse, stylus).
|
||||
It seems this will be difficult to fix, because it is spread over two devices. To avoid the
|
||||
±0.2 second delay, activate a layer where the modifiers are direct (`_PAD`), using the layer toggle on left shift.
|
||||
|
||||
The key with ';' (Del;`_ACC`) does not auto-repeat on double tap, like QMK normal layer-tap keys.
|
||||
There is an uncluttered _Delete_ on `_PAD`.
|
||||
|
||||
Holding both `_DEF_NSY` keys left and right of the "split space bar" (enter, space) results in layer `_DRA`.
|
||||
|
||||
Holding either one of the just above mentioned `_DEF_NSY` layer keys (<3 and 3>), with the `_ACC` layer key
|
||||
(on <2) results in layer `_BON`.
|
||||
|
||||
|
||||
- - -
|
||||
|
||||
|
||||
Layer _..._NSY (Numbers and SYmbols). This fits the above Qwerty layer _..._BASE
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) /?
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht
|
||||
^^ ^ // Only differences with normal version _..._NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _..._BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(RGUI) (_MOV)
|
||||
|
||||
|
||||
|
||||
- - -
|
||||
203
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_workman.c
Normal file
203
keyboards/thevankeyboards/minivan/keymaps/josjoha/base_workman.c
Normal file
|
|
@ -0,0 +1,203 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* Author: © 2021 by Jos Boersema
|
||||
*
|
||||
*/
|
||||
|
||||
// --------------------------------------v---------------------------------------
|
||||
// Configuration:
|
||||
// --------------------------------------v---------------------------------------
|
||||
|
||||
// --------------------------------------^---------------------------------------
|
||||
// Below here no more comfortable configuration options.....
|
||||
// --------------------------------------^---------------------------------------
|
||||
|
||||
|
||||
/* Redefine a layer in this file
|
||||
*
|
||||
* _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
|
||||
* in this file. The version in ./keymap.c will be ignored. Keep in mind to use
|
||||
* transparent keys (_______) for “hold” layer switch keys on the BASE map, for
|
||||
* your new layer.
|
||||
*/
|
||||
// #define BASESFILE_LAYER_ACC
|
||||
// #define BASESFILE_LAYER_DRA
|
||||
// #define BASESFILE_LAYER_BON
|
||||
// #define BASESFILE_LAYER_PAD
|
||||
// #define BASESFILE_LAYER_MOV
|
||||
// #define BASESFILE_LAYER_RAR
|
||||
// #define BASESFILE_LAYER_FUN
|
||||
|
||||
/* ⬇ */
|
||||
|
||||
/* Layer _..._BASE: Workman, normal BASE layer and 'default' layer
|
||||
*
|
||||
* - Dual use keys create a delay in the key (tap/hold keys), therefore
|
||||
* space is not dual use (most ued key), neither is hyphen.
|
||||
*/
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_WORKMAN__DEF_BASE)
|
||||
[ _DEF_BASE ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_WORKMAN__ALT_BASE)
|
||||
[ _ALT_BASE ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._BASE (Letters). This is Workman
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ dD· rR· wW· bB· | jJ· fF· uU· pP· :;· Bksp
|
||||
Tab+LCtl aA sS hH· tT· gG | yY· nN· eE· oO· iI· '"
|
||||
LSht+_PAD zZ xX mM· cC· vV· | kK· lL· ,< .> /? RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) LGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(RGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
₇) Letters marked by ‛·’ are different from Qwerty.
|
||||
*/
|
||||
//
|
||||
// <pink2 , <pink, <ring, <midd, <indx, <ind|, indx>, inde>, midd> , ring> , pink> , pink2> ,
|
||||
// -*!- , , , , , <|,> , , , , , ,
|
||||
KC_ESC , KC_Q , KC_D , KC_R , KC_W , KC_B , KC_J , KC_F , KC_U , KC_P , KC_SCLN , KC_BSPC ,
|
||||
LCTL_T ( KC_TAB ) , KC_A , KC_S , KC_H , KC_T , KC_G , KC_Y , KC_N , KC_E , KC_O , KC_I , KC_QUOT ,
|
||||
CHOLTAP_LSHFT , KC_Z , KC_X , KC_M , KC_C , KC_V , KC_K , KC_L , KC_COMM , KC_DOT , KC_SLSH , CHOLTAP_RSHFT ,
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, MO ( _PAD )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1_BASE
|
||||
# endif
|
||||
|
||||
# ifdef SWITCH_HOLD_ACC_NSY
|
||||
, DUO_HOLD , CHOLTAP_ACCE
|
||||
# else
|
||||
, CHOLTAP_ACCE , DUO_HOLD
|
||||
# endif
|
||||
|
||||
, LT__MOV__KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_SPC , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, MO ( _FUN )
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, CHOLTAP_LAYR
|
||||
// , , , <|,> , , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
||||
/* Layer _..._NSY: Numbers and symbols, to work with the Workman base layer above. (Same as Qwerty.)
|
||||
* Off hand Number input (-.Bksp ent (shft)tab).
|
||||
*/
|
||||
// KC_TILD does not work there, because of a limitation with shifted keys (nov 2019).
|
||||
|
||||
// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
|
||||
# if defined(BASE_WORKMAN__DEF_BASE)
|
||||
[ _DEF_NSY ] = LAYOUT_redefined (
|
||||
# elif defined(BASE_WORKMAN__ALT_BASE)
|
||||
[ _ALT_NSY ] = LAYOUT_redefined (
|
||||
# endif
|
||||
|
||||
/*
|
||||
Layer _..._NSY (Numbers and SYmbols). This fits the above Workman layer _..._BASE
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht // limitation prevents ~
|
||||
^^ ^ // Only differences with normal version _..._NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
|
||||
-*- <|> -*- //(hold) Access on _..._BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(RGUI) (_MOV)
|
||||
*/
|
||||
//
|
||||
//
|
||||
// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
|
||||
// , -*- , , , , <|,> , , , , , ,
|
||||
CTO_BASE , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , KC_LPRN , KC_RPRN , KC_DEL ,
|
||||
LCTL_T ( KC_TAB ) , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , RCTL_T ( KC_GRV ) ,
|
||||
LSFT_T ( KC_MINS ) , KC_LBRC , KC_RBRC , KC_MINS , KC_BSLS , KC_EQL , KC_PLUS , KC_PIPE , KC_UNDS , KC_LCBR , KC_RCBR , RSFT_T ( KC_TILD ) ,
|
||||
// ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
LALT_T ( KC_LEFT )
|
||||
|
||||
# ifdef TRANSMINIVAN_LEFTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__COMMAND
|
||||
, MORE_key1
|
||||
# endif
|
||||
|
||||
, _______ , _______ , KC_ENT
|
||||
|
||||
# ifdef TRANSMINIVAN_MIDLEFT
|
||||
, TRANS_MIDLEFT
|
||||
# endif
|
||||
|
||||
, KC_DOT , DUO_HOLD , KC__YGUI
|
||||
|
||||
# ifdef TRANSMINIVAN_RIGHTSIDE
|
||||
, XXXXXXX
|
||||
# endif
|
||||
|
||||
# ifdef MORE_KEY__ARROW
|
||||
, MORE_key2
|
||||
# endif
|
||||
|
||||
, RALT_T ( KC_RGHT )
|
||||
// , , -*- , <|,> , -*- , ,
|
||||
// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
|
||||
|
||||
),
|
||||
|
||||
/* ⬆⬇ */
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
# Minifan layout
|
||||
|
||||
Compiled for: Workman
|
||||
=====================
|
||||
|
||||
This file details the compile version `#define BASE_WORKMAN__DEF_BASE, BASE_WORKMAN__ALT_BASE`.
|
||||
This is a Workman layout.
|
||||
|
||||
The number & symbols layer (`_NSY`) is the same as for Qwerty.
|
||||
|
||||
Workman keymaps
|
||||
---------------
|
||||
|
||||
─────────Workman───────────────
|
||||
|
||||

|
||||
Layer: `..._BASE`
|
||||
|
||||

|
||||
Layer: `..._NSY`
|
||||
|
||||
──────────in common────────────
|
||||
|
||||
(…)
|
||||
|
||||
For more about the other layers, see ➡  ⬅
|
||||
|
||||

|
||||
|
||||
Layers (text)
|
||||
=============
|
||||
|
||||
───────────────Workman─────────────────
|
||||
|
||||
Layer _..._BASE (Letters). This is Workman
|
||||
| Right hand
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
|
||||
-o- <|> ... //-o- BASE access
|
||||
Esc qQ dD rR wW bB | jJ fF uU pP :; Bksp
|
||||
Tab+LCtl aA sS hH tT gG | yY nN eE oO iI '"
|
||||
LSht+_PAD zZ xX mM cC vV | kK lL ,< .> /? RSht+_FUN
|
||||
+_MOV⁵ | +_RAR⁶
|
||||
---------------------------------------------------------------------------------------
|
||||
Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) LGUI Right;_RAR
|
||||
hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
|
||||
hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
|
||||
┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
|
||||
^³ ^⁴ // Optional more keys
|
||||
(RGUI) (_MOV)
|
||||
|
||||
₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
|
||||
₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
|
||||
₃) 'South paw' hardware configuration. Configurable, default shown.
|
||||
₄) 'Arrow' hardware configuration Configurable, default shown.
|
||||
₃ ₄) There are two more optional hardware keys, to make it easier to compile for
|
||||
a 12x12x12x11 or 12x12x12x12 layouts.
|
||||
₅) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
|
||||
₆) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
|
||||
|
||||
Remarks: The left modifiers have a slight delay in combination with an outside pointer device (mouse, stylus).
|
||||
It seems this will be difficult to fix, because it is spread over two devices. To avoid the
|
||||
±0.2 second delay, activate a layer where the modifiers are direct (`_PAD`), using the layer toggle on left shift.
|
||||
|
||||
The two keys with ';' (Del;`_ACC`, Right;`_RAR`) do not auto-repeat on double tap, like QMK normal layer-tap keys.
|
||||
There is an uncluttered _Delete_ on `_PAD`, an uncluttered _Right_ arrow on the `_MOV` layer.
|
||||
|
||||
Holding both `_DEF_NSY` keys left and right of the "split space bar" (enter, space) results in layer `_DRA`.
|
||||
|
||||
Holding either one of the just above mentioned `_DEF_NSY` layer keys (<3 and 3>), with the `_ACC` layer key
|
||||
(on <2) results in layer `_BON`.
|
||||
|
||||
|
||||
- - -
|
||||
|
||||
|
||||
Layer _..._NSY (Numbers and SYmbols). This fits the above Workman layer _DEF_BASE
|
||||
|
||||
<pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
|
||||
-*- <|> //(toggle) Access on _FUN
|
||||
BASE ! @ # $ % | ^ & * ( ) Del
|
||||
Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
|
||||
-+LSht [{ ]} -_ \| =+ | + | _ { } `~+RSht // limitation prevents ~
|
||||
^^ ^ // Only differences with Dvorak version _DEF_NSY
|
||||
---------------------------------------------------------------------------
|
||||
Left+LAlt ___ ___ Ent | . ___ RGUI Right+RAlt
|
||||
-*- <|> -*- u //(hold) Access on _DEF_BASE
|
||||
<1 ± <2 <3 <4 | 4> 3> 2> ± 1>
|
||||
^ ^
|
||||
(LGUI) (_MOV)
|
||||
|
||||
|
||||
|
||||
- - -
|
||||
|
||||
48
keyboards/thevankeyboards/minivan/keymaps/josjoha/config.h
Normal file
48
keyboards/thevankeyboards/minivan/keymaps/josjoha/config.h
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* © 2019,2020 by Jos Boersema
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
// place overrides here
|
||||
|
||||
// Some defines meant to decrease the firmware size. The firmware is otherwise over the maximum (atmega32u4)
|
||||
# ifndef LINK_TIME_OPTIMIZATION_ENABLE
|
||||
//Disable old style macro handling: MACRO() & action_get_macro
|
||||
# define NO_ACTION_MACRO // This saves 320 bytes
|
||||
//disable calling of action_function() from the fn_actions array (deprecated)
|
||||
# define NO_ACTION_FUNCTION // This saves 96 bytes
|
||||
# endif
|
||||
|
||||
#define PERMISSIVE_HOLD
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_SLEEP // QMK docs: "If defined, the RGB lighting will be switched off when the host goes to sleep"
|
||||
|
||||
// Layer switch TT(layer) tapping amount to make it toggle
|
||||
#define TAPPING_TERM_HOLTAP 225 // 175 ms proved unreliable, 225 ms seems ok (personal preference)
|
||||
|
||||
|
||||
// Attempts to reduce firmware size:
|
||||
//#define LINK_TIME_OPTIMIZATION_ENABLE // Did not decrease firmware size when tested on 26 Jan 2020
|
||||
//#define NO_DEBUG //disable debugging (already defined)
|
||||
//#define NO_PRINT JJdisable printing/debugging using hid_listen (already defined)
|
||||
//#define NO_ACTION_LAYER //disable layers (obviously need layers)
|
||||
//#define NO_ACTION_TAPPING // This saves 2516 bytes (9%) (keymap uses tapping)
|
||||
//#define NO_ACTION_ONESHOT // This did not reduse firmware size on 26 Jan 2020
|
||||
|
||||
1754
keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
Normal file
1754
keyboards/thevankeyboards/minivan/keymaps/josjoha/keymap.c
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,102 @@
|
|||
/*
|
||||
* License (GPL):
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
* © 2020,2021 by Jos Boersema
|
||||
*/
|
||||
|
||||
/*
|
||||
* If MINIFAN_CONFIG_COMPACT in ./user_config.h ⬇
|
||||
*/
|
||||
|
||||
//#define BASE_QWERTY__DEF_BASE
|
||||
//#define BASE_QWERTY__ALT_BASE
|
||||
//#define BASE_QWERTY_BASEARROW__DEF_BASE
|
||||
//#define BASE_QWERTY_BASEARROW__ALT_BASE
|
||||
#define BASE_DVORAK__DEF_BASE
|
||||
//#define BASE_DVORAK__ALT_BASE
|
||||
//#define BASE_DVORAK_DESCRAMBLE__ALT_BASE
|
||||
//#define BASE_COLEMAK__DEF_BASE
|
||||
//#define BASE_COLEMAK__ALT_BASE
|
||||
//#define BASE_WORKMAN__DEF_BASE
|
||||
//#define BASE_WORKMAN__ALT_BASE
|
||||
#define BASE_NUMPAD__ALT_BASE
|
||||
|
||||
//#define MINIFAN_SINGLE_LAYOUT
|
||||
|
||||
//#define STARTUP_ALTERNATE
|
||||
//#define STARTUP_SIDE_LEDS_OFF
|
||||
//#define STARTUP_MID_LED_OFF
|
||||
//#define STARTUP_SPEED
|
||||
//#define STARTUP_COUNT
|
||||
|
||||
//#define MORE_KEY__COMMAND
|
||||
//#define MORE_KEY__ARROW
|
||||
|
||||
//#define TRANSMINIVAN_LAYOUT .......
|
||||
//#define TRANSMINIVAN_LEFTSIDE
|
||||
#define TRANS_LEFT XXXXXXX
|
||||
//#define TRANSMINIVAN_MIDLEFT
|
||||
#define TRANS_MIDLEFT XXXXXXX
|
||||
//#define TRANSMINIVAN_RIGHTSIDE
|
||||
#define TRANS_RIGHT XXXXXXX
|
||||
|
||||
//#define MORE_key1_BASE TG ( _RAR )
|
||||
//#define MORE_key1_BASE KC_DEL
|
||||
#define MORE_key1_BASE KC__XGUI
|
||||
//#define MORE_key1 KC_DEL
|
||||
#define MORE_key1 KC__XGUI
|
||||
#define MOREKEY2_ARROW_CLUSTER
|
||||
//#define MOREKEY2_ADD_NAVIGATION
|
||||
#define MORE_key2 _MOV_UP
|
||||
//#define MORE_key2 KC_DEL
|
||||
|
||||
#define ARROWS_TRIANGLE
|
||||
//#define VI_SWITCHERYDOO
|
||||
|
||||
//#define NUMPAD_COMMON_SQUARE
|
||||
|
||||
#define SPEED_COUNTDOWN 25
|
||||
#define SPEED_HUE_STEP 8
|
||||
#define SPEED_HUE_START 160
|
||||
#define WORDS_PER_MINUTE
|
||||
|
||||
//#define BASE_RIGHT_ALT
|
||||
#define SWITCH_GUIS
|
||||
//#define UNICODE_CURRENCY 0x20ac
|
||||
//#define POINT_ON_CHECKBOXES
|
||||
//#define SWITCH_BASE_ROW1_23
|
||||
//#define SWITCH_HOLD_ACC_NSY
|
||||
#define SWITCH_LSHIFT_PAD_MOV
|
||||
#define SWITCH_RSHIFT_FUN_RAR
|
||||
|
||||
//#define REMOVE_PAD
|
||||
//#define REMOVE_ACC
|
||||
//#define _ACC_KEY_ALT_LAYER _BON
|
||||
//#define _ACC_KEY_ALT_LAYER _DRA
|
||||
//#define REMOVE_DRA
|
||||
//#define _DRA_KEY_ALT_LAYER _ACC
|
||||
//#define _DRA_KEY_ALT_LAYER _BON
|
||||
//#define REMOVE_BON
|
||||
//#define _BON_KEY_ALT_LAYER _ACC
|
||||
//#define _BON_KEY_ALT_LAYER _DRA
|
||||
//#define ALL_DRA_BON_EVISCERATIONS
|
||||
#define BOX_DRAWINGS
|
||||
#define SUB_SCRIPT_NUMS
|
||||
#define FULL_DRA_2NDROW
|
||||
#define FULL_DRA_4THROW
|
||||
#define FULL_BON_4THROW
|
||||
|
||||
#define LEDS_OFF_BASE_DEF
|
||||
1198
keyboards/thevankeyboards/minivan/keymaps/josjoha/readme.md
Normal file
1198
keyboards/thevankeyboards/minivan/keymaps/josjoha/readme.md
Normal file
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue