adding Swiss layouts and removing references to pc/ from files
[xorg/xkeyboard-config] / symbols / dvorak
1
2 // based on a keyboard map from an 'xkb/symbols/dk' file
3 //
4 // $XFree86: xc/programs/xkbcomp/symbols/dvorak,v 1.5 2004/01/03 16:35:07 herrb Exp $
5
6 partial default alphanumeric_keys
7 xkb_symbols "basic" {
8
9     name[Group1]= "Dvorak";
10
11     // Alphanumeric section
12
13     key <TLDE> { [       grave, asciitilde, dead_grave, dead_tilde      ] };
14
15     key <AE01> { [          1,  exclam          ]       };
16     key <AE02> { [          2,  at              ]       };
17     key <AE03> { [          3,  numbersign      ]       };
18     key <AE04> { [          4,  dollar          ]       };
19     key <AE05> { [          5,  percent         ]       };
20     key <AE06> { [          6,  asciicircum, dead_circumflex, dead_circumflex ] };
21     key <AE07> { [          7,  ampersand       ]       };
22     key <AE08> { [          8,  asterisk        ]       };
23     key <AE09> { [          9,  parenleft,  dead_grave] };
24     key <AE10> { [          0,  parenright      ]       };
25     key <AE11> { [ bracketleft, braceleft       ]       };
26     key <AE12> { [ bracketright, braceright,  dead_tilde] };
27
28     key <AD01> { [  apostrophe, quotedbl, dead_acute, dead_diaeresis    ] };
29     key <AD02> { [      comma,  less,   dead_cedilla, dead_caron        ] };
30     key <AD03> { [      period, greater, dead_abovedot, periodcentered  ] };
31     key <AD04> { [          p,  P               ]       };
32     key <AD05> { [          y,  Y               ]       };
33     key <AD06> { [          f,  F               ]       };
34     key <AD07> { [          g,  G               ]       };
35     key <AD08> { [          c,  C               ]       };
36     key <AD09> { [          r,  R               ]       };
37     key <AD10> { [          l,  L               ]       };
38     key <AD11> { [      slash,  question        ]       };
39     key <AD12> { [      equal,  plus            ]       };
40
41     key <AC01> { [          a,  A               ]       };
42     key <AC02> { [          o,  O               ]       };
43     key <AC03> { [          e,  E               ]       };
44     key <AC04> { [          u,  U               ]       };
45     key <AC05> { [          i,  I               ]       };
46     key <AC06> { [          d,  D               ]       };
47     key <AC07> { [          h,  H               ]       };
48     key <AC08> { [          t,  T               ]       };
49     key <AC09> { [          n,  N               ]       };
50     key <AC10> { [          s,  S               ]       };
51     key <AC11> { [      minus,  underscore      ]       };
52
53     key <AB01> { [   semicolon, colon, dead_ogonek, dead_doubleacute ] };
54     key <AB02> { [          q,  Q               ]       };
55     key <AB03> { [          j,  J               ]       };
56     key <AB04> { [          k,  K               ]       };
57     key <AB05> { [          x,  X               ]       };
58     key <AB06> { [          b,  B               ]       };
59     key <AB07> { [          m,  M               ]       };
60     key <AB08> { [          w,  W               ]       };
61     key <AB09> { [          v,  V               ]       };
62     key <AB10> { [          z,  Z               ]       };
63
64     include "level3(ralt_switch_multikey)"
65 };
66
67 // Norwegian Dvorak
68 partial alphanumeric_keys 
69 xkb_symbols "no" {
70     include "dvorak(basic)"
71
72     key <TLDE> { [        bar,  section, brokenbar, paragraph   ] };
73
74     key <AE01> { [          1,  exclam, exclamdown, onesuperior ] };
75     key <AE02> { [          2,  quotedbl,   at,     twosuperior ] };
76     key <AE03> { [          3,  numbersign, sterling, threesuperior ] };
77     key <AE04> { [          4,  dollar,     currency,onequarter ] };
78     key <AE05> { [          5,  percent,    onehalf,    onehalf ] };
79     key <AE06> { [          6,  ampersand,  threequarters, threequarters ] };
80     key <AE07> { [          7,  slash,      braceleft, division ] };
81     key <AE08> { [          8,  parenleft,  bracketleft         ] };
82     key <AE09> { [          9,  parenright, bracketright        ] };
83     key <AE10> { [          0,  equal,      braceright          ] };
84     key <AE11> { [       plus,  question,   plusminus, questiondown ] };
85     key <AE12> { [   backslash, grave,      dead_acute, dead_grave  ] };
86
87     key <AD01> { [       aring, Aring,  braceright, bracketright ] };
88     key <AD02> { [      comma,  semicolon, dead_cedilla, cedilla ] };
89     key <AD03> { [      period, colon,  periodcentered           ] };
90     key <AD04> { [          p,  P,      thorn,  THORN            ] };
91     key <AD05> { [          y,  Y,      yen                      ] };
92     key <AD06> { [          f,  F,      ordfeminine              ] };
93     key <AD08> { [          c,  C,      ccedilla, copyright      ] };
94     key <AD09> { [          r,  R,      registered               ] };
95     key <AD11> { [  apostrophe, asterisk, dead_circumflex, acute ] };
96     key <AD12> { [  asciitilde, asciicircum, dead_diaeresis, dead_tilde ] };
97
98     key <AC03> { [          e,  E,      EuroSign,       cent     ] };
99     key <AC05> { [          i,  I,      idotless,       Iabovedot] };
100     key <AC06> { [          d,  D,      eth,            ETH      ] };
101     key <AC10> { [          s,  S,      ssharp                   ] };
102     key <AC11> { [      minus,  underscore, hyphen,     diaeresis] };
103
104     key <AB01> { [         ae,  AE,     braceleft,      bracketleft] };
105     key <AB05> { [          x,  X,      multiply                 ] };
106     key <AB07> { [          m,  M,      mu                       ] };
107     key <BKSL> { [       less,  greater, guillemotleft, guillemotright  ] };
108
109     key <SPCE> { [       space, space, nobreakspace, nobreakspace] };
110
111     key <LSGT> { [      oslash, Ooblique,  bar, backslash        ] };
112
113 };
114
115 // Swedish Dvorak
116 partial alphanumeric_keys 
117 xkb_symbols "se" {
118     include "dvorak(no)"
119
120     key <TLDE> { [     section, onehalf         ]       };
121
122     key <AE04> { [          4,  currency,   dollar,    onequarter       ] };
123     key <AE11> { [        plus, question,   backslash, questiondown     ] };
124     key <AE12> { [  dead_acute, dead_grave, backslash, grave            ] };
125
126     key <AD01> { [  odiaeresis,  Odiaeresis, braceright, bracketright   ] };
127     key <AD02> { [       aring, Aring           ]       };
128     key <AD03> { [  adiaeresis, Adiaeresis      ]       };
129     key <AD11> { [           q, Q               ]       };
130     key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] };
131
132     key <AB01> { [     comma,    semicolon, dead_cedilla, cedilla       ] };
133     key <AB02> { [    period,    colon,     periodcentered              ] };
134
135     key <BKSL> { [      less,   greater,    bar,        brokenbar       ] };
136
137     key <LSGT> { [ apostrophe,   asterisk,  bar,        backslash       ] };
138
139 };
140 // Swedish Dvorak alias
141 partial alphanumeric_keys 
142 xkb_symbols "sv" {
143     include "dvorak(se)"
144 };
145
146 // Dvorak (UK) keymap (by odaen) allowing the usage of
147 // the £ and ? key and swapping the @ and " keys.
148
149 partial alphanumeric_keys
150 xkb_symbols "gb" {
151     include "dvorak(basic)"
152
153     key <BKSL> { [ numbersign,  asciitilde      ] };
154     key <AE02> { [          2,  quotedbl,  twosuperior,   NoSymbol      ] };
155     key <AE03> { [          3,  sterling,  threesuperior, NoSymbol      ] };
156     key <AE04> { [          4,  dollar,    EuroSign,      NoSymbol      ] };
157     key <LSGT> { [  backslash,  bar             ] };
158     key <AD01> { [ apostrophe,  at              ] };
159 };
160
161 // Keymap Dvorak pour le Français
162 // par Josselin Mouette <josselin.mouette@ens-lyon.org>.
163
164 partial alphanumeric_keys
165 xkb_symbols "fr" {
166
167     name[Group1]= "French dvorak";
168
169     key <TLDE>  { [         oe,       OE,              ae,             AE ] };
170
171     key <AE01>  { [      slash,        1,       ampersand,    onesuperior ] };
172     key <AE02>  { [       plus,        2,      asciitilde,    twosuperior ] };
173     key <AE03>  { [      minus,        3,      numbersign,  threesuperior ] };
174     key <AE04>  { [   asterisk,        4,            less,  guillemotleft ] };
175     key <AE05>  { [      equal,        5,         greater, guillemotright ] };
176     key <AE06>  { [  backslash,        6,              at,        notsign ] };
177     key <AE07>  { [  parenleft,        7, dead_circumflex,       multiply ] };
178     key <AE08>  { [      grave,        8,      dead_grave,       division ] };
179     key <AE09>  { [ parenright,        9,     asciicircum,      plusminus ] };
180     key <AE10>  { [   quotedbl,        0,  dead_diaeresis, dead_diaeresis ] };
181     key <AE11>  { [bracketleft,   braceleft,          bar,         degree ] };
182     key <AE12>  { [bracketright, braceright,      percent,        percent ] };
183
184     key <AD01>  { [      colon, question,        question,   questiondown ] };
185     key <AD02>  { [     agrave,   Agrave,           aring,          Aring ] };
186     key <AD03>  { [     eacute,   Eacute,        EuroSign,           cent ] };
187     key <AD04>  { [          g,        G,          oslash,       Ooblique ] };
188     key <AD05>  { [     period,   exclam,  periodcentered,     exclamdown ] };
189     key <AD06>  { [          h,        H,             eth,            ETH ] };
190     key <AD07>  { [          v,        V              ] };
191     key <AD08>  { [          c,        C,       copyright,     registered ] };
192     key <AD09>  { [          m,        M,              mu,             mu ] };
193     key <AD10>  { [          k,        K,          dollar,         dollar ] };
194     key <AD11>  { [     egrave,   Egrave,        sterling,       sterling ] };
195     key <AD12>  { [          z,        Z,             yen,            yen ] };
196
197     key <AC01>  { [          o,        O,     ocircumflex,    Ocircumflex ] };
198     key <AC02>  { [          a,        A,     acircumflex,    Acircumflex ] };
199     key <AC03>  { [          u,        U,     ucircumflex,    Ucircumflex ] };
200     key <AC04>  { [          e,        E,     ecircumflex,    Ecircumflex ] };
201     key <AC05>  { [          b,        B,          ssharp,         ssharp ] };
202     key <AC06>  { [          f,        F      ] };
203     key <AC07>  { [          s,        S      ] };
204     key <AC08>  { [          t,        T,           thorn,          THORN ] };
205     key <AC09>  { [          n,        N,          ntilde,         Ntilde ] };
206     key <AC10>  { [          d,        D,         section,        section ] };
207     key <AC11>  { [          w,        W,       paragraph,      paragraph ] };
208     key <BKSL>  { [     ugrave,   Ugrave,       masculine,    ordfeminine ] };
209
210     key <AB01>  { [ apostrophe, underscore,    dead_acute,         macron ] };
211     key <AB02>  { [          q,        Q,   guillemotleft,  guillemotleft ] };
212     key <AB03>  { [     comma, semicolon,  guillemotright, guillemotright ] };
213     key <AB04>  { [          i,        I,     icircumflex,    Icircumflex ] };
214     key <AB05>  { [          y,        Y,      ydiaeresis,     Ydiaeresis ] };
215     key <AB06>  { [          x,        X,      ediaeresis,     Ediaeresis ] };
216     key <AB07>  { [          r,        R,      udiaeresis,     Udiaeresis ] };
217     key <AB08>  { [          l,        L,      adiaeresis,     Adiaeresis ] };
218     key <AB09>  { [          p,        P,      odiaeresis,     Odiaeresis ] };
219     key <AB10>  { [          j,        J,      idiaeresis,     Idiaeresis ] };
220
221     key <SPCE>  { [      space,    space,    nobreakspace,   nobreakspace ] };
222     key <LSGT>  { [   ccedilla, Ccedilla      ] };
223
224     include "level3(ralt_switch_multikey)"
225 };
226
227
228 // Polish Dvorak keymaps
229 // by Rafal Rzepecki <divide@users.sf.net>
230
231 // The default keymap "pl" places Polish quotes on quotemark key and 
232 // moves the dead symbols from there to "1/!" key. If you are used to default 
233 // dead keys placement, you could use "pl_altquotes"; in this layout 
234 // dead keys remain in the old place, whereas Polish quotes are placed on the
235 // "1/!" key. If you do not use Polish quotes at all, you can use "pl_basic" map.
236
237 // Basic Polish keymap (without Polish quotes)
238 partial alphanumeric_keys 
239 xkb_symbols "pl_basic" {
240     include "dvorak(basic)"
241     
242     name[Group1] = "Polish Dvorak";
243
244     key <AD08> { [          c,  C,      cacute, Cacute          ]       };
245     key <AD10> { [          l,  L,     lstroke, Lstroke         ]       };
246     key <AC01> { [          a,  A,     aogonek, Aogonek         ]       };
247     key <AC02> { [          o,  O,      oacute, Oacute          ]       };
248     key <AC03> { [          e,  E,     eogonek, Eogonek         ]       };
249     key <AC09> { [          n,  N,      nacute, Nacute          ]       };
250     key <AC10> { [          s,  S,      sacute, Sacute          ]       };
251     key <AB09> { [          v,  V,      zacute, Zacute          ]       };
252     key <AB10> { [          z,  Z,   zabovedot, Zabovedot       ]       };
253     
254     // this to allow writing ALL CAPS with a Shift key
255     include "level3(ralt_switch)"
256
257     // use one of compose:* options to choose Multi_key, if you will,
258     // or layout +level3(ralt_switch_multikey) to revert standard behaviour
259 };
260
261 // Default Polish keymap with Polish quotes on quotemark key
262 partial alphanumeric_keys
263 xkb_symbols "pl" {
264     include "dvorak(pl_basic)"
265     
266     key <AD01> { [  apostrophe, quotedbl, doublelowquotemark, rightdoublequotemark      ] };
267
268     // Dead symbols moved to this key
269     key <AE01> { [          1,  exclam, dead_acute, dead_diaeresis              ]       };
270 };
271
272 // Polish keymap with Polish quotes on key "1/!"
273 partial alphanumeric_keys
274 xkb_symbols "pl_altquotes" {
275     include "dvorak(pl_basic)"
276
277     key <AE01> { [          1,  exclam, doublelowquotemark, rightdoublequotemark        ]       };
278 };