se revision c067fea9
1 2// based on a keyboard map from an 'xkb/symbols/se' file 3// 4// $XKeyboardConfig$ 5// $XFree86: xc/programs/xkbcomp/symbols/se,v 1.5 2003/01/26 02:01:48 dawes Exp $ 6 7partial default alphanumeric_keys 8xkb_symbols "basic" { 9 include "latin(type2)" 10 include "se(se)" 11}; 12 13partial alphanumeric_keys 14xkb_symbols "se" { 15 16 name[Group1]="Sweden"; 17 18 key <AE05> { [ 5, percent, EuroSign, cent ] }; 19 key <AE11> { [ plus, question, backslash, questiondown ] }; 20 key <AE12> { [dead_acute, dead_grave, plusminus, notsign ] }; 21 22 23 key <AC10> { [odiaeresis, Odiaeresis, oslash, Ooblique ] }; 24 key <AC11> { [adiaeresis, Adiaeresis, ae, AE ] }; 25 key <TLDE> { [ section, onehalf, paragraph, threequarters] }; 26 27 key <BKSL> { [apostrophe, asterisk, acute, multiply ] }; 28 29 key <SPCE> { [ space, space, space, nobreakspace ] }; 30 31 key <LSGT> { [ less, greater, bar, brokenbar ] }; 32 include "kpdl(comma)" 33 34 include "level3(ralt_switch)" 35}; 36 37partial alphanumeric_keys 38xkb_symbols "nodeadkeys" { 39 40 // Modifies the basic Swedish layout to eliminate all dead keys 41 42 include "latin(type2)" 43 include "latin(type2_nodeadkeys)" 44 include "se(se)" 45 46 name[Group1]="Sweden - Eliminate dead keys"; 47 48 key <AE12> { [ acute, grave, plusminus, notsign ] }; 49 50}; 51 52// Swedish Dvorak 53partial alphanumeric_keys 54xkb_symbols "dvorak" { 55 56 name[Group1]="Sweden - Dvorak"; 57 58 include "se(basic)" 59 60 key <AD01> { [ aring, Aring, backslash ] }; 61 key <AD02> { [ adiaeresis, Adiaeresis, braceleft, bracketleft ] }; 62 key <AD03> { [ odiaeresis, Odiaeresis, braceright, bracketright ] }; 63 key <AD04> { [ p, P, thorn, THORN ] }; 64 key <AD05> { [ y, Y, leftarrow, yen ] }; 65 key <AD06> { [ f, F, dstroke, ordfeminine ] }; 66 key <AD07> { [ g, G, eng, ENG ] }; 67 key <AD08> { [ c, C, copyright, copyright ] }; 68 key <AD09> { [ r, R, registered, registered ] }; 69 key <AD10> { [ l, L, lstroke, Lstroke ] }; 70 key <AD11> { [ comma, semicolon, dead_cedilla, dead_ogonek ] }; 71 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] }; 72 73 key <AC01> { [ a, A, ae, AE ] }; 74 key <AC02> { [ o, O, oe, OE ] }; 75 key <AC03> { [ e, E, EuroSign, cent ] }; 76 key <AC04> { [ u, U, downarrow, uparrow ] }; 77 key <AC05> { [ i, I, rightarrow, idotless ] }; 78 key <AC06> { [ d, D, eth, ETH ] }; 79 key <AC07> { [ h, H, hstroke, Hstroke ] }; 80 key <AC08> { [ t, T, tslash, Tslash ] }; 81 key <AC09> { [ n, N ] }; 82 key <AC10> { [ s, S, ssharp, section ] }; 83 key <AC11> { [ minus, underscore, dead_belowdot, dead_abovedot ] }; 84 85 key <AB01> { [ period, colon, periodcentered, dead_abovedot ] }; 86 key <AB02> { [ q, Q, at, Greek_OMEGA ] }; 87 key <AB03> { [ j, J ] }; 88 key <AB04> { [ k, K, kra, ampersand ] }; 89 key <AB05> { [ x, X, guillemotright, greater ] }; 90 key <AB06> { [ b, B, rightdoublequotemark, apostrophe ] }; 91 key <AB07> { [ m, M, mu, masculine ] }; 92 key <AB08> { [ w, W, lstroke, Lstroke ] }; 93 key <AB09> { [ v, V, leftdoublequotemark, grave ] }; 94 key <AB10> { [ z, Z, guillemotleft, less ] }; 95}; 96 97// Ivan Popov, 2005-07-17 98// phonetic layout for Russian cyrillic letters 99// on Swedish (latin type2) keyboards 100 101// level3 modifier is a shortcut to the "se" meaning of the keys where 102// we place cyrillic letters, handy for accessing the corresponding 103// punctuation marks. 104// It is important to have access to punctuation marks, and the rest of 105// alphabetical keys are added for being consequent so that the users 106// can expect the level3 modifier to give what the key label shows. 107 108partial alphanumeric_keys 109xkb_symbols "rus" { 110 include "se(basic)" 111 112 name[Group1]="Sweden - Russian phonetic"; 113 key.type[group1]="ALPHABETIC"; 114 115 key <TLDE> { [ Cyrillic_io, Cyrillic_IO ] }; 116 key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] }; 117 118 key <AD01> { [ Cyrillic_ya, Cyrillic_YA ] }; 119 key <AD02> { [ Cyrillic_ve, Cyrillic_VE ] }; 120 key <AD03> { [ Cyrillic_ie, Cyrillic_IE ] }; 121 key <AD04> { [ Cyrillic_er, Cyrillic_ER ] }; 122 key <AD05> { [ Cyrillic_te, Cyrillic_TE ] }; 123 key <AD06> { [ Cyrillic_yeru, Cyrillic_YERU ] }; 124 key <AD07> { [ Cyrillic_u, Cyrillic_U ] }; 125 key <AD08> { [ Cyrillic_i, Cyrillic_I ] }; 126 key <AD09> { [ Cyrillic_o, Cyrillic_O ] }; 127 key <AD10> { [ Cyrillic_pe, Cyrillic_PE ] }; 128 key <AD11> { [ Cyrillic_e, Cyrillic_E ] }; 129 130 key <AC01> { [ Cyrillic_a, Cyrillic_A ] }; 131 key <AC02> { [ Cyrillic_es, Cyrillic_ES ] }; 132 key <AC03> { [ Cyrillic_de, Cyrillic_DE ] }; 133 key <AC04> { [ Cyrillic_ef, Cyrillic_EF ] }; 134 key <AC05> { [ Cyrillic_ghe, Cyrillic_GHE ] }; 135 key <AC06> { [ Cyrillic_ha, Cyrillic_HA ] }; 136 key <AC07> { [ Cyrillic_shorti, Cyrillic_SHORTI ] }; 137 key <AC08> { [ Cyrillic_ka, Cyrillic_KA ] }; 138 key <AC09> { [ Cyrillic_el, Cyrillic_EL ] }; 139 key <AC10> { [ Cyrillic_sha, Cyrillic_SHA ] }; 140 key <AC11> { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; 141 key <BKSL> { [ Cyrillic_yu, Cyrillic_YU ] }; 142 143 key <LSGT> { [ Cyrillic_che, Cyrillic_CHE ] }; 144 key <AB01> { [ Cyrillic_ze, Cyrillic_ZE ] }; 145 key <AB02> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] }; 146 key <AB03> { [ Cyrillic_tse, Cyrillic_TSE ] }; 147 key <AB04> { [ Cyrillic_zhe, Cyrillic_ZHE ] }; 148 key <AB05> { [ Cyrillic_be, Cyrillic_BE ] }; 149 key <AB06> { [ Cyrillic_en, Cyrillic_EN ] }; 150 key <AB07> { [ Cyrillic_em, Cyrillic_EM ] }; 151}; 152 153partial alphanumeric_keys 154xkb_symbols "rus_nodeadkeys" { 155 156 include "se(nodeadkeys)" 157 include "se(rus)" 158 159 name[Group1]="Sweden - Russian phonetic, eliminate dead keys"; 160 161 key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] }; 162}; 163 164xkb_symbols "smi" { 165 166 // Describes the differences between a Norwegian Northern Sami 167 // (keyboard with dead key support) and a Swedish/Finnish Sami 168 // keyboard according to the specs at: 169 // http://www.hum.uit.no/a/trond/se-lat9-sefi-keys.html 170 171 include "fi(smi)" 172 173 name[Group1]= "Sweden - Northern Saami"; 174}; 175 176// Copied from macintosh_vndr/se 177partial alphanumeric_keys 178xkb_symbols "mac" { 179 180 // Describes the differences between a very simple en_US 181 // keyboard and a very simple Swedish(Sweden) keybaord 182 183 include "latin" 184 name[Group1]= "Sweden - Macintosh"; 185 186 key <TLDE> { [ section, degree ] }; 187 key <AE01> { [ 1, exclam, copyright, exclamdown ] }; 188 key <AE02> { [ 2, quotedbl, at, oneeighth ] }; 189 key <AE03> { [ 3, numbersign, sterling, yen ] }; 190 key <AE04> { [ 4, currency, dollar, cent ] }; 191 key <AE06> { [ 6, ampersand ] }; 192 key <AE07> { [ 7, slash, bar, backslash ] }; 193 key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; 194 key <AE09> { [ 9, parenright, bracketright, braceright ] }; 195 key <AB08> { [ comma, semicolon ] }; 196 key <AE10> { [ 0, equal ] }; 197 key <AB09> { [ period, colon ] }; 198 key <AB10> { [ minus, underscore ] }; 199 key <AC10> { [ odiaeresis, Odiaeresis, oslash, Ooblique ] }; 200 key <AE11> { [ plus, question ] }; 201 key <AC11> { [ adiaeresis, Adiaeresis, ae, AE ] }; 202 key <AD11> { [ aring, Aring ] }; 203 key <AE12> { [ acute, grave ] }; 204 key <AD12> { [ diaeresis, asciicircum, asciitilde ] }; 205 key <BKSL> { [ apostrophe, asterisk, at ] }; 206 207 include "kpdl(comma)" 208 include "level3(ralt_switch)" 209}; 210 211// Svdvorak 212// This version of Dvorak follows danish and norwegian style in hope for a 213// Scandinavian standard. 214partial alphanumeric_keys 215xkb_symbols "svdvorak" { 216 217 name[Group1]="Sweden - Svdvorak"; 218 219 include "se(basic)" 220 221 key <AD01> { [ aring, Aring, braceleft ] }; 222 key <AD02> { [ comma, semicolon, bracketleft ] }; 223 key <AD03> { [ period, colon, bracketright ] }; 224 key <AD04> { [ p, P, braceright ] }; 225 key <AD05> { [ y, Y ] }; 226 key <AD06> { [ f, F ] }; 227 key <AD07> { [ g, G ] }; 228 key <AD08> { [ c, C ] }; 229 key <AD09> { [ r, R ] }; 230 key <AD10> { [ l, L ] }; 231 key <AD11> { [ apostrophe, asterisk ] }; 232 233 key <AC01> { [ a, A ] }; 234 key <AC02> { [ o, O, parenleft ] }; 235 key <AC03> { [ e, E, parenright ] }; 236 key <AC04> { [ u, U ] }; 237 key <AC05> { [ i, I ] }; 238 key <AC06> { [ d, D ] }; 239 key <AC07> { [ h, H ] }; 240 key <AC08> { [ t, T ] }; 241 key <AC09> { [ n, N ] }; 242 key <AC10> { [ s, S, ssharp ] }; 243 key <AC11> { [ minus, underscore ] }; 244 key <BKSL> { [ less, greater, bar ] }; 245 246 key <LSGT> { [ odiaeresis, Odiaeresis ] }; 247 key <AB01> { [ adiaeresis, Adiaeresis ] }; 248 key <AB02> { [ q, Q ] }; 249 key <AB03> { [ j, J ] }; 250 key <AB04> { [ k, K ] }; 251 key <AB05> { [ x, X ] }; 252 key <AB06> { [ b, B ] }; 253 key <AB07> { [ m, M ] }; 254 key <AB08> { [ w, W ] }; 255 key <AB09> { [ v, V ] }; 256 key <AB10> { [ z, Z ] }; 257}; 258