aboutsummaryrefslogtreecommitdiff
path: root/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c')
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c200
1 files changed, 200 insertions, 0 deletions
diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c b/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c
new file mode 100644
index 000000000..be9685632
--- /dev/null
+++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/base_dvorak.c
@@ -0,0 +1,200 @@
1/*
2 * License (GPL):
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17 * Author: © 2020 by Jos Boersema
18 *
19 */
20
21// --------------------------------------v---------------------------------------
22// Configuration:
23// --------------------------------------v---------------------------------------
24
25
26// --------------------------------------^---------------------------------------
27// Below here no more comfortable configuration options.....
28// --------------------------------------^---------------------------------------
29
30 /* Redefine a layer in this file
31 *
32 * _Activate_ one or more of the below BASESFILE_LAYER_..., to redefine the layer
33 * in this file. The version in ./keymap.c will be ignored. Keep in mind to use
34 * transparent keys (_______) for “hold” layer switch keys on the BASE map, for
35 * your new layer.
36 */
37// #define BASESFILE_LAYER_ACC
38// #define BASESFILE_LAYER_DRA
39// #define BASESFILE_LAYER_BON
40// #define BASESFILE_LAYER_PAD
41// #define BASESFILE_LAYER_MOV
42// #define BASESFILE_LAYER_RAR
43// #define BASESFILE_LAYER_FUN
44
45 /* ⬇ */
46
47 /* Layer _..._BASE: default BASE layer (Dvorak)
48 *
49 * - Dual use keys create a delay in the key (tap/hold keys), therefore
50 * space is not dual use (most used key), neither is hyphen.
51 */
52
53// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
54# if defined(BASE_DVORAK__DEF_BASE)
55 [ _DEF_BASE ] = LAYOUT_redefined (
56# elif defined(BASE_DVORAK__ALT_BASE)
57 [ _ALT_BASE ] = LAYOUT_redefined (
58# endif
59
60/*
61 Layer _..._BASE (LeTteRs, standard Dvorak)
62 | Right hand
63 <pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring> pinky>pinky2> // Keys by finger
64 -o- <|> ... //-o- BASE access
65 Esc '" ,< .> pP yY | fF gG cC rR lL Bksp
66 Tab+LCtl aA oO eE uU iI | dD hH tT nN sS -_
67 LSht+_PAD ;: qQ jJ kK xX | bB mM wW vV zZ RSht+_FUN
68 +_MOV⁵ | +_RAR⁶
69 ---------------------------------------------------------------------------------------
70 Left+LAlt Del;_ACC _..._NSY(_DRA) Enter+_MOV| Space _..._NSY(_DRA) LGUI Right;_RAR
71 hold hold₍₁,₂٭₎ hold | hold₍₁,₂٭₎ hold // switch type
72 hold₍₂₎ ^-┃-----------------------+--------^ ┃ // ₁₎ both = _DRA
73 ┗━━━_BON━━━╋┅───────────┄┄┄«or»┄┄┄─+─────────┅┛ // ₂₎ both = _BON
74 <1 ± <2 <3 <4 | 4> 3> 2> ± 1> // Keys by number
75 ^³ ^⁴ // Optional more keys
76 … …
77
78 ₁) Dual hold for _DRA, single hold for _..._NSY. Marked by: ^--…--^
79 ₂) Hold key “<2” with either٭ key “<3” or “3>” for _BON, single hold “<2” for _ACC. Marked: ┗━━…━━┛
80 ³) 'South paw' hardware configuration
81 ⁴) 'Arrow' hardware configuration
82 ³ ⁴) There are two more optional hardware keys, to make it easier to compile for
83 a 12x12x12x11 or 12x12x12x12 layouts.
84 ⁵) Left Shift when pressed with another key. Medium long: to toggle _PAD. Long: toggle _MOV.
85 ⁶) Right shift when pressed with another key. medium long: to toggle _FUN. Long: toggle _RAR.
86*/
87//
88// <pink2 , <pinky , <ring , <middl , <indx, <ind|, indx>, inde>, midd>, ring>, pink>, pink2> ,
89// -*!- , , , , , <|,> , , , , , ,
90 KC_ESC , KC_QUOT , KC_COMM , KC_DOT , KC_P , KC_Y , KC_F , KC_G , KC_C , KC_R , KC_L , KC_BSPC ,
91 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 ,
92 CHOLTAP_LSHFT , KC_SCLN , KC_Q , KC_J , KC_K , KC_X , KC_B , KC_M , KC_W , KC_V , KC_Z , CHOLTAP_RSHFT ,
93// -----------------------------------------------------------------------------------------------------------------
94 LALT_T ( KC_LEFT )
95
96# ifdef TRANSMINIVAN_LEFTSIDE
97 , MO ( _PAD )
98# endif
99
100# ifdef MORE_KEY__COMMAND
101 , MORE_key1_BASE
102# endif
103
104# ifdef SWITCH_HOLD_ACC_NSY
105 , DUO_HOLD , CHOLTAP_ACCE
106# else
107 , CHOLTAP_ACCE , DUO_HOLD
108# endif
109
110 , LT__MOV__KC_ENT
111
112# ifdef TRANSMINIVAN_MIDLEFT
113 , TRANS_MIDLEFT
114# endif
115
116 , KC_SPC , DUO_HOLD , KC__YGUI
117
118# ifdef TRANSMINIVAN_RIGHTSIDE
119 , MO ( _FUN )
120# endif
121
122# ifdef MORE_KEY__ARROW
123 , MORE_key2
124# endif
125
126 , CHOLTAP_LAYR
127// , , , <|,> , , ,
128// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
129
130 ),
131
132 /* ⬆⬇ */
133
134 /* Layer _..._NSY: Numbers and symbols.
135 * Off hand Number input (-.Bksp ent (shft)tab).
136 */
137 // KC_TILD does not work there, because of a limitation with shifted keys (nov 2019).
138
139// Process user configuration wrt ‛Default’ or ‛Alternative’ spot for this layout.
140# if defined(BASE_DVORAK__DEF_BASE)
141 [ _DEF_NSY ] = LAYOUT_redefined (
142# elif defined(BASE_DVORAK__ALT_BASE)
143 [ _ALT_NSY ] = LAYOUT_redefined (
144# endif
145
146/*
147 Layer _..._NSY (Numbers and SYmbols)
148
149 <pink2 <pinky<ring <middl<index<indx2| indx2>index>middl>ring>pin>pink2>
150 -*- <|> //(toggle) Access on _FUN
151 BASE ! @ # $ % | ^ & * ( ) Del
152 Tab+LCtl 1! 2@ 3# 4$ 5% | 6^ 7& 8* 9( 0) `~+RCtl
153 -+LSht [{ ]} /? \| =+ | + | ? { } `~+RSht // limitation prevents ~
154 ---------------------------------------------------------------------------
155 Left+LAlt ___ ___ Ent | . ___ LGUI Right+RAlt
156 -*- <|> -*- //(hold) Access on _..._BASE
157 <1 ± <2 <3 <4 | 4> 3> 2> ± 1>
158 … …
159*/
160//
161//
162// <pink2 , <pinky , <ring , <middl , <index , <indx2 |, indx2> , index> , middl> , ring> , pinky> , pink2> ,
163// , -*- , , , , <|,> , , , , , ,
164 CTO_BASE , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , KC_LPRN , KC_RPRN , KC_DEL ,
165 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 ) ,
166 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 ) ,
167// ---------------------------------------------------------------------------------------------------------------------------------------------
168 LALT_T ( KC_LEFT )
169
170# ifdef TRANSMINIVAN_LEFTSIDE
171 , TRANS_LEFT
172# endif
173
174# ifdef MORE_KEY__COMMAND
175 , MORE_key1
176# endif
177
178 , _______ , _______ , KC_ENT
179
180# ifdef TRANSMINIVAN_MIDLEFT
181 , TRANS_MIDLEFT
182# endif
183 , KC_DOT , DUO_HOLD , KC__YGUI
184
185# ifdef TRANSMINIVAN_RIGHTSIDE
186 , TRANS_RIGHT
187# endif
188
189# ifdef MORE_KEY__ARROW
190 , MORE_key2
191# endif
192
193 , RALT_T ( KC_RIGHT )
194// , , -*- , <|,> , -*- , ,
195// <1 ± ± , <2 , <3 , <4 |, 4> , 3> , 2> , ± ± 1>
196
197 ),
198
199
200 /* ⬆⬇ */