summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2023-04-14 11:29:51 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2023-04-25 11:47:42 +0200
commit8486d6f08f2ca3b77011d2afcae142742e21693e (patch)
tree57cf16554e5a868c59ab3a7b47e31ceef1d11dd3
parent662c8721dfd9376836ef51f782a8aafbdbb47a46 (diff)
downloadxkeyboard-config-8486d6f08f2ca3b77011d2afcae142742e21693e.tar.gz
symbols/ch: improve alignment, shrink whitespace, unwrap definitions
Also, reshuffle a few keys into their normal order.
-rw-r--r--symbols/ch229
1 files changed, 114 insertions, 115 deletions
diff --git a/symbols/ch b/symbols/ch
index 790362f..0882662 100644
--- a/symbols/ch
+++ b/symbols/ch
@@ -4,47 +4,50 @@ default partial alphanumeric_keys
xkb_symbols "basic" {
include "latin"
+
name[Group1]= "German (Switzerland)";
- key <TLDE> { [ section, degree ] };
- key <AE01> { [ 1, plus, bar, exclamdown ] };
- key <AE02> { [ 2, quotedbl, at, oneeighth ] };
- key <AE03> { [ 3, asterisk, numbersign ] };
- key <AE04> { [ 4, ccedilla ] };
- key <AE05> { [ 5, percent ] };
- key <AE06> { [ 6, ampersand, notsign ] };
- key <AE07> { [ 7, slash, bar ] };
- key <AE08> { [ 8, parenleft, cent ] };
- key <AE09> { [ 9, parenright ] };
- key <AE10> { [ 0, equal ] };
- key <AE11> { [ apostrophe, question, dead_acute ] };
- key <AE12> { [ dead_circumflex, dead_grave, dead_tilde ] };
-
- key <AD03> { [ e, E, EuroSign ] };
- key <AD06> { [ z, Z ] };
- key <AD09> { [ o, O, oe, OE ] };
- key <AD11> { [ udiaeresis, egrave, bracketleft ] };
- key <AD12> { [ dead_diaeresis, exclam, bracketright ] };
-
- key <AC10> { [ odiaeresis, eacute ] };
- key <AC11> { [ adiaeresis, agrave, braceleft ] };
- key <BKSL> { [ dollar, sterling, braceright ] };
-
- key <LSGT> { [ less, greater, backslash, brokenbar ] };
- key <AB01> { [ y, Y ] };
- key <AB08> { [ comma, semicolon ] };
- key <AB09> { [ period, colon ] };
- key <AB10> { [ minus, underscore ] };
+ key <TLDE> {[ section, degree ]};
+ key <AE01> {[ 1, plus, bar, exclamdown ]};
+ key <AE02> {[ 2, quotedbl, at, oneeighth ]};
+ key <AE03> {[ 3, asterisk, numbersign ]};
+ key <AE04> {[ 4, ccedilla ]};
+ key <AE05> {[ 5, percent ]};
+ key <AE06> {[ 6, ampersand, notsign ]};
+ key <AE07> {[ 7, slash, bar ]};
+ key <AE08> {[ 8, parenleft, cent ]};
+ key <AE09> {[ 9, parenright ]};
+ key <AE10> {[ 0, equal ]};
+ key <AE11> {[ apostrophe, question, dead_acute ]};
+ key <AE12> {[ dead_circumflex, dead_grave, dead_tilde ]};
+
+ key <AD03> {[ e, E, EuroSign ]};
+ key <AD06> {[ z, Z ]};
+ key <AD09> {[ o, O, oe, OE ]};
+ key <AD11> {[ udiaeresis, egrave, bracketleft ]};
+ key <AD12> {[ dead_diaeresis, exclam, bracketright ]};
+
+ key <AC10> {[ odiaeresis, eacute ]};
+ key <AC11> {[ adiaeresis, agrave, braceleft ]};
+ key <BKSL> {[ dollar, sterling, braceright ]};
+
+ key <LSGT> {[ less, greater, backslash, brokenbar ]};
+ key <AB01> {[ y, Y ]};
+ key <AB08> {[ comma, semicolon ]};
+ key <AB09> {[ period, colon ]};
+ key <AB10> {[ minus, underscore ]};
include "level3(ralt_switch)"
};
partial alphanumeric_keys
xkb_symbols "legacy" {
+
include "ch(basic)"
name[Group1]= "German (Switzerland, legacy)";
- key <AE07> { [ 7, slash, brokenbar ] };
+
+ key <AE07> {[ 7, slash, brokenbar ]};
};
partial alphanumeric_keys
@@ -54,105 +57,105 @@ xkb_symbols "de" {
partial alphanumeric_keys
xkb_symbols "de_nodeadkeys" {
- // modify the basic Swiss German layout not to have any dead keys
+
include "ch(basic)"
+
name[Group1]= "German (Switzerland, no dead keys)";
- key <AE11> { [ apostrophe, question, acute ] };
- key <AE12> { [ asciicircum, grave, asciitilde ] };
- key <AD12> { [ diaeresis, exclam, bracketright ] };
+
+ key <AE11> {[ apostrophe, question, acute ]};
+ key <AE12> {[ asciicircum, grave, asciitilde ]};
+ key <AD12> {[ diaeresis, exclam, bracketright ]};
};
partial alphanumeric_keys
xkb_symbols "fr" {
include "ch(basic)"
+
name[Group1]= "French (Switzerland)";
- override key <AD11> {
- [ egrave, udiaeresis, bracketleft ]
- };
- override key <AC10> {
- [ eacute, odiaeresis ]
- };
- override key <AC11> {
- [ agrave, adiaeresis, braceleft ]
- };
+ override key <AD11> {[ egrave, udiaeresis, bracketleft ]};
+ override key <AC10> {[ eacute, odiaeresis ]};
+ override key <AC11> {[ agrave, adiaeresis, braceleft ]};
};
partial alphanumeric_keys
xkb_symbols "fr_nodeadkeys" {
- // modify the basic Swiss French layout not to have any dead keys
+
include "ch(fr)"
+
name[Group1]= "French (Switzerland, no dead keys)";
- key <AE11> { [ apostrophe, question, acute ] };
- key <AE12> { [ asciicircum, grave, asciitilde ] };
- key <AD12> { [ diaeresis, exclam, bracketright ] };
-};
-// Copied from macintosh_vndr/ch
-// 03.01.2003
-// Andreas Tobler <a.tobler@schweiz.ch>
-// modified for Swiss German Apple Extended Keyboard II
+ key <AE11> {[ apostrophe, question, acute ]};
+ key <AE12> {[ asciicircum, grave, asciitilde ]};
+ key <AD12> {[ diaeresis, exclam, bracketright ]};
+};
+// Layout for a Swiss German Apple Extended Keyboard II.
+// Original author: Andreas Tobler <a.tobler@schweiz.ch>, 2000, 2003.
partial alphanumeric_keys
xkb_symbols "de_mac" {
name[Group1]= "German (Switzerland, Macintosh)";
- key <AE01> { [ 1, plus, plusminus, infinity ] };
- key <AE02> { [ 2, quotedbl, leftdoublequotemark, rightdoublequotemark ] };
- key <AE03> { [ 3, asterisk, numbersign, less ] };
- key <AE04> { [ 4, ccedilla, Ccedilla, slash ] };
- key <AE05> { [ 5, percent, bracketleft ] };
- key <AE06> { [ 6, ampersand, bracketright ] };
- key <AE07> { [ 7, slash, bar, backslash ] };
- key <AE08> { [ 8, parenleft, braceleft, Ograve ] };
- key <AE09> { [ 9, parenright, braceright, Ocircumflex ] };
- key <AE10> { [ 0, equal, notequal, Uacute ] };
- key <AE11> { [ apostrophe, question, questiondown, NoSymbol ] };
- key <AE12> { [ dead_circumflex,dead_grave, dead_acute, asciicircum ] };
- key <AD01> { [ q, Q, oe, OE ] };
- key <AD02> { [ w, W, Greek_SIGMA, Aacute ] };
- key <AD03> { [ e, E, EuroSign, Ediaeresis ] };
- key <AD04> { [ r, R, registered, Egrave ] };
- key <AD05> { [ t, T, dagger, Icircumflex ] };
- key <AD06> { [ z, Z, Greek_OMEGA, Iacute ] };
- key <AD07> { [ u, U, degree, Ugrave ] };
- key <AD08> { [ i, I, exclamdown, idotless ] };
- key <AD09> { [ o, O, oslash, Oslash ] };
- key <AD10> { [ p, P, Greek_pi, Greek_PI ] };
- key <AD11> { [ udiaeresis, egrave, section, ydiaeresis ] };
- key <AD12> { [ dead_diaeresis, exclam, grave, apostrophe ] };
- key <AC01> { [ a, A, aring, Aring ] };
- key <AC02> { [ s, S, ssharp, U1E9E ] };
- // ligature fl
- key <AC03> { [ d, D, Greek_sigma, NoSymbol ] };
- // partialderivative is not available here att
- key <AC04> { [ f, F, function, doubledagger ] };
- key <AC05> { [ g, G, at, comma ] };
- key <AC06> { [ h, H, ordfeminine, periodcentered ] };
- key <AC07> { [ j, J, masculine, eth ] };
- key <AC08> { [ k, K, Greek_DELTA, macron ] };
- key <AC09> { [ l, L, notsign, caret ] };
- key <AC10> { [ odiaeresis, eacute, cent, breve ] };
- key <AC11> { [ adiaeresis, agrave, ae, AE ] };
- key <AB01> { [ y, Y, yen, Ydiaeresis ] };
- key <AB02> { [ x, X, similarequal, trademark ] };
- key <AB03> { [ c, C, copyright, NoSymbol ] };
- key <AB04> { [ v, V, radical, diamond ] };
- key <AB05> { [ b, B, integral, NoSymbol ] };
- key <AB06> { [ n, N, dead_tilde, enopencircbullet ] };
- // to be fixed att
- key <AB07> { [ m, M, mu, dead_abovering ] };
- // not sure att
- key <AB08> { [ comma, semicolon, guillemotleft, guillemotright ] };
- key <AB09> { [ period, colon, ellipsis, division ] };
- key <AB10> { [ minus, underscore, hyphen, emdash ] };
- key <TLDE> { [ section, degree, NoSymbol, NoSymbol ] };
- // ligature fi // per mille
- key <SPCE> { [ space, nobreakspace, nobreakspace ] };
- key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] };
- key <BKSL> { [ dollar, sterling, paragraph, enfilledcircbullet ] };
+ key <TLDE> {[ section, degree, NoSymbol, NoSymbol ]};
+ // ligature fi // per mille
+ key <AE01> {[ 1, plus, plusminus, infinity ]};
+ key <AE02> {[ 2, quotedbl, leftdoublequotemark, rightdoublequotemark ]};
+ key <AE03> {[ 3, asterisk, numbersign, less ]};
+ key <AE04> {[ 4, ccedilla, Ccedilla, slash ]};
+ key <AE05> {[ 5, percent, bracketleft ]};
+ key <AE06> {[ 6, ampersand, bracketright ]};
+ key <AE07> {[ 7, slash, bar, backslash ]};
+ key <AE08> {[ 8, parenleft, braceleft, Ograve ]};
+ key <AE09> {[ 9, parenright, braceright, Ocircumflex ]};
+ key <AE10> {[ 0, equal, notequal, Uacute ]};
+ key <AE11> {[ apostrophe, question, questiondown, NoSymbol ]};
+ key <AE12> {[ dead_circumflex, dead_grave, dead_acute, asciicircum ]};
+
+ key <AD01> {[ q, Q, oe, OE ]};
+ key <AD02> {[ w, W, Greek_SIGMA, Aacute ]};
+ key <AD03> {[ e, E, EuroSign, Ediaeresis ]};
+ key <AD04> {[ r, R, registered, Egrave ]};
+ key <AD05> {[ t, T, dagger, Icircumflex ]};
+ key <AD06> {[ z, Z, Greek_OMEGA, Iacute ]};
+ key <AD07> {[ u, U, degree, Ugrave ]};
+ key <AD08> {[ i, I, exclamdown, idotless ]};
+ key <AD09> {[ o, O, oslash, Oslash ]};
+ key <AD10> {[ p, P, Greek_pi, Greek_PI ]};
+ key <AD11> {[ udiaeresis, egrave, section, ydiaeresis ]};
+ key <AD12> {[ dead_diaeresis, exclam, grave, apostrophe ]};
+
+ key <AC01> {[ a, A, aring, Aring ]};
+ key <AC02> {[ s, S, ssharp, U1E9E ]};
+ // ligature fl
+ key <AC03> {[ d, D, Greek_sigma, NoSymbol ]};
+ // partialderivative is not available here -- att
+ key <AC04> {[ f, F, function, doubledagger ]};
+ key <AC05> {[ g, G, at, comma ]};
+ key <AC06> {[ h, H, ordfeminine, periodcentered ]};
+ key <AC07> {[ j, J, masculine, eth ]};
+ key <AC08> {[ k, K, Greek_DELTA, macron ]};
+ key <AC09> {[ l, L, notsign, caret ]};
+ key <AC10> {[ odiaeresis, eacute, cent, breve ]};
+ key <AC11> {[ adiaeresis, agrave, ae, AE ]};
+ key <BKSL> {[ dollar, sterling, paragraph, enfilledcircbullet ]};
+
+ key <LSGT> {[ less, greater, lessthanequal, greaterthanequal ]};
+ key <AB01> {[ y, Y, yen, Ydiaeresis ]};
+ key <AB02> {[ x, X, similarequal, trademark ]};
+ key <AB03> {[ c, C, copyright, NoSymbol ]};
+ key <AB04> {[ v, V, radical, diamond ]};
+ key <AB05> {[ b, B, integral, NoSymbol ]};
+ key <AB06> {[ n, N, dead_tilde, enopencircbullet ]};
+ // to be fixed -- att
+ key <AB07> {[ m, M, mu, dead_abovering ]};
+ // not sure -- att
+ key <AB08> {[ comma, semicolon, guillemotleft, guillemotright ]};
+ key <AB09> {[ period, colon, ellipsis, division ]};
+ key <AB10> {[ minus, underscore, hyphen, emdash ]};
+
+ key <SPCE> {[ space, nobreakspace, nobreakspace ]};
include "kpdl(comma)"
include "level3(ralt_switch)"
@@ -162,19 +165,15 @@ partial alphanumeric_keys
xkb_symbols "fr_mac" {
include "ch(de_mac)"
+
name[Group1]= "French (Switzerland, Macintosh)";
- override key <AD11> {
- [ egrave, udiaeresis, bracketleft ]
- };
- override key <AC10> {
- [ eacute, odiaeresis ]
- };
- override key <AC11> {
- [ agrave, adiaeresis, braceleft ]
- };
+ override key <AD11> {[ egrave, udiaeresis, bracketleft ]};
+ override key <AC10> {[ eacute, odiaeresis ]};
+ override key <AC11> {[ agrave, adiaeresis, braceleft ]};
};
+
// EXTRAS:
partial alphanumeric_keys