fix for olpc
[xorg/xkeyboard-config] / symbols / pk
1 // $XKeyboardConfig$
2
3 // Urdu keymap
4 // Developed by:
5 // Zaeem Arshad <zaeem@linux.net.pk>
6 // Last update: 2004-03-12
7 //Notice:
8 //Alt key combinations are yet to be put in. The unavailable keys are those which do not have a corresponding //glyph in unicode.
9
10 partial default alphanumeric_keys
11 xkb_symbols "urd" {
12    name[Group1]= "Pakistan";
13
14    // Keys '~' - '='
15    //  All keys checked and complete
16    key <TLDE> {  [ 0x10006d4 ] };
17    key <AE01> {  [ 0x1000661, exclam ] };
18    key <AE02> {  [ 0x1000662, 0x1000040 ] };
19    key <AE03> {  [ 0x1000663, 0x1000023 ] };
20    key <AE04> {  [ 0x10006f4, 0x1000024 ] };
21    key <AE05> {  [ 0x10006f5, 0x1000025 ] };
22    key <AE06> {  [ 0x1000666, 0x100005e ] };
23    key <AE07> {  [ 0x1000667, 0x1000026 ] };
24    key <AE08> {  [ 0x1000668, asterisk ] };
25    key <AE09> {  [ 0x1000669, parenleft ] };
26    key <AE10> {  [ 0x1000660, parenright ] };
27    key <AE11> {  [ minus, 0x100005f ] };
28    key <AE12> {  [ equal, plus ] };
29
30    //Keys 'Q' - ']'
31    //Checked but incomplete with three shift sequences not available
32    key <AD01> {  [  Arabic_qaf, 0x10006e1 ] };
33    key <AD02> {  [  0x1000648, 0x100fdf9  ] }; //shift key not available
34    key <AD03> {  [  0x1000639, 0x100fdf7  ] }; //shift key not available
35    key <AD04> {  [  0x1000631, 0x1000691  ] };
36    key <AD05> {  [  Arabic_teh, 0x1000679  ] };
37    key <AD06> {  [  0x10006d2, 0x100fe7c  ] };
38    key <AD07> {  [  0x1000621,  0x100064c ] };
39    key <AD08> {  [  0x10006cc, 0x1000656  ] }; //shift key not available
40    key <AD09> {  [  0x1000647, 0x1000629  ] };
41    key <AD10> {  [  0x100067e, 0x100064f  ] };
42    key <AD12> {  [  bracketright, braceright  ] };
43    key <AD11> {  [  bracketleft, braceleft  ] };
44
45
46    // Keys 'A' - '''
47    // Checked but incomplete with two shift sequences not available
48    key <AC01> { [  0x1000627, 0x1000622  ] };
49    key <AC02> { [  Arabic_seen, 0x1000635  ] };
50    key <AC03> { [  0x100062f, 0x1000688  ] };
51    key <AC04> { [  0x1000641, 0x1000670  ] };
52    key <AC05> { [  0x10006af, 0x100063a  ] };
53    key <AC06> { [  0x10006be, 0x100062d ] };
54    key <AC07> { [  0x100062c, 0x1000636  ] };
55    key <AC08> { [  0x10006a9,  0x100062e  ] };
56    key <AC09> { [  0x1000644, 0x1000612 ] };//shift key not available
57    key <AC10> { [  0x100061b, 0x100003a  ] };
58    key <AC11> { [  0x1000027  ] }; // shift key not available
59
60
61    // These two are fine
62    key <BKSL> { [  backslash, bar  ] };
63    key <SPCE> { [  space  ] };
64
65
66    // Keys: 'Z' - '/'
67    //Keys checked with two shift sequences not available
68    key <AB01> { [  Arabic_zain, Arabic_thal  ] };
69    key <AB02> {  [  0x1000634, 0x1000698  ] };
70    key <AB03> {  [ 0x1000686 , 0x100062b  ] };
71    key <AB04> {  [  0x1000637, 0x1000638  ] };
72    key <AB05> {  [  0x1000628, 0x1000628  ] };//shift key unavailable
73    key <AB06> {  [  0x1000646, 0x10006ba  ] };
74    key <AB07> {  [  0x1000645, 0x1000645  ] };//shift key not available
75    key <AB08> {  [  0x100060c, 0x100064e  ] };
76    key <AB09> {  [  0x10006d4, 0x1000650  ] };
77    key <AB10> {  [  slash, Arabic_question_mark  ] };
78
79    //End alphanumeric key mappings
80
81    //Begin modifier mappings
82
83    modifier_map Shift {Shift_L, Shift_R };
84    modifier_map Lock {Caps_Lock };
85 };
86
87 partial default alphanumeric_keys
88 xkb_symbols "ara" {
89    name[Group1]= "Arabic";
90
91 // NOTES:
92 //
93 // there is also combined shadda diacritis in AltGr position of simple
94 // diacritics fatha, fathatan, damma, dammatan, kasra and kasratan
95 // should a third state be added to Group2 ?
96 //
97 // How is this different from ara(basic)? --bernie
98
99    key <TLDE> {  [     0x100064d  ,       0x100064b      ]     };
100    key <AE01> {  [     0x10006F1  ,       0x1000021      ]     };
101    key <AE02> {  [     0x10006F2  ,       0x1000003      ]     };
102    key <AE03> {  [     0x10006F3  ,       0x100002f      ]     };
103    key <AE04> {  [     0x10006F4  ,       0x1000626      ]     };
104    key <AE05> {  [     0x10006F5  ,       0x1000003      ]     };
105    key <AE06> {  [     0x10006F6  ,       0x10006d6      ]     };
106    key <AE07> {  [     0x10006F7  ,       0x1000654      ]     };
107    key <AE08> {  [     0x10006F8  ,       0x100064c      ]     };
108    key <AE09> {  [     0x10006F9  ,       0x1000029      ]     };
109    key <AE10> {  [     0x10006F0  ,       0x1000028      ]     };
110    key <AE11> {  [     0x1000623  ,       0x1000651      ]     };
111    key <AE12> {  [     0x1000624  ,       0x1000622      ]     };
112    key <AD01> {  [     0x1000642  ,       0x1000652      ]     };
113    key <AD02> {  [     0x1000648  ,       0x10000a3      ]     };
114    key <AD03> {  [     0x1000639  ,       0x10000a5      ]     };
115    key <AD04> {  [     0x1000631  ,       0x1000691      ]     };
116    key <AD05> {  [     0x100062a  ,       0x1000679      ]     };
117    key <AD06> {  [     0x10006d2  ,       0x1000601      ]     };
118    key <AD07> {  [     0x1000621  ,       0x100060c      ]     };
119    key <AD08> {  [     0x10006cc  ,       0x1000670      ]     };
120    key <AD09> {  [     0x10006c1  ,       0x10006c3      ]     };
121    key <AD10> {  [     0x100067e  ,       0x100064f      ]     };
122    key <AD11> {  [     0x100005d  ,       0x1000670      ]     };
123    key <AD12> {  [     0x100005b  ,       0x1000670      ]     };
124
125    key <AC01> {  [     0x1000627  ,       0x1000653      ]     };
126    key <AC02> {  [     0x1000633  ,       0x1000635      ]     };
127    key <AC03> {  [     0x100062f  ,       0x1000688      ]     };
128    key <AC04> {  [     0x1000641  ,       0x1000003      ]     };
129    key <AC05> {  [     0x10006af  ,       0x100063a      ]     };
130    key <AC06> {  [     0x10006be  ,       0x100062d      ]     };
131    key <AC07> {  [     0x100062c  ,       0x1000636      ]     };
132    key <AC08> {  [     0x10006a9  ,       0x100062e      ]     };
133    key <AC09> {  [     0x1000644  ,       0x1000613      ]     };
134    key <AC10> {  [     0x100061b  ,       0x100003a      ]     };
135    key <AC11> {  [     0x1000670  ,       0x1000022       ]     };
136    key <BKSL> {  [     0x100060e ,        0x1000614      ]     };
137
138    key <LSGT> {  [            bar ,       brokenbar      ]     };
139    key <AB01> {  [     0x1000632  ,       0x1000630      ]     };
140    key <AB02> {  [     0x1000634  ,       0x1000698      ]     };
141    key <AB03> {  [     0x1000686  ,       0x100062b      ]     };
142    key <AB04> {  [     0x1000637  ,       0x1000638      ]     };
143    key <AB05> {  [     0x1000628  ,       0x1000612      ]     };
144    key <AB06> {  [     0x1000646  ,       0x10006ba      ]     };
145    key <AB07> {  [     0x1000645  ,       0x1000003      ]     };
146    key <AB08> {  [     0x100060c  ,       0x1000650      ]     };
147    key <AB09> {  [     0x10006d4  ,       0x100064e      ]     };
148    key <AB10> {  [     0x1000003  ,       0x100061f      ]     };
149
150    // End alphanumeric section
151 };
152
153 partial alphanumeric_keys
154 xkb_symbols "olpc" {
155
156 // Contact: Walter Bender <walter@laptop.org>
157
158    include "pk(ara)"
159
160    name[Group1]= "Pakistan";
161
162    // Keys '~' - '='
163    key <TLDE> {  [ 0x1000654, 0x100064B ] };
164    key <AE01> {  [ 0x10006F1, 0x1000603 ] };
165    key <AE02> {  [ 0x10006F2, 0x1000602 ] };
166    key <AE03> {  [ 0x10006F3, 0x1000601 ] };
167    key <AE04> {  [ 0x10006F4, 0x1000600 ] };
168    key <AE05> {  [ 0x10006F5, 0x100060F ] };
169    key <AE06> {  [ 0x10006F6, 0x100060E ] };
170    key <AE07> {  [ 0x10006F7, 0x1000614 ] };
171    key <AE08> {  [ 0x10006F8, 0x1000612 ] };
172    key <AE09> {  [ 0x10006F9, 0x1000611 ] };
173    key <AE10> {  [ 0x10006F0, 0x1000613 ] };
174    key <AE11> {  [ minus,     0x1000610 ] };
175    key <AE12> {  [ equal, plus ] };
176
177    //Keys 'Q' - ']'
178    key <AD01> {  [ 0x1000642, 0x1000652 ] };
179    key <AD02> {  [ 0x1000648, 0x1000651 ] };
180    key <AD03> {  [ 0x1000639, 0x1000670 ] };
181    key <AD04> {  [ 0x1000631, 0x1000691 ] };
182    key <AD05> {  [ 0x100062A, 0x1000679 ] };
183    key <AD06> {  [ 0x10006D2, 0x100064E ] };
184    key <AD07> {  [ 0x1000621, 0x1000626 ] };
185    key <AD08> {  [ 0x10006CC, 0x1000650 ] };
186    key <AD09> {  [ 0x10006C1, 0x10006C3 ] };
187    key <AD10> {  [ 0x100067E, 0x100064F ] };
188    key <AD12> {  [ 0x100FDFD, 0x100FDFA ] };
189    key <AD11> {  [ 0x100FDF2, 0x100FDFB ] };
190
191    // Keys 'A' - '''
192    key <AC01> {  [ 0x1000627, 0x1000622 ] };
193    key <AC02> {  [ 0x1000633, 0x1000635 ] };
194    key <AC03> {  [ 0x100062F, 0x1000688 ] };
195    key <AC04> {  [ 0x1000641 ] }; //shift key not available
196    key <AC05> {  [ 0x10006AF, 0x100063A ] };
197    key <AC06> {  [ 0x100062D, 0x10006BE ] };
198    key <AC07> {  [ 0x100062C, 0x1000636 ] };
199    key <AC08> {  [ 0x10006A9, 0x100062E ] };
200    key <AC09> {  [ 0x1000644, 0x1000656 ] };
201    key <AC10> {  [ 0x100061B, colon ] };
202    key <AC11> {  [ quote, doublequote  ] };
203
204    key <BKSL> { [  backslash, bar  ] };
205    key <SPCE> { [  space  ] };
206
207    // Keys: 'Z' - '/'
208    key <AB01> {  [ 0x1000632, 0x1000622 ] };
209    key <AB02> {  [ 0x1000634, 0x1000635 ] };
210    key <AB03> {  [ 0x1000686, 0x1000688 ] };
211    key <AB04> {  [ 0x1000637 ] }; //shift key unavailable
212    key <AB05> {  [ 0x1000628, 0x100063A ] };
213    key <AB06> {  [ 0x1000646, 0x10006BE ] };
214    key <AB07> {  [ 0x1000645, 0x1000636 ] };
215    key <AB08> {  [ 0x100060C, 0x100062E ] };
216    key <AB09> {  [ 0x10006D4, 0x1000656 ] };
217    key <AB10> {  [ slash,     0x100061F ] };
218
219    //language key
220    key <I219> {  [ISO_Next_Group  ,  ISO_Prev_Group      ]     };
221 };