2 // Default Chinese is the same as American
4 partial default alphanumeric_keys
8 name[Group1]= "Chinese";
11 // Tibetan Standard Keyboard map for XKB/X.org
13 // Based on the CNS Tibetan keyboard as supported by Windows Vista
14 // using information published by Tashi Tsering:
15 // http://www.yalasoo.com/English/docs/yalasoo_en_MStbKb.html
17 // XKB version by Rich Felker <dalias@aerifal.cx>.
19 // The CNS Tibetan keyboard standard specifies 5 keyboards worth of keys,
20 // but apparently makes no requirements about how each is accessed. Only
21 // the first 2 are needed for native Tibetan text; the remainder are
22 // filled with special symbols and letters for transliterating foreign
23 // text. Further, CNS leaves the level of support of keyboards 2-5 as an
24 // option to the implementor (despite the fact that #2 is absolutely
25 // essential...). Windows Vista maps them as follows:
28 // 2. "m"-key-prefixed
30 // 4. Ctrl+Alt+Shift-modified
31 // 5. "M"-key-prefixed
33 // I roughly copy the Windows Vista mapping, which was intended by the
34 // designer of the keyboard, with the following exceptions:
36 // The fifth keyboard is almost empty and contains only precomposed forms
37 // of subjoined letter characters whose use is strongly discouraged, and
38 // is not implemented at all in this XKB map. The fourth is implemented,
39 // but is accessed by an "m"-prefix (or "M"-prefix, for convenience)
40 // followed by a Shift-modified key. This avoids stealing the Ctrl and Alt
41 // keys, which belong to applications on *nix and not to the keyboard or
42 // input method. Aside from enterring rare special symbols and
43 // foreign-word-transliteration letters, these differences should not
46 // Implementation notes:
48 // A latching ISO Level3 shift is used for the "m"-prefix modifier. In
49 // principle moving it to other keys (e.g. AltGr) would be possible
50 // according to user preference, but this is not practical for typing
51 // Tibetan, since the subjoined consonants, of which Tibetan has 0-2 per
52 // syllable, are accessed via this mechanism.
54 // One annoyance is that the latching Level3 shift fails to work if the
55 // previous key is not yet released when "m" is pressed (the key release
56 // event kills the latch). I consider this a bug in X and don't know an
57 // easy way to work around it. Complain to the maintainers if it bothers
58 // you and maybe they'll find a fix. You won't notice it unless you're
59 // fast at typing Tibetan anyway.
61 partial alphanumeric_keys
64 name[Group1]= "Tibetan";
66 key <TLDE> { [ 0x1000f68, 0x1000f01, 0x1000fb8, 0x1000f00 ] }; # ཨ ༁ ྸ ༀ
67 key <AE01> { [ 0x1000f21, 0x1000f2a, 0x1000f04, 0x1000f76 ] }; # ༡ ༪ ༄ ྲྀ
68 key <AE02> { [ 0x1000f22, 0x1000f2b, 0x1000f05, 0x1000f77 ] }; # ༢ ༫ ༅ ཷ
69 key <AE03> { [ 0x1000f23, 0x1000f2c, 0x1000f7e, 0x1000f78 ] }; # ༣ ༬ ཾ ླྀ
70 key <AE04> { [ 0x1000f24, 0x1000f2d, 0x1000f83, 0x1000f79 ] }; # ༤ ༭ ྃ ཹ
71 key <AE05> { [ 0x1000f25, 0x1000f2e, 0x1000f37, 0x1000f81 ] }; # ༥ ༮ ༷ ཱྀ
72 key <AE06> { [ 0x1000f26, 0x1000f2f, 0x1000f35, 0x1000f09 ] }; # ༦ ༯ ༵ ༉
73 key <AE07> { [ 0x1000f27, 0x1000f30, 0x1000f7f, 0x1000f0a ] }; # ༧ ༰ ཿ ༊
74 key <AE08> { [ 0x1000f28, 0x1000f31, 0x1000f14, 0x1000f0f ] }; # ༨ ༱ ༔ ༏
75 key <AE09> { [ 0x1000f29, 0x1000f32, 0x1000f11, 0x1000f10 ] }; # ༩ ༲ ༑ ༐
76 key <AE10> { [ 0x1000f20, 0x1000f33, 0x1000f08, 0x1000f12 ] }; # ༠ ༳ ༈ ༒
77 key <AE11> { [ 0x1000f67, 0x1000f3c, 0x1000fb7, 0x1000f0c ] }; # ཧ ༼ ྷ ༌
78 key <AE12> { [ 0x1000f5d, 0x1000f3d, 0x1000fba, 0x1000f13 ] }; # ཝ ༽ ྺ ༓
80 key <AD01> { [ 0x1000f45, 0x1000f15, 0x1000f95, 0x1000f89 ] }; # ཅ ༕ ྕ ྉ
81 key <AD02> { [ 0x1000f46, 0x1000f16, 0x1000f96, 0x1000f88 ] }; # ཆ ༖ ྖ ྈ
82 key <AD03> { [ 0x1000f7a, 0x1000f17, 0x1000f7b, 0x1000fbe ] }; # ེ ༗ ཻ ྾
83 key <AD04> { [ 0x1000f62, 0x1000fbc, 0x1000fb2, 0x1000f6a ] }; # ར ྼ ྲ ཪ
84 key <AD05> { [ 0x1000f4f, 0x1000f4a, 0x1000f9f, 0x1000f9a ] }; # ཏ ཊ ྟ ྚ
85 key <AD06> { [ 0x1000f61, 0x1000fbb, 0x1000fb1, 0x1000fbf ] }; # ཡ ྻ ྱ ྿
86 key <AD07> { [ 0x1000f74, 0x1000f18, 0x1000fad, 0x1000f75 ] }; # ུ ༘ ྭ ཱུ
87 key <AD08> { [ 0x1000f72, 0x1000f19, 0x1000f80, 0x1000f73 ] }; # ི ༙ ྀ ཱི
88 key <AD09> { [ 0x1000f7c, 0x1000f1a, 0x1000f7d, 0x1000fc0 ] }; # ོ ༚ ཽ ࿀
89 key <AD10> { [ 0x1000f55, 0x1000f1b, 0x1000fa5, 0x1000fc1 ] }; # ཕ ༛ ྥ ࿁
90 key <AD11> { [ 0x1000f59, 0x1000f1c, 0x1000fa9, 0x1000fc2 ] }; # ཙ ༜ ྩ ࿂
91 key <AD12> { [ 0x1000f5a, 0x1000f1d, 0x1000faa, 0x1000fc3 ] }; # ཚ ༝ ྪ ࿃
92 key <BKSL> { [ 0x1000f5b, 0x1000f1e, 0x1000fab, 0x1000f5c ] }; # ཛ ༞ ྫ ཛྷ
94 key <AC01> { [ 0x1000f60, 0x1000f71, 0x1000fb0, 0x1000fc4 ] }; # འ ཱ ྰ ࿄
95 key <AC02> { [ 0x1000f66, 0x1000f1f, 0x1000fb6, 0x1000fc5 ] }; # ས ༟ ྶ ࿅
96 key <AC03> { [ 0x1000f51, 0x1000f4c, 0x1000fa1, 0x1000f9c ] }; # ད ཌ ྡ ྜ
97 key <AC04> { [ 0x1000f56, 0x1000f3e, 0x1000fa6, 0x1000f57 ] }; # བ ༾ ྦ བྷ
98 key <AC05> { [ 0x1000f44, 0x1000f3f, 0x1000f94, 0x1000fc6 ] }; # ང ༿ ྔ ࿆
99 key <AC06> { [ 0x1000f58, 0x1000fcf, 0x1000fa8, 0x1000fc7 ] }; # མ ࿏ ྨ ࿇
100 key <AC07> { [ 0x1000f0b, 0x1000f02, 0x1000f84, 0x1000fc8 ] }; # ་ ༂ ྄ ࿈
101 key <AC08> { [ 0x1000f42, 0x1000f03, 0x1000f92, 0x1000f43 ] }; # ག ༃ ྒ གྷ
102 key <AC09> { [ 0x1000f63, 0x1000f06, 0x1000fb3, 0x1000fc9 ] }; # ལ ༆ ླ ࿉
103 key <AC10> { [ 0x1000f5e, 0x1000f07, 0x1000fae, 0x1000fca ] }; # ཞ ༇ ྮ ࿊
104 key <AC11> { [ 0x1000f0d, 0x1000f38, 0x1000f0e, 0x1000fcb ] }; # ། ༸ ༎ ࿋
106 key <AB01> { [ 0x1000f5f, 0x1000f34, 0x1000faf, 0x1000fcc ] }; # ཟ ༴ ྯ ࿌
107 key <AB02> { [ 0x1000f64, 0x1000f65, 0x1000fb4, 0x1000fb5 ] }; # ཤ ཥ ྴ ྵ
108 key <AB03> { [ 0x1000f40, 0x1000f69, 0x1000f90, 0x1000fb9 ] }; # ཀ ཀྵ ྐ ྐྵ
109 key <AB04> { [ 0x1000f41, 0x1000f87, 0x1000f91, 0x1000f36 ] }; # ཁ ྇ ྑ ༶
110 key <AB05> { [ 0x1000f54, 0x1000f86, 0x1000fa4, 0x1000f82 ] }; # པ ྆ ྤ ྂ
111 key <AB06> { [ 0x1000f53, 0x1000f4e, 0x1000fa3, 0x1000f9e ] }; # ན ཎ ྣ ྞ
112 key <AB07> { [ ISO_Level3_Latch, ISO_Level3_Latch, 0x1000f85, 0x1000f52 ] }; # -བཏགས་ ྅ དྷ
113 key <AB08> { [ 0x1000f50, 0x1000f4b, 0x1000fa0, 0x1000f9b ] }; # ཐ ཋ ྠ ྛ
114 key <AB09> { [ 0x1000f47, 0x1000f3a, 0x1000f97, 0x1000f8b ] }; # ཇ ༺ ྗ ྋ
115 key <AB10> { [ 0x1000f49, 0x1000f3b, 0x1000f99, 0x1000f8a ] }; # ཉ ༻ ྙ ྊ
119 // Tibetan Standard Keyboard with ASCII numerals
121 // Users may prefer that the numeral keys enter ASCII numerals instead of
122 // Tibetan numerals, since the latter are not in modern use in Tibet.
123 // This is especially an issue for laptop users who do not have a numeric
124 // keypad by which to access the ASCII numerals, and who need to type
125 // numbers to be interpreted by applications.
127 // In this mapping, the Shift-modified numeral keys generate Tibetan
128 // numerals, since it was unclear to me that the standard Latin punctuation
129 // keys would be any use without Latin letters. (One can imagine wanting to
130 // type an email address using the @ sign, but as of present non-ASCII
131 // email addresses are not possible.) This mapping may change in the future
132 // if a clearly better use for the shifted numerals is pointed out by users.
134 partial alphanumeric_keys
135 xkb_symbols "tib_asciinum" {
138 name[Group1]= "Tibetan (with ASCII numerals)";
140 key <AE01> { [ 1, 0x1000f21, 0x1000f04, 0x1000f76 ] }; # 1 ༡ ༄ ྲྀ
141 key <AE02> { [ 2, 0x1000f22, 0x1000f05, 0x1000f77 ] }; # 2 ༢ ༅ ཷ
142 key <AE03> { [ 3, 0x1000f23, 0x1000f7e, 0x1000f78 ] }; # 3 ༣ ཾ ླྀ
143 key <AE04> { [ 4, 0x1000f24, 0x1000f83, 0x1000f79 ] }; # 4 ༤ ྃ ཹ
144 key <AE05> { [ 5, 0x1000f25, 0x1000f37, 0x1000f81 ] }; # 5 ༥ ༷ ཱྀ
145 key <AE06> { [ 6, 0x1000f26, 0x1000f35, 0x1000f09 ] }; # 6 ༦ ༵ ༉
146 key <AE07> { [ 7, 0x1000f27, 0x1000f7f, 0x1000f0a ] }; # 7 ༧ ཿ ༊
147 key <AE08> { [ 8, 0x1000f28, 0x1000f14, 0x1000f0f ] }; # 8 ༨ ༔ ༏
148 key <AE09> { [ 9, 0x1000f29, 0x1000f11, 0x1000f10 ] }; # 9 ༩ ༑ ༐
149 key <AE10> { [ 0, 0x1000f20, 0x1000f08, 0x1000f12 ] }; # 0 ༠ ༈ ༒
152 // Uyghur Standard Keyboard map for XKB/X.org
154 // xkb version originally created by
155 // Abdusalam Abdurahman <Abdusalam.Abdurahman@gmail.com>
156 // slightly corrected according to feedback and submitted by
157 // Ekrem Tomur <ekrem.tomur@gmail.com>
159 partial alphanumeric_keys
162 name[Group1]= "Uyghur";
164 key <TLDE> { [ grave, asciitilde ] };
166 key <AE01> { [ 1, exclam ] }; // 1 !
167 key <AE02> { [ 2, at ] }; // 2 @
168 key <AE03> { [ 3, numbersign ] }; // 3 #
169 key <AE04> { [ 4, dollar ] }; // 4 $
170 key <AE05> { [ 5, percent ] }; // 5 %
171 key <AE06> { [ 6, asciicircum ] }; // 6 ^
172 key <AE07> { [ 7, ampersand ] }; // 7 &
173 key <AE08> { [ 8, asterisk ] }; // 8 *
174 key <AE09> { [ 9, parenright ] }; // 9 )
175 key <AE10> { [ 0, parenleft ] }; // 0 (
176 key <AE11> { [ minus, 0x1002014 ] }; // - —
177 key <AE12> { [ equal, plus ] }; // = +
179 key <AD01> { [ 0x1000686, VoidSymbol ] }; // چ
180 key <AD02> { [ 0x10006cb, VoidSymbol ] }; // ۋ
181 key <AD03> { [ 0x10006d0, VoidSymbol ] }; // ې
182 key <AD04> { [ 0x1000631, VoidSymbol ] }; // ر
183 key <AD05> { [ 0x100062a, VoidSymbol ] }; // ت
184 key <AD06> { [ 0x100064a, VoidSymbol ] }; // ي
185 key <AD07> { [ 0x10006c7, VoidSymbol ] }; // ۇ
186 key <AD08> { [ 0x10006ad, VoidSymbol ] }; // ڭ
187 key <AD09> { [ 0x1000648, VoidSymbol ] }; // و
188 key <AD10> { [ 0x100067e, VoidSymbol ] }; // پ
189 key <AD11> { [ bracketright, guillemotright ] }; // ] »
190 key <AD12> { [ bracketleft, guillemotleft ] }; // [ «
192 key <AC01> { [ 0x10006be, VoidSymbol ] }; // ھ
193 key <AC02> { [ 0x1000633, VoidSymbol ] }; // س
194 key <AC03> { [ 0x100062f, 0x1000698 ] }; // د ژ
195 key <AC04> { [ 0x1000627, 0x1000641 ] }; // ا ف
196 key <AC05> { [ 0x10006d5, 0x10006af ] }; // ە گ
197 key <AC06> { [ 0x1000649, 0x100062e ] }; // ى خ
198 key <AC07> { [ 0x1000642, 0x100062c ] }; // ق ج
199 key <AC08> { [ 0x1000643, 0x10006c6 ] }; // ك ۆ
200 key <AC09> { [ 0x1000644, VoidSymbol ] }; // ل
201 key <AC10> { [ Arabic_semicolon, colon ] }; // ؛ :
202 key <AC11> { [ apostrophe, quotedbl ] }; // ' "
204 key <AB01> { [ 0x1000632, VoidSymbol ] }; // ز
205 key <AB02> { [ 0x1000634, VoidSymbol ] }; // ش
206 key <AB03> { [ 0x100063a, VoidSymbol ] }; // غ
207 key <AB04> { [ 0x10006c8, VoidSymbol ] }; // ۈ
208 key <AB05> { [ 0x1000628, VoidSymbol ] }; // ب
209 key <AB06> { [ 0x1000646, VoidSymbol ] }; // ن
210 key <AB07> { [ 0x1000645, VoidSymbol ] }; // م
211 key <AB08> { [ Arabic_comma, 0x100203a ] }; // ، ›
212 key <AB09> { [ period, 0x1002039 ] }; // . ‹
213 key <AB10> { [ 0x1000626, Arabic_question_mark ] }; // ئ ؟
215 key <BKSL> { [ backslash, bar ] }; // \ |