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
|
// https://www.charvolant.org/doug/xkb/html/img3.png
// https://cgit.freedesktop.org/xorg/proto/x11proto/tree/keysymdef.h
default partial alphanumeric_keys modifier_keys
xkb_symbols "basic" {
include "us(basic)"
name[Group1] = "Mango";
key <AE01> { [ exclam, 1, exclam, 1 ] };
key <AE02> { [ at, 2, at, 2 ] };
key <AE03> { [ numbersign, 3, numbersign, 3 ] };
key <AE04> { [ EuroSign, 4, dollar, 4 ] };
key <AE05> { [ percent, 5, dollar, 5 ] };
key <AE06> { [ asciicircum, 6, asciicircum, 6 ] };
key <AE07> { [ ampersand, 7, ampersand, 7 ] };
key <AE08> { [ asterisk, 8, asterisk, 8 ] };
key <AE09> { [ parenleft, 9, parenleft, 9 ] };
key <AE10> { [ parenright, 0, parenright, 0 ] };
key <AE11> { [ minus, underscore, endash, emdash ] };
key <AD03> { [ e, E, eacute, Eacute ] };
key <AD07> { [ u, U, udiaeresis, Udiaeresis ] };
key <AD08> { [ i, I, U0133, U0132 ] }; // ij and IJ
key <AD09> { [ o, O, odiaeresis, Odiaeresis ] };
key <AC01> { [ a, A, adiaeresis, Adiaeresis ] };
key <AC02> { [ s, S, ssharp, U1E9E ] }; // ẞ
key <AC10> { [ semicolon, colon, leftsinglequotemark, leftdoublequotemark ] };
key <AC11> { [ apostrophe, quotedbl, rightsinglequotemark, rightdoublequotemark ] };
key <AB03> { [ c, C, cent ] };
key <AB08> { [ comma, less, rightsinglequotemark ] };
key <AB09> { [ period, greater, ellipsis ] };
replace key <RCTL> { [ Meta_L ] }; // For Emacs
};
partial
xkb_symbols "german" {
include "mango(basic)"
name[Group1] = "Mango (German)";
key <AC10> { [ NoSymbol, NoSymbol, singlelowquotemark, doublelowquotemark ] };
key <AC11> { [ NoSymbol, NoSymbol, leftsinglequotemark, leftdoublequotemark ] };
};
partial
xkb_symbols "coding" {
include "mango(basic)"
name[Group1] = "Mango (Coding)";
key <AE04> { [ dollar, NoSymbol, EuroSign, NoSymbol ] };
key <AE05> { [ NoSymbol, NoSymbol, EuroSign, NoSymbol ] };
key <SPCE> { [ space, NoSymbol, nobreakspace, NoSymbol ] }; // NO-BREAK SPACE
};
|