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