// $XKeyboardConfig$ // $Xorg: ch,v 1.3 2000/08/17 19:54:42 cpqbld Exp $ // $XFree86: xc/programs/xkbcomp/symbols/ch,v 3.6 2002/11/25 14:05:06 eich Exp $ partial default alphanumeric_keys xkb_symbols "basic" { include "latin" // Alphanumeric section name[Group1]= "Switzerland"; key { [ section, degree ] }; key { [ 1, plus, bar, exclamdown ] }; key { [ 2, quotedbl, at, oneeighth ] }; key { [ 3, asterisk, numbersign ] }; key { [ 4, ccedilla ] }; key { [ 5, percent ] }; key { [ 6, ampersand, notsign ] }; key { [ 7, slash, brokenbar ] }; key { [ 8, parenleft, cent ] }; key { [ 9, parenright ] }; key { [ 0, equal ] }; key { [ apostrophe, question, dead_acute ] }; key { [ dead_circumflex, dead_grave, dead_tilde ] }; key { [ e, E, EuroSign ] }; key { [ z, Z ] }; key { [ udiaeresis, egrave, bracketleft ] }; key { [ dead_diaeresis, exclam, bracketright ] }; key { [ odiaeresis, eacute ] }; key { [ adiaeresis, agrave, braceleft ] }; key { [ dollar, sterling, braceright ] }; key { [ less, greater, backslash, brokenbar ] }; key { [ y, Y ] }; key { [ comma, semicolon ] }; key { [ period, colon ] }; key { [ minus, underscore ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "de" { include "ch(basic)" }; partial alphanumeric_keys xkb_symbols "de_Sundeadkeys" { // modify the basic Swiss German layout to use Sun dead keys include "ch(basic)" key { [ apostrophe, question, SunFA_Acute ] }; key { [ SunFA_Circum, SunFA_Grave, SunFA_Tilde ] }; key { [ SunFA_Diaeresis, exclam, bracketright ] }; }; partial alphanumeric_keys xkb_symbols "de_sundeadkeys" { include "ch(de_Sundeadkeys)" name[Group1]= "Switzerland - German, Sun dead keys"; }; partial alphanumeric_keys xkb_symbols "de_nodeadkeys" { // modify the basic Swiss German layout not to have any dead keys include "ch(basic)" name[Group1]= "Switzerland - German, eliminate dead keys"; key { [ apostrophe, question, acute ] }; key { [ asciicircum, grave, asciitilde ] }; key { [ diaeresis, exclam, bracketright ] }; }; partial alphanumeric_keys xkb_symbols "fr" { // Describes the differences between a very simple US/ASCII // keyboard and a very simple Swiss/French keybaord include "ch(basic)" name[Group1]= "Switzerland - French"; override key { [ egrave, udiaeresis, bracketleft ] }; override key { [ eacute, odiaeresis ] }; override key { [ agrave, adiaeresis, braceleft ] }; }; partial alphanumeric_keys xkb_symbols "fr_Sundeadkeys" { // modify the basic Swiss French layout to use Sun dead keys include "ch(fr)" key { [ apostrophe, question, SunFA_Acute ] }; key { [ SunFA_Circum, SunFA_Grave, SunFA_Tilde ] }; key { [ SunFA_Diaeresis, exclam, bracketright ] }; }; partial alphanumeric_keys xkb_symbols "fr_sundeadkeys" { include "ch(fr_Sundeadkeys)" name[Group1]= "Switzerland - French, Sun dead keys"; }; partial alphanumeric_keys xkb_symbols "fr_nodeadkeys" { // modify the basic Swiss French layout not to have any dead keys include "ch(fr)" name[Group1]= "Switzerland - French, eliminate dead keys"; key { [ apostrophe, question, acute ] }; key { [ asciicircum, grave, asciitilde ] }; key { [ diaeresis, exclam, bracketright ] }; }; // Macintosh layout (Swiss German) // // 03.01.2003 // Andreas Tobler // modified for Swiss German Apple Extended Keyboard II // // 2006-05-25, 2006-06-08 // Hanselmann Michael // Fixed keys, reformatted, moved to symbols/ch partial alphanumeric_keys xkb_symbols "de_mac" { name[Group1]= "Switzerland - German (Macintosh)"; // Alphanumeric section key { [ 1, plus, plusminus, infinity ] }; key { [ 2, quotedbl, leftdoublequotemark, rightdoublequotemark ] }; key { [ 3, asterisk, numbersign, 0x01002039 ] }; key { [ 4, ccedilla, Ccedilla, 0x01002044 ] }; key { [ 5, percent, bracketleft, 0x01002039 ] }; key { [ 6, ampersand, bracketright, 0x0100203A ] }; key { [ 7, slash, bar, backslash ] }; key { [ 8, parenleft, braceleft, Ograve ] }; key { [ 9, parenright, braceright, Ocircumflex ] }; key { [ 0, equal, notequal, Uacute ] }; key { [ apostrophe, question, questiondown, NoSymbol ] }; key { [ dead_circumflex, dead_grave, dead_acute, asciicircum ] }; key { [ q, Q, oe, OE ] }; key { [ w, W, Greek_SIGMA, Aacute ] }; key { [ e, E, EuroSign, Ediaeresis ] }; key { [ r, R, registered, Egrave ] }; key { [ t, T, dagger, Icircumflex ] }; key { [ z, Z, Greek_OMEGA, Iacute ] }; key { [ u, U, degree, Ugrave ] }; key { [ i, I, exclamdown, idotless ] }; key { [ o, O, oslash, Ooblique ] }; key { [ p, P, Greek_pi, Greek_PI ] }; key { [ udiaeresis, egrave, section, ydiaeresis ] }; key { [ dead_diaeresis, exclam, leftsinglequotemark, rightsinglequotemark ] }; key { [ a, A, aring, Aring ] }; // U+FB01 = ligature fi key { [ s, S, ssharp, 0x0100fb01 ] }; // U+2202 = partialderivative, U+FB02 = ligature fl key { [ d, D, 0x01002202, 0x0100fb02 ] }; key { [ f, F, function, doubledagger ] }; key { [ g, G, at, comma ] }; key { [ h, H, ordfeminine, periodcentered ] }; key { [ j, J, masculine, 0x010002dc ] }; key { [ k, K, Greek_DELTA, macron ] }; key { [ l, L, notsign, caret ] }; key { [ odiaeresis, eacute, cent, breve ] }; key { [ adiaeresis, agrave, ae, AE ] }; key { [ y, Y, yen, Ydiaeresis ] }; key { [ x, X, similarequal, trademark ] }; key { [ c, C, copyright, NoSymbol ] }; key { [ v, V, radical, diamond ] }; key { [ b, B, integral, NoSymbol ] }; key { [ n, N, dead_tilde, abovedot ] }; // U+02DA = RING ABOVE key { [ m, M, mu, 0x010002da ] }; key { [ comma, semicolon, guillemotleft, guillemotright ] }; key { [ period, colon, ellipsis, division ] }; key { [ minus, underscore, hyphen, emdash ] }; // U+FB01 = ligature fi, U+2030 = per mille key { [ section, degree, 0x0100fb01, 0x01002030 ] }; key { [ space, nobreakspace, nobreakspace ] }; key { [ less, greater, lessthanequal, greaterthanequal ] }; key { [ dollar, sterling, paragraph, enfilledcircbullet ] }; // End alphanumeric section // Other keys key { [ KP_Delete, KP_Decimal ] }; // End of other keys }; // Macintosh layout (Swiss French) // // Describes the differences between a Swiss German keyboard // and a Swiss French keyboard partial alphanumeric_keys xkb_symbols "fr_mac" { include "ch(de_mac)" name[Group1]= "Switzerland - French (Macintosh)"; key { [ egrave, udiaeresis, bracketleft ] }; key { [ eacute, odiaeresis ] }; key { [ agrave, adiaeresis, braceleft ] }; }; // vim: tabstop=8 syntax=c noexpandtab softtabstop=0 shiftwidth=8