summaryrefslogtreecommitdiff
path: root/symbols/la
blob: 31921e27de9215e39e7914ae764628eef66d7eda (plain)
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
// Lao keymap, by Anousak Souphavanh <anousak@muanglao.com>

partial default alphanumeric_keys
xkb_symbols "basic" {

    // Describes the differences between a very simple US/ASCII
    // keyboard and a Lao keyboard
    // This keymap uses the Lao keyboard standard [kind of] widely used inLaos

    name[Group1]= "Laos";

    // Alphanumeric section
    key <TLDE> { [ 0x100200D			]};
    key <AE01> { [ 0x1000ea2,       0x1000ed1	]};
    key <AE01> { [ 0x1000ea2,       0x1000ed1	]};
    key <AE02> { [ 0x1000e9f,       0x1000ed2	]};
    key <AE03> { [ 0x1000ec2,       0x1000ed3	]};
    key <AE04> { [ 0x1000e96,       0x1000ed4	]};
    key <AE05> { [ 0x1000eb8,       0x1000ecc	]};
    key <AE06> { [ 0x1000eb9,       0x1000ebc	]};
    key <AE07> { [ 0x1000e84,       0x1000ed5	]};
    key <AE08> { [ 0x1000e95,       0x1000ed6	]};
    key <AE09> { [ 0x1000e88,       0x1000ed7	]};
    key <AE10> { [ 0x1000e82,       0x1000ed8	]};
    key <AE11> { [ 0x1000e8a,       0x1000ed9	]};
    key <AE12> { [ 0x1000ecd			]};

    key <AD01> { [ 0x1000ebb			]};
    key <AD02> { [ 0x1000ec4,       0x1000ed0	]};
    key <AD03> { [ 0x1000eb3			]};
    key <AD04> { [ 0x1000e9e,       underscore	]};
    key <AD05> { [ 0x1000eb0,       plus	]};
    key <AD06> { [ 0x1000eb4			]};
    key <AD07> { [ 0x1000eb5			]};
    key <AD08> { [ 0x1000ea3,       0x1000eae	]};
    key <AD09> { [ 0x1000e99			]};
    key <AD10> { [ 0x1000e8d,       0x1000ebd	]};
    key <AD11> { [ 0x1000e9a,       minus	]};
    key <AD12> { [ 0x1000ea5,       braceright	]};
    key <BKSL> { [ 0x1000edc,      0x1000edd	]};

    key <AC01> { [ 0x1000eb1			]};
    key <AC02> { [ 0x1000eab,       semicolon	]};
    key <AC03> { [ 0x1000e81,       period	]};
    key <AC04> { [ 0x1000e94,       comma	]};
    key <AC05> { [ 0x1000ec0,       colon	]};
    key <AC06> { [ 0x1000ec9,       0x1000eca	]};
    key <AC07> { [ 0x1000ec8,       0x1000ecb	]};
    key <AC08> { [ 0x1000eb2,       exclam	]};
    key <AC09> { [ 0x1000eaa,       question	]};
    key <AC10> { [ 0x1000ea7,       percent	]};
    key <AC11> { [ 0x1000e87,       equal	]};

    key <AB01> { [ 0x1000e9c,       0x10020ad	]};
    key <AB02> { [ 0x1000e9b,       parenleft	]};
    key <AB03> { [ 0x1000ec1,       0x1000eaf	]};
    key <AB04> { [ 0x1000ead			]};
    key <AB05> { [ 0x1000eb6			]};
    key <AB06> { [ 0x1000eb7			]};
    key <AB07> { [ 0x1000e97,       0x1000ec6	]};
    key <AB08> { [ 0x1000ea1,       quoteleft	]};
    key <AB09> { [ 0x1000ec3,       dollar	]};
    key <AB10> { [ 0x1000e9d,       parenright	]};

override key <LFSH> {
	type[Group1]="PC_ALT_LEVEL2",
	[ 	 Shift_L,		ISO_First_Group		]
    };
override key <RTSH> {
	type[Group1]="PC_ALT_LEVEL2",
	[ 	Shift_R,		ISO_Last_Group 		]
    };
};

partial
xkb_symbols "stea" {

    // Describes the differences between a very simple US/ASCII
    // keyboard and a Lao keyboard
    // This keymap uses the proposed Lao keyboard standard by the
    // PAN Localization Project
    // Science Technology and Environment Agency of Lao PDR
    // National University Computer and Emergency Science of Pakistan
    // International Development Research Center
    // Caveat: assigning multiple codepoints to a single key doesn't 
    // work in XKB. Therefor the combining codepoint assignments
    // have been omitted.


    name[Group1]= "Laos - STEA (proposed standard layout)";

    // Alphanumeric section
    key <TLDE> { [  quotedbl,      apostrophe           	]};
    key <AE01> { [ 0x1000ea2,               1,       0x1000ed1	]};
    key <AE02> { [ 0x1000e9f,               2,       0x1000ed2	]};
    key <AE03> { [ 0x1000ec2,               3,       0x1000ed3	]};
    key <AE04> { [ 0x1000e96,               4,       0x1000ed4	]};
    key <AE05> { [ 0x1000eb8,       0x1000ecc,       0x1000ed5	]};
    key <AE06> { [ 0x1000eb9,       0x1000ebc,       0x1000ed6	]};
    key <AE07> { [ 0x1000e84,               5,       0x1000ed7	]};
    key <AE08> { [ 0x1000e95,               6,       0x1000ed8	]};
    key <AE09> { [ 0x1000e88,               7,       0x1000ed9	]};
    key <AE10> { [ 0x1000e82,               8,       0x1000ed0	]};
    key <AE11> { [ 0x1000e8a,               9			]};
    key <AE12> { [ 0x1000ecd 		]};

    key <AD01> { [ 0x1000ebb		]};
    key <AD02> { [ 0x1000ec4,               0			]};
    key <AD03> { [ 0x1000eb3,       asterisk			]};
    key <AD04> { [ 0x1000e9e,       underscore             	]};
    key <AD05> { [ 0x1000eb0,       plus                	]};
    key <AD06> { [ 0x1000eb4		]};
    key <AD07> { [ 0x1000eb5		]};
    key <AD08> { [ 0x1000eae,       0x1000ea3	                ]};
    key <AD09> { [ 0x1000e99,       0x1000edc			]};
    key <AD10> { [ 0x1000e8d,       0x1000ebd	]};
    key <AD11> { [ 0x1000e9a,       minus	]};
    key <AD12> { [ 0x1000ea5        	]};
    key <BKSL> { [     slash,       backslash	                ]};

    key <AC01> { [ 0x1000eb1		]};
    key <AC02> { [ 0x1000eab,       semicolon	]};
    key <AC03> { [ 0x1000e81,       period	]};
    key <AC04> { [ 0x1000e94,       comma	]};
    key <AC05> { [ 0x1000ec0,       colon	]};
    key <AC06> { [ 0x1000ec9,       0x1000eca	]};
    key <AC07> { [ 0x1000ec8,       0x1000ecb	]};
    key <AC08> { [ 0x1000eb2,       exclam	]};
    key <AC09> { [ 0x1000eaa,       question	]};
    key <AC10> { [ 0x1000ea7,       percent	]};
    key <AC11> { [ 0x1000e87,       equal	]};

    key <AB01> { [ 0x1000e9c,       0x10020ad	]};
    key <AB02> { [ 0x1000e9b,       parenleft	]};
    key <AB03> { [ 0x1000ec1,       0x1000eaf	]};
    key <AB04> { [ 0x1000ead,       x		]};
    key <AB05> { [ 0x1000eb6		]};
    key <AB06> { [ 0x1000eb7		]};
    key <AB07> { [ 0x1000e97,       0x1000ec6	]};
    key <AB08> { [ 0x1000ea1,       0x1000edd	]};
    key <AB09> { [ 0x1000ec3,       dollar	]};
    key <AB10> { [ 0x1000e9d,       parenright	]};

    key <SPCE> { [ space, nobreakspace, nobreakspace		]};

    key <KPDL> { [     comma,       period 			]};

    include "level3(ralt_switch)"

};