KPDL in ch(de_mac), b.fd.o#6960
[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 // Macintosh layout (Swiss German)
120 //
121 // 03.01.2003
122 // Andreas Tobler <a.tobler@schweiz.ch>
123 // modified for Swiss German Apple Extended Keyboard II
124 //
125 // 2006-05-25, 2006-06-08
126 // Hanselmann Michael <xorg-at-hansmi.ch>
127 // Fixed keys, reformatted, moved to symbols/ch
128 partial alphanumeric_keys 
129 xkb_symbols "de_mac" {
130         name[Group1]= "Switzerland - German (Macintosh)";
131         // Alphanumeric section
132         key <AE01> { [  1,      plus,           plusminus,      infinity        ] };
133         key <AE02> { [  2,      quotedbl,       leftdoublequotemark,    rightdoublequotemark    ] };
134         key <AE03> { [  3,      asterisk,       numbersign,     0x01002039      ] };
135         key <AE04> { [  4,      ccedilla,       Ccedilla,       0x01002044      ] };
136         key <AE05> { [  5,      percent,        bracketleft,    0x01002039      ] };
137         key <AE06> { [  6,      ampersand,      bracketright,   0x0100203A      ] };
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, leftsinglequotemark,    rightsinglequotemark    ] };
156         key <AC01> { [  a,      A,      aring,          Aring   ] };
157         // U+FB01 = ligature fi
158         key <AC02> { [  s,      S,      ssharp,         0x0100fb01      ] };
159         // U+2202 = partialderivative, U+FB02 = ligature fl
160         key <AC03> { [  d,      D,      0x01002202,     0x0100fb02      ] };
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,      0x010002dc      ] };
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,     abovedot        ] };
175         // U+02DA = RING ABOVE
176         key <AB07> { [  m,      M,      mu,             0x010002da      ] };
177         key <AB08> { [  comma,  semicolon,      guillemotleft,  guillemotright  ] };
178         key <AB09> { [  period, colon,          ellipsis,       division        ] };
179         key <AB10> { [  minus,  underscore,     hyphen,         emdash          ] };
180         // U+FB01 = ligature fi, U+2030 = per mille
181         key <TLDE> { [  section, degree,        0x0100fb01,     0x01002030              ] };
182         key <SPCE> { [  space,  nobreakspace,   nobreakspace                            ] };
183         key <LSGT> { [  less,   greater,        lessthanequal,  greaterthanequal        ] };
184         key <BKSL> { [  dollar, sterling,       paragraph,      enfilledcircbullet      ] };
185         // End alphanumeric section
186
187         // Other keys
188         key <KPDL> { [  KP_Delete,      KP_Decimal      ]       };
189         // End of other keys
190 };
191
192 // Macintosh layout (Swiss French)
193 //
194 // Describes the differences between a Swiss German keyboard
195 // and a Swiss French keyboard
196 partial alphanumeric_keys 
197 xkb_symbols "fr_mac" {
198         include "ch(de_mac)"
199         name[Group1]= "Switzerland - French (Macintosh)";
200         key <AD11> { [  egrave, udiaeresis,     bracketleft     ] };
201         key <AC10> { [  eacute, odiaeresis                      ] };
202         key <AC11> { [  agrave, adiaeresis,     braceleft       ] };
203 };
204
205 // vim: tabstop=8 syntax=c noexpandtab softtabstop=0 shiftwidth=8