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