adding mac variants to base layouts, closing b.fd.o#8465
[xorg/xkeyboard-config] / symbols / dk
1
2 // based on a keyboard map from an 'xkb/symbols/dk' file
3 //
4 // $XKeyboardConfig$
5 // $XFree86: xc/programs/xkbcomp/symbols/dk,v 1.3 2002/12/19 01:07:56 dawes Exp $
6
7 partial default alphanumeric_keys
8 xkb_symbols "basic" {
9
10     include "latin(type2)"
11
12     name[Group1]="Denmark";
13
14     key <AE11>  { [      plus,   question,    plusminus, questiondown ] };
15     key <AE12>  { [dead_acute, dead_grave,          bar,    brokenbar ] };
16
17
18     key <AC10>  { [        ae,        AE,   dead_acute, dead_doubleacute ] };
19     key <AC11>  { [    oslash,  Ooblique, dead_circumflex, dead_caron ] };
20     key <TLDE>  { [   onehalf,   section, threequarters,    paragraph ] };
21
22     key <BKSL>  { [apostrophe,   asterisk, dead_doubleacute, multiply ] };
23
24     key <LSGT>  { [      less,    greater,    backslash,      notsign ] };
25
26     include "keypad(comma)"
27
28     include "level3(ralt_switch)"
29 };
30
31 partial alphanumeric_keys
32 xkb_symbols "nodeadkeys" {
33
34     include "dk(basic)"
35
36     name[Group1]="Denmark - Eliminate dead keys";
37
38     key <AE12>  { [     acute,      grave,          bar,       ogonek ] };
39     key <AD11>  { [     aring,      Aring,    diaeresis,       degree ] };
40     key <AD12>  { [ diaeresis, asciicircum,  asciitilde,       macron ] };
41     key <AC10>  { [        ae,         AE,        acute,  doubleacute ] };
42     key <AC11>  { [    oslash,   Ooblique,  asciicircum,        caron ] };
43     key <BKSL>  { [apostrophe,   asterisk,  doubleacute,     multiply ] };
44     key <AB08>  { [     comma,  semicolon,      cedilla,       ogonek ] };
45     key <AB09>  { [    period,      colon, periodcentered,   abovedot ] };
46
47 };
48
49 // Copied from macintosh_vndr/dk
50 partial alphanumeric_keys 
51 xkb_symbols "mac" {
52
53     include "latin"
54     name[Group1]= "Denmark - Mac";
55
56     key <TLDE> {        [  onehalf,         section,    threequarters,       paragraph  ]};
57     key <LSGT> {        [     less,         greater,        backslash,         notsign  ]};
58     key <SPCE> {        [    space,           space,     nobreakspace,    nobreakspace  ]};
59     key <AE01> {        [        1,          exclam,       exclamdown,     onesuperior  ]};
60     key <AE02> {        [        2,        quotedbl,               at,     twosuperior  ]};
61     key <AE03> {        [        3,      numbersign,         sterling,   threesuperior  ]};
62     key <AE04> {        [        4,        currency,           dollar,      onequarter  ]};
63     key <AE05> {        [        5,         percent,         NoSymbol,            cent  ]};
64     key <AE06> {        [        6,       ampersand,              yen,        NoSymbol  ]};
65     key <AE07> {        [        7,           slash,        braceleft,        division  ]};
66     key <AE08> {        [        8,       parenleft,      bracketleft,   guillemotleft  ]};
67     key <AE09> {        [        9,      parenright,     bracketright,  guillemotright  ]};
68     key <AE10> {        [        0,           equal,       braceright,          degree  ]};
69     key <AB08> {        [    comma,       semicolon,     dead_cedilla,     dead_ogonek  ]};
70     key <AB09> {        [   period,           colon,   periodcentered,   dead_abovedot  ]};
71     key <AB03> {        [        c,               C,        copyright,        NoSymbol  ]};
72     key <AB10> {        [    minus,      underscore,           hyphen,          macron  ]};
73     key <AC01> {        [        a,               A,      ordfeminine,       masculine      ]};
74     key <AC03> {        [        d,               D,              eth,             ETH      ]};
75     key <AD03> {        [        e,               E,         NoSymbol,            cent      ]};
76     key <AD04> {        [        r,               R,       registered,        NoSymbol      ]};
77     key <AD05> {        [        t,               T,            thorn,           THORN      ]};
78     key <AD08> {        [        i,               I,         NoSymbol,        NoSymbol      ]};
79     key <AD09> {        [        o,               O,               oe,              OE      ]};
80     key <AC10> {        [       ae,               AE    ]};
81     key <AE11> {        [     plus,        question,        plusminus,    questiondown  ]};
82     key <AC11> {        [   oslash,        Ooblique     ]};
83     key <BKSL> {        [ apostrophe,        asterisk, dead_doubleacute,        multiply        ]};
84     key <AD11> {        [    aring,           Aring     ]};
85     key <AE12> {        [ dead_acute,      dead_grave,              bar,       brokenbar        ]};
86     key <AD12> {        [ dead_diaeresis, dead_circumflex,       dead_tilde,      dead_caron      ]};
87
88     // End alphanumeric section
89
90     include "level3(ralt_switch)"
91 };
92
93
94 partial alphanumeric_keys 
95 xkb_symbols "mac_nodeadkeys" {
96     include "dk(mac)"
97     name[Group1]= "Denmark - Mac, eliminate dead keys";
98
99     key <AE12> {        [           acute,           grave,              bar,          ogonek   ]       };
100     key <AD12> {        [       diaeresis,     asciicircum,       asciitilde,     dead_macron           ]       };
101 };