2 // Iranian keyboard layout,
3 // based on National Iranian Keyboard Standard (ISIRI 2901:1994),
6 // Copyright (C) 2004,2005 Sharif FarsiWeb, Inc.
8 // Author: Behnam Esfahbod <behnam@esfahbod.info>
14 partial default alphanumeric_keys
19 key <AE01> { [ 0x10006f1, exclam, quoteleft ] };
20 key <AE02> { [ 0x10006f2, 0x100066c, at ] };
21 key <AE03> { [ 0x10006f3, 0x100066b, numbersign ] };
22 key <AE04> { [ 0x10006f4, 0x100fdfc, dollar ] };
23 key <AE05> { [ 0x10006f5, 0x100066a, percent ] };
24 key <AE06> { [ 0x10006f6, multiply, asciicircum ] };
25 key <AE07> { [ 0x10006f7, Arabic_comma, ampersand ] };
26 key <AE08> { [ 0x10006f8, asterisk, enfilledcircbullet ] };
27 key <AE09> { [ 0x10006f9, parenright, 0x100200e ] };
28 key <AE10> { [ 0x10006f0, parenleft, 0x100200f ] };
30 // Other 3-Level symbols
31 key <TLDE> { [ 0x100200d, division, asciitilde ] };
32 key <AE11> { [ minus, Arabic_tatweel, underscore ] };
33 key <AE12> { [ equal, plus, 0x1002212 ] };
34 key <BKSL> { [ backslash, bar, 0x1002010 ] };
35 key <SPCE> { [ space, 0x100200c, nobreakspace ] };
37 key <AD01> { [ Arabic_dad, Arabic_sukun, degree ] };
38 key <AD02> { [ Arabic_sad, Arabic_dammatan, VoidSymbol ] };
39 key <AD03> { [ Arabic_theh, Arabic_kasratan, 0x13a4 ] };
40 key <AD04> { [ Arabic_qaf, Arabic_fathatan, VoidSymbol ] };
41 key <AD05> { [ Arabic_feh, Arabic_damma, VoidSymbol ] };
42 key <AD06> { [ Arabic_ghain, Arabic_kasra, VoidSymbol ] };
43 key <AD07> { [ Arabic_ain, Arabic_fatha, VoidSymbol ] };
44 key <AD08> { [ Arabic_heh, Arabic_shadda, 0x100202d ] };
45 key <AD09> { [ Arabic_khah, bracketright, 0x100202e ] };
46 key <AD10> { [ Arabic_hah, bracketleft, 0x100202c ] };
47 key <AD11> { [ Arabic_jeem, braceright, 0x100202a ] };
48 key <AD12> { [ 0x1000686, braceleft, 0x100202b ] };
50 key <AC01> { [ Arabic_sheen, Arabic_hamzaonwaw, VoidSymbol ] };
51 key <AC02> { [ Arabic_seen, Arabic_hamzaonyeh, VoidSymbol ] };
52 key <AC03> { [ 0x10006cc, Arabic_yeh, Arabic_alefmaksura ] };
53 key <AC04> { [ Arabic_beh, Arabic_hamzaunderalef, VoidSymbol ] };
54 key <AC05> { [ Arabic_lam, Arabic_hamzaonalef, VoidSymbol ] };
55 key <AC06> { [ Arabic_alef, Arabic_maddaonalef, 0x1000671 ] };
56 key <AC07> { [ Arabic_teh, Arabic_tehmarbuta, VoidSymbol ] };
57 key <AC08> { [ Arabic_noon, guillemotright, 0x100fd3e ] };
58 key <AC09> { [ Arabic_meem, guillemotleft, 0x100fd3f ] };
59 key <AC10> { [ 0x10006a9, colon, semicolon ] };
60 key <AC11> { [ 0x10006af, Arabic_semicolon, quotedbl ] };
62 key <AB01> { [ Arabic_zah, Arabic_kaf, VoidSymbol ] };
63 key <AB02> { [ Arabic_tah, 0x1000653, VoidSymbol ] };
64 key <AB03> { [ Arabic_zain, 0x1000698, VoidSymbol ] };
65 key <AB04> { [ Arabic_ra, 0x1000670, 0x1000656 ] };
66 key <AB05> { [ Arabic_thal, 0x100200c, 0x100200d ] };
67 key <AB06> { [ Arabic_dal, 0x1000654, 0x1000655 ] };
68 key <AB07> { [ 0x100067e, Arabic_hamza, ellipsis ] };
69 key <AB08> { [ Arabic_waw, greater, comma ] };
70 key <AB09> { [ period, less, apostrophe ] };
71 key <AB10> { [ slash, Arabic_question_mark, question ] };
73 include "level3(ralt_switch)"
77 partial hidden alphanumeric_keys
78 xkb_symbols "part_pro" {
80 // Persian and English (ASCII) digits
81 key <AE01> { [ 0x10006f1, exclam, quoteleft, 1 ] };
82 key <AE02> { [ 0x10006f2, 0x100066c, at, 2 ] };
83 key <AE03> { [ 0x10006f3, 0x100066b, numbersign, 3 ] };
84 key <AE04> { [ 0x10006f4, 0x100fdfc, dollar, 4 ] };
85 key <AE05> { [ 0x10006f5, 0x100066a, percent, 5 ] };
86 key <AE06> { [ 0x10006f6, multiply, asciicircum, 6 ] };
87 key <AE07> { [ 0x10006f7, Arabic_comma, ampersand, 7 ] };
88 key <AE08> { [ 0x10006f8, asterisk, enfilledcircbullet, 8 ] };
89 key <AE09> { [ 0x10006f9, parenright, 0x100200e, 9 ] };
90 key <AE10> { [ 0x10006f0, parenleft, 0x100200f, 0 ] };
93 partial hidden alphanumeric_keys
94 xkb_symbols "part_keypad" {
96 // Persian digits and Mathematical operators
97 key <KPDV> { [ division, XF86_Ungrab ] };
98 key <KPMU> { [ multiply, XF86_ClearGrab ] };
99 key <KPSU> { [ 0x1002212, XF86_Prev_VMode ] };
100 key <KPAD> { [ plus, XF86_Next_VMode ] };
102 key <KPEN> { [ KP_Enter ] };
103 key <KPEQ> { [ equal ] };
105 key <KP7> { [ KP_Home, 0x10006f7 ] };
106 key <KP8> { [ KP_Up, 0x10006f8 ] };
107 key <KP9> { [ KP_Prior, 0x10006f9 ] };
109 key <KP4> { [ KP_Left, 0x10006f4 ] };
110 key <KP5> { [ KP_Begin, 0x10006f5 ] };
111 key <KP6> { [ KP_Right, 0x10006f6 ] };
113 key <KP1> { [ KP_End, 0x10006f1 ] };
114 key <KP2> { [ KP_Down, 0x10006f2 ] };
115 key <KP3> { [ KP_Next, 0x10006f3 ] };
117 key <KP0> { [ KP_Insert, 0x10006f0 ] };
118 key <KPDL> { [ KP_Delete, 0x100066b ] };
123 partial alphanumeric_keys
126 include "ir(part_pro)"
128 name[Group1]= "Iran - Pro";
132 // Persian Keypad leyout
134 partial alphanumeric_keys
135 xkb_symbols "keypad" {
137 include "ir(part_keypad)"
139 name[Group1]= "Iran - Keypad";
143 // 4-Level leyout with Persian Keypad leyout
145 partial alphanumeric_keys
146 xkb_symbols "pro_keypad" {
148 include "ir(part_keypad)"
149 include "ir(part_pro)"
151 name[Group1]= "Iran - Pro Keypad";
155 partial alphanumeric_keys
158 name[Group1]= "Iran - Kurdish, Latin Q";
161 partial alphanumeric_keys
164 name[Group1]= "Iran - Kurdish, (F)";
167 partial alphanumeric_keys
168 xkb_symbols "ku_alt" {
170 name[Group1]= "Iran - Kurdish, Latin Alt-Q";
173 // Kurdish Soranî Bahdînî (Arabic) keyboard layout,
174 // based on the Kurdî Soranî Bahdînî keyboard from KurdITGroup
175 // which is based on National Iranian Keyboard Standard (ISIRI 2901:1994),
178 // Copyright (C) 2006 Erdal Ronahî, published under the GPL v2
180 // Author: Erdal Ronahî <erdal.ronahi@gmail.com>
182 // Kurdish Arabic-Latin Layout for Soranî
183 partial alphanumeric_keys
184 xkb_symbols "ku_ara" {
185 name[Group1]= "Iran - Kurdish, Arabic-Latin";
187 // Other 3-Level symbols
188 key <TLDE> { [ 0x100200d, division, asciitilde ] };
189 key <BKSL> { [ backslash, bar, ccedilla, Ccedilla ] };
190 key <SPCE> { [ space, 0x100200c, nobreakspace ] };
193 key <AE01> { [ 1, exclam, 0x10006f1, quoteleft ] };
194 key <AE02> { [ 2, at, 0x10006f2, at ] };
195 key <AE03> { [ 3, numbersign, 0x10006f3, 0x100066b ] };
196 key <AE04> { [ 4, dollar, 0x10006f4, 0x100fdfc ] };
197 key <AE05> { [ 5, percent, 0x10006f5, 0x100066a ] };
198 key <AE06> { [ 6, asciicircum, 0x10006f6, multiply ] };
199 key <AE07> { [ 7, ampersand, 0x10006f7, Arabic_comma ] };
200 key <AE08> { [ 8, asterisk, 0x10006f8, enfilledcircbullet ] };
201 key <AE09> { [ 9, parenright, 0x10006f9, 0x100200e ] };
202 key <AE10> { [ 0, parenleft, 0x10006f0, 0x100200f ] };
203 key <AE11> { [ minus, Arabic_tatweel, underscore ] };
204 key <AE12> { [ equal, plus, 0x1002212 ] };
206 key <AD01> { [ Arabic_qaf, X, q, Q ] };
207 key <AD02> { [ Arabic_waw, X, w, W ] };
208 key <AD03> { [ 0x10006d5, Arabic_heh, e, E ] };
209 key <AD04> { [ Arabic_ra , 0x1000695, r, R ] };
210 key <AD05> { [ Arabic_teh, Arabic_tah, t, T ] };
211 key <AD06> { [ 0x10006cc, 0x10006ce, y, Y ] };
212 key <AD07> { [ Arabic_hamzaonyeh, Arabic_hamza, u, U ] };
213 key <AD08> { [ Arabic_hah, Arabic_ain, i, I ] };
214 key <AD09> { [ 0x10006c6, Arabic_hamzaonwaw, o, O ] };
215 key <AD10> { [ 0x100067e, Arabic_theh, p, P ] };
216 key <AD11> { [ bracketright, braceright, ucircumflex, Ucircumflex ] };
217 key <AD12> { [ bracketleft, braceleft, scedilla, Scedilla ] };
219 key <AC01> { [ Arabic_alef, Arabic_maddaonalef, a, A ] };
220 key <AC02> { [ Arabic_seen, Arabic_sheen, s, S ] };
221 key <AC03> { [ Arabic_dal, Arabic_thal, d, D ] };
222 key <AC04> { [ Arabic_feh, Arabic_hamzaunderalef, f, F ] };
223 key <AC05> { [ 0x10006af, Arabic_ghain, g, G ] };
224 key <AC06> { [ Arabic_heh, 0x100200c, h, H ] };
225 key <AC07> { [ 0x1000698, Arabic_hamzaonalef, j, J ] };
226 key <AC08> { [ 0x10006a9, Arabic_kaf, k, K ] };
227 key <AC09> { [ Arabic_lam, 0x10006b5, l, L ] };
228 key <AC10> { [ Arabic_semicolon, colon, ecircumflex, Ecircumflex ] };
229 key <AC11> { [ apostrophe, quotedbl, icircumflex, Icircumflex ] };
231 key <AB01> { [ Arabic_zain, Arabic_dad, z, Z ] };
232 key <AB02> { [ Arabic_khah, Arabic_sad, x, X ] };
233 key <AB03> { [ Arabic_jeem, 0x1000686, c, C ] };
234 key <AB04> { [ 0x10006a4, Arabic_zah, v, V ] };
235 key <AB05> { [ Arabic_beh, 0x1000649, b, B ] };
236 key <AB06> { [ Arabic_noon, Arabic_tehmarbuta, n, N ] };
237 key <AB07> { [ Arabic_meem, Arabic_tatweel, m, M ] };
238 key <AB08> { [ Arabic_comma, greater, comma ] };
239 key <AB09> { [ period, less, apostrophe ] };
240 key <AB10> { [ slash, Arabic_question_mark, question ] };
242 include "level3(ralt_switch)"