support Uyghur Arabic keyboard layout
[xorg/xkeyboard-config] / symbols / ch
1 // $XKeyboardConfig$
2 // $Xorg: ch,v 1.3 2000/08/17 19:54:42 cpqbld Exp $
3 // $XFree86: xc/programs/xkbcomp/symbols/ch,v 3.6 2002/11/25 14:05:06 eich Exp $
4
5 partial default alphanumeric_keys 
6 xkb_symbols "basic" {
7
8     include "latin"
9
10     // Alphanumeric section
11     name[Group1]= "Switzerland";
12     key <TLDE> { [    section,     degree                           ] };
13     key <AE01> { [          1,       plus,          bar, exclamdown ] };
14     key <AE02> { [          2,   quotedbl,           at, oneeighth  ] };
15     key <AE03> { [          3,   asterisk,   numbersign             ] };
16     key <AE04> { [          4,   ccedilla                           ] };
17     key <AE05> { [          5,    percent                           ] };
18     key <AE06> { [          6,  ampersand,      notsign             ] };
19     key <AE07> { [          7,      slash,          bar             ] };
20     key <AE08> { [          8,  parenleft,         cent             ] };
21     key <AE09> { [          9, parenright                           ] };
22     key <AE10> { [          0,      equal                           ] };
23     key <AE11> { [ apostrophe,   question,   dead_acute             ] };
24     key <AE12> { [ dead_circumflex, dead_grave, dead_tilde          ] };
25
26     key <AD03> { [          e,          E,     EuroSign             ] };
27     key <AD06> { [          z,          Z                           ] };
28     key <AD11> { [ udiaeresis,     egrave,  bracketleft             ] };
29     key <AD12> { [ dead_diaeresis, exclam, bracketright             ] };
30
31     key <AC10> { [ odiaeresis,     eacute                           ] };
32     key <AC11> { [ adiaeresis,     agrave,    braceleft             ] };
33     key <BKSL> { [     dollar,   sterling,   braceright             ] };
34
35     key <LSGT> { [       less,    greater,    backslash, brokenbar  ] };
36     key <AB01> { [          y,          Y                           ] };
37     key <AB08> { [      comma,  semicolon                           ] };
38     key <AB09> { [     period,      colon                           ] };
39     key <AB10> { [      minus, underscore                           ] };
40
41     include "level3(ralt_switch)"
42 };
43
44 partial alphanumeric_keys 
45 xkb_symbols "legacy" {
46     include "ch(basic)"
47
48     name[Group1]= "Switzerland - Legacy";
49     key <AE07> { [          7,      slash,    brokenbar             ] };
50 };
51
52 partial alphanumeric_keys 
53 xkb_symbols "de" {
54     include "ch(basic)"
55 };
56
57 partial alphanumeric_keys 
58 xkb_symbols "de_Sundeadkeys" {
59     // modify the basic Swiss German layout to use Sun dead keys
60     include "ch(basic)"
61     key <AE11> { [      apostrophe,    question,  dead_acute   ] };
62     key <AE12> { [    dead_circumflex, dead_grave,  dead_tilde   ] };
63     key <AD12> { [ dead_diaeresis,      exclam, bracketright   ] };
64 };
65
66 partial alphanumeric_keys 
67 xkb_symbols "de_sundeadkeys" {
68     include "ch(de_Sundeadkeys)"
69     name[Group1]= "Switzerland - German, Sun dead keys";
70 };
71
72 partial alphanumeric_keys 
73 xkb_symbols "de_nodeadkeys" {
74     // modify the basic Swiss German layout not to have any dead keys
75     include "ch(basic)"
76     name[Group1]= "Switzerland - German, eliminate dead keys";
77     key <AE11> { [  apostrophe, question,        acute  ] };
78     key <AE12> { [ asciicircum,    grave,   asciitilde  ] };
79     key <AD12> { [   diaeresis,   exclam, bracketright  ] };
80 };
81
82 partial alphanumeric_keys 
83 xkb_symbols "fr" {
84
85     // Describes the differences between a very simple US/ASCII
86     // keyboard and a very simple Swiss/French keybaord
87
88     include "ch(basic)"
89     name[Group1]= "Switzerland - French";
90
91     override key <AD11> {
92         [ egrave,       udiaeresis,     bracketleft     ]
93     };
94     override key <AC10> {
95         [ eacute,       odiaeresis      ]
96     };
97     override key <AC11> {
98         [ agrave,       adiaeresis,     braceleft       ]
99     };
100 };
101
102 partial alphanumeric_keys
103 xkb_symbols "fr_Sundeadkeys" {
104     // modify the basic Swiss French layout to use Sun dead keys
105     include "ch(fr)"
106     key <AE11> { [      apostrophe,    question,  dead_acute   ] };
107     key <AE12> { [    dead_circumflex, dead_grave,  dead_tilde   ] };
108     key <AD12> { [ dead_diaeresis,      exclam, bracketright   ] };
109 };
110
111 partial alphanumeric_keys
112 xkb_symbols "fr_sundeadkeys" {
113     include "ch(fr_Sundeadkeys)"
114     name[Group1]= "Switzerland - French, Sun dead keys";
115 };
116
117 partial alphanumeric_keys
118 xkb_symbols "fr_nodeadkeys" {
119     // modify the basic Swiss French layout not to have any dead keys
120     include "ch(fr)"
121     name[Group1]= "Switzerland - French, eliminate dead keys";
122     key <AE11> { [  apostrophe, question,        acute  ] };
123     key <AE12> { [ asciicircum,    grave,   asciitilde  ] };
124     key <AD12> { [   diaeresis,   exclam, bracketright  ] };
125 };
126
127 // Copied from macintosh_vndr/ch
128 // 03.01.2003
129 // Andreas Tobler <a.tobler@schweiz.ch>
130 // modified for Swiss German Apple Extended Keyboard II
131
132 partial alphanumeric_keys
133 xkb_symbols "de_mac" {
134     
135     name[Group1]= "Switzerland - German (Macintosh)";
136
137     // Alphanumeric section
138
139     key <AE01> { [      1,      plus,   plusminus,      infinity                ]       };
140     key <AE02> { [      2,      quotedbl, leftdoublequotemark, rightdoublequotemark     ]       };
141     key <AE03> { [      3,      asterisk,       numbersign,     leftcaret       ]       };
142                                         // not displayed here
143     key <AE04> { [      4,      ccedilla,       Ccedilla,       slash           ]       };
144     key <AE05> { [      5,      percent,        bracketleft                     ]       };
145     key <AE06> { [      6,      ampersand,      bracketright                    ]       };
146     key <AE07> { [      7,      slash,  bar,            backslash               ]       };
147     key <AE08> { [      8,      parenleft,      braceleft,      Ograve          ]       };
148     key <AE09> { [      9,      parenright,     braceright,     Ocircumflex     ]       };
149     key <AE10> { [      0,      equal,  notequal,       Uacute                  ]       };
150     key <AE11> { [      apostrophe,     question,       questiondown,   NoSymbol                ]       };
151     key <AE12> { [      dead_circumflex,dead_grave,     dead_acute,     asciicircum             ]       };
152     key <AD01> { [      q,      Q,      oe,             OE                      ]       };
153     key <AD02> { [      w,      W,      Greek_SIGMA,    Aacute                  ]       };
154     key <AD03> { [      e,      E,      EuroSign,       Ediaeresis              ]       };
155     key <AD04> { [      r,      R,      registered,     Egrave                  ]       };
156     key <AD05> { [      t,      T,      dagger,         Icircumflex             ]       }; 
157     key <AD06> { [      z,      Z,      Greek_OMEGA,    Iacute                  ]       };
158     key <AD07> { [      u,      U,      degree,         Ugrave                  ]       };
159     key <AD08> { [      i,      I,      exclamdown,     idotless                ]       };
160     key <AD09> { [      o,      O,      oslash,         Ooblique                ]       };
161     key <AD10> { [      p,      P,      Greek_pi,       Greek_PI                ]       };
162     key <AD11> { [      udiaeresis,     egrave,         section,        ydiaeresis              ]       };
163     key <AD12> { [      dead_diaeresis, exclam,         grave,          apostrophe              ]       };
164     key <AC01> { [      a,      A,      aring,          Aring                   ]       };
165     key <AC02> { [      s,      S,      ssharp,         NoSymbol                ]       }; 
166                                         // ligature fl
167     key <AC03> { [      d,      D,      Greek_sigma,    NoSymbol                ]       };
168                         // partialderivative is not available here att
169     key <AC04> { [      f,      F,      function,       doubledagger            ]       };
170     key <AC05> { [      g,      G,      at,             comma                   ]       };
171     key <AC06> { [      h,      H,      ordfeminine,    periodcentered          ]       };
172     key <AC07> { [      j,      J,      masculine,      eth                     ]       };
173     key <AC08> { [      k,      K,      Greek_DELTA,    macron                  ]       };
174     key <AC09> { [      l,      L,      notsign,        caret                   ]       };
175     key <AC10> { [      odiaeresis,     eacute,         cent,           breve   ]       };
176     key <AC11> { [      adiaeresis,     agrave,         ae,             AE      ]       };
177     key <AB01> { [      y,      Y,      yen,            Ydiaeresis              ]       };
178     key <AB02> { [      x,      X,      similarequal,   trademark               ]       };
179     key <AB03> { [      c,      C,      copyright,      NoSymbol                ]       };
180     key <AB04> { [      v,      V,      radical,        diamond                 ]       };
181     key <AB05> { [      b,      B,      integral,       NoSymbol                ]       };  
182     key <AB06> { [      n,      N,      dead_tilde,     enopencircbullet        ]       };
183                                         // to be fixed att
184     key <AB07> { [      m,      M,      mu,             dead_abovering          ]       };
185                                         // not sure att
186     key <AB08> { [      comma,  semicolon,      guillemotleft,  guillemotright  ]       };
187     key <AB09> { [      period, colon,  ellipsis,       division                ]       };
188     key <AB10> { [      minus,  underscore,     hyphen,         emdash          ]       };
189     key <TLDE> { [      section,        degree,         NoSymbol,       NoSymbol                ]       };
190                         // ligature fi  // per mille
191     key <SPCE> { [      space,  nobreakspace,   nobreakspace            ]       };
192     key <LSGT> { [      less,   greater,        lessthanequal,  greaterthanequal        ]       };
193     key <BKSL> { [      dollar, sterling,       paragraph,      enfilledcircbullet      ]       };
194
195     include "kpdl(comma)"
196     include "level3(ralt_switch)"
197 };
198
199 partial alphanumeric_keys 
200 xkb_symbols "fr_mac" {
201
202     // Describes the differences between a very simple US/ASCII
203     // keyboard and a very simple Swiss/French keybaord
204
205     include "ch(de_mac)"
206     name[Group1]= "Switzerland - French (Macintosh)";
207
208     override key <AD11> {
209         [ egrave,       udiaeresis,  bracketleft        ]
210     };
211     override key <AC10> {
212         [ eacute,       odiaeresis      ]
213     };
214     override key <AC11> {
215         [ agrave,       adiaeresis,   braceleft         ]
216     };
217 };
218