1// olh@suse.de very close to MacOS map 2 3default partial alphanumeric_keys 4xkb_symbols "basic" { 5 6 // Describes the differences between a very simple US/ASCII 7 // keyboard and a simple German keyboard. 8 9 include "latin" 10 name[Group1]= "Germany - Mac"; 11 12 key <TLDE> { [ dead_circumflex, degree, notsign ] }; 13 key <AE01> { [ 1, exclam, exclamdown, at ] }; 14 key <AE02> { [ 2, quotedbl, twosuperior ] }; 15 key <AE03> { [ 3, section, threesuperior,sterling ] }; 16 key <AE04> { [ 4, dollar, onequarter, currency ] }; 17 key <AE05> { [ 5, percent, bracketleft ] }; 18 key <AE06> { [ 6, ampersand, bracketright ] }; 19 key <AE07> { [ 7, slash, bar, backslash ] }; 20 key <AE08> { [ 8, parenleft, braceleft, asciitilde ] }; 21 key <AE09> { [ 9, parenright, braceright ] }; 22 key <AE10> { [ 0, equal, braceright, degree ] }; 23 key <AE11> { [ ssharp, question, backslash, questiondown ] }; 24 key <AE12> { [ dead_acute, dead_grave, dead_cedilla ] }; 25 26 key <AD01> { [ q, Q, guillemotleft,guillemotright ] }; 27 key <AD03> { [ e, E, EuroSign ] }; 28 key <AD04> { [ r, R, registered ] }; 29 key <AD05> { [ t, T ] }; 30 key <AD06> { [ z, Z ] }; 31 key <AD07> { [ u, U, diaeresis, Aacute ] }; 32 key <AD08> { [ i, I, slash, Ucircumflex ] }; 33 key <AD09> { [ o, O, oslash, Ooblique ] }; 34 key <AD11> { [ udiaeresis, Udiaeresis, periodcentered, degree ] }; 35 key <AD12> { [ plus, asterisk, asciitilde ] }; 36 key <AC01> { [ a, A, aring, Aring ] }; 37 key <AC04> { [ f, F ] }; 38 key <AC05> { [ g, G, copyright ] }; 39 key <AC06> { [ h, H, ordfeminine ] }; 40 key <AC09> { [ l, L, at ] }; 41 key <AC10> { [ odiaeresis, Odiaeresis, dead_acute ] }; 42 key <AC11> { [ adiaeresis, Adiaeresis, dead_circumflex ] }; 43 44 key <LSGT> { [ less, greater, bar ] }; 45 key <AB01> { [ y, Y, guillemotleft,less ] }; 46 key <AB06> { [ n, N, asciitilde ] }; 47 key <AB07> { [ m, M, mu ] }; 48 key <AB08> { [ comma, semicolon ] }; 49 key <AB09> { [ period, colon, periodcentered, division ] }; 50 key <AB10> { [ minus, underscore ] }; 51 key <BKSL> { [ numbersign, apostrophe, dead_grave ] }; 52 53 include "kpdl(comma)" 54 include "level3(ralt_switch)" 55}; 56 57partial alphanumeric_keys 58xkb_symbols "Sundeadkeys" { 59 // modify the default German layout to use Sun dead keys 60 include "macintosh_vndr/de(basic)" 61 name[Group1]= "Germany - Mac, Sun dead keys"; 62 63 key <TLDE> { [ SunFA_Circum, degree, notsign ] }; 64 key <AE12> { [ SunFA_Acute, SunFA_Grave, SunFA_Cedilla ] }; 65 key <AD11> { [ udiaeresis, Udiaeresis, SunFA_Diaeresis ] }; 66 key <AD12> { [ plus, asterisk, SunFA_Tilde, dead_macron ] }; 67 key <AC10> { [ odiaeresis, Odiaeresis, SunFA_Acute ] }; 68 key <AC11> { [ adiaeresis, Adiaeresis, SunFA_Circum ] }; 69 70 key <BKSL> { [ numbersign, acute, SunFA_Grave ] }; 71}; 72 73partial alphanumeric_keys 74xkb_symbols "sundeadkeys" { 75 include "macintosh_vndr/de(Sundeadkeys)" 76}; 77 78partial alphanumeric_keys 79xkb_symbols "nodeadkeys" { 80 // modify the default German layout to not have any dead keys 81 include "macintosh_vndr/de(basic)" 82 name[Group1]= "Germany - Mac, no dead keys"; 83 84 key <TLDE> { [ asciicircum, degree, notsign ] }; 85 key <AE12> { [ acute, grave, cedilla ] }; 86 key <AD11> { [ udiaeresis, Udiaeresis, diaeresis ] }; 87 key <AD12> { [ plus, asterisk, asciitilde, macron ] }; 88 key <AC10> { [ odiaeresis, Odiaeresis, acute ] }; 89 key <AC11> { [ adiaeresis, Adiaeresis, asciicircum ] }; 90 91 key <BKSL> { [ numbersign, apostrophe, grave ] }; 92}; 93