-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathcolemak_eD_template
More file actions
107 lines (92 loc) · 6.41 KB
/
colemak_eD_template
File metadata and controls
107 lines (92 loc) · 6.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// $XKeyboardConfig$
// *****************************************************************************************
// ****** ******
// ****** Colemak layouts - adding locale variants in a consistent fashion ******
// ****** by OEystein "DreymaR" Bech-Aase (formerly Bech Gadmar), 2012- ******
// ****** (copy this template to a new file then find/replace '<LANGUAGE>'/'<LL>') ******
// ****** ('<LL>' is usually the ISO-3166 two-letter country code) ******
// ****** ******
// *****************************************************************************************
// ***************************************************************************
// **** In the symbols file for <LANGUAGE> ****
// **** found at xkb/symbols/<LL> ****
// **** (at the end, or below other Colemak variants) ****
// ***************************************************************************
// >>--> DreymaR (OEystein Bech-Aase), 202?-??: Additions to xkb/symbols/<LL>
// Colemak[eD]: National/locale Colemak "edition DreymaR" variants for <LANGUAGE>.
// 2006-01-01 Shai Coleman http://colemak.com/ (Public Domain) : The Colemak keyboard layout.
// See the Big Bag section on Cmk[eD] locales: https://dreymar.colemak.org/variants.html#locales
// The 'keep local symbols' variant keeps the national symbol and special letter setup.
partial alphanumeric_keys
xkb_symbols "cmk_ed_ks" {
include "<LL>(basic)"
include "colemak(cmk_ed_letters)"
name[Group1]= "<LANGUAGE> (Colemak[eD], keep local symbols)";
// NOTE: Symbols on letter keys may be lost in cmk_ed_ks if they are not on Colemak[eD] letter keys.
// EuroSign is often on 'E'. The latin(intl) and locale(winkeys) layout variants use '5'.
// Colemak[eD] has EuroSign on 'E' and mu on '5'.
// key <AE05> { [ NoSymbol, NoSymbol, mu, onehalf ] };
// key <AE05> { [ NoSymbol, NoSymbol, EuroSign, onehalf ] }; // onehalf is moved, threeeights is lost
key <AD10> { [ §, §, §, § ] }; // from <AC10>
// key <AD10> { [ semicolon, colon, dead_diaeresis, ellipsis ] }; // Colemak[eD] <AD10>
};
// The 'us' variant uses the US-type symbol key setup (recommended!) as it is nearly an intl. standard.
// For <LANGUAGE>, necessary local letters are added to designated flexible spots in the layout.
// For "writing" and "coding" subvariants, move the brackets between lv1-2 and lv3-4 as shown.
partial alphanumeric_keys
xkb_symbols "cmk_ed_us" {
include "colemak(cmk_ed_letters)"
include "symkeys(cmk_ed_symbols)"
include "level3(ralt_switch)"
name[Group1]= "<LANGUAGE> (Colemak[eD], unified symbols)";
// NEEDED:
// <LANGUAGE> letter frequencies:
// NOTE:
key <LSGT> { [ §, §, oe, OE ] }; // from <AC10>
// key <AD11> { [ bracketleft, braceleft, §, § ] };
// key <AD12> { [ bracketright, braceright, §, § ] };
key <AD11> { [ §, §, bracketleft, braceleft ] }; // from <AD11>
key <AD12> { [ §, §, bracketright, braceright ] }; // from <AC11>
// NOTE: The Curl(DH) ergo mod moves H and K, which may interfere with these mappings.
// key <AB06> { [ k, K, §, § ] }; // from <A>
// key <AC06> { [ h, H, §, § ] }; // from <A>
// key <AD06> { [ j, J, §, § ] }; // from <A>
// key <AD07> { [ l, L, §, § ] }; // from <A>
// key <A§§§> { [ §, §, oe, OE ] }; // keep oe
};
// <--<< DreymaR: Additions to xkb/symbols/<LL>
// ***************************************************************************
// **** In the rules/evdev(+base).xml file ****
// **** Under the <LL> layout variantList ****
// ***************************************************************************
<!-- >-> DreymaR's BigBagKbdTrix -->
<variant>
<configItem>
<name>cmk_ed_ks</name>
<description><LANGUAGE> (Colemak[eD], keep local symbols)</description>
</configItem>
</variant>
<variant>
<configItem>
<name>cmk_ed_us</name>
<description><LANGUAGE> (Colemak[eD], unified symbols)</description>
</configItem>
</variant> <!-- <-< DreymaR -->
// ***************************************************************************
// **** In the rules/evdev(+base).lst file ****
// **** Under '! variant' (norm. <LL>) ****
// **** This file is auto-generated when rules are compiled. ****
// ***************************************************************************
cmk_ed_ks <LL>: <LANGUAGE> (Colemak[eD], keep local symbols)
cmk_ed_us <LL>: <LANGUAGE> (Colemak[eD], unified symbols)
// ***************************************************************************
// **** In the main rules/evdev(+base) file ****
// **** no changes should be necessary. ****
// ***************************************************************************
// *****************************************************************************************
// ****** ******
// ****** ******
// ****** THE END of DreymaR's Colemak[eD] locale variant addition template ******
// ****** ******
// ****** ******
// *****************************************************************************************