big-bag-skylark/x-mod_v2-17-1ub1_2016-06-06/xkb/symbols/dk

133 lines
5.0 KiB
Plaintext

// based on a keyboard map from an 'xkb/symbols/dk' file
default partial alphanumeric_keys
xkb_symbols "basic" {
include "latin(type2)"
name[Group1]="Danish";
key <AE11> { [ plus, question, plusminus, questiondown ] };
key <AE12> { [dead_acute, dead_grave, bar, brokenbar ] };
key <AC10> { [ ae, AE, dead_acute, dead_doubleacute ] };
key <AC11> { [ oslash, Ooblique, dead_circumflex, dead_caron ] };
key <TLDE> { [ onehalf, section, threequarters, paragraph ] };
key <BKSL> { [apostrophe, asterisk, dead_doubleacute, multiply ] };
key <LSGT> { [ less, greater, backslash, notsign ] };
include "kpdl(comma)"
include "level3(ralt_switch)"
};
partial alphanumeric_keys
xkb_symbols "nodeadkeys" {
include "dk(basic)"
name[Group1]="Danish (eliminate dead keys)";
key <AE12> { [ acute, grave, bar, ogonek ] };
key <AD11> { [ aring, Aring, diaeresis, degree ] };
key <AD12> { [ diaeresis, asciicircum, asciitilde, macron ] };
key <AC10> { [ ae, AE, acute, doubleacute ] };
key <AC11> { [ oslash, Ooblique, asciicircum, caron ] };
key <BKSL> { [apostrophe, asterisk, doubleacute, multiply ] };
key <AB08> { [ comma, semicolon, cedilla, ogonek ] };
key <AB09> { [ period, colon, periodcentered, abovedot ] };
};
partial alphanumeric_keys
xkb_symbols "winkeys" {
include "dk(basic)"
name[Group1] = "Danish (Winkeys)";
include "eurosign(5)"
};
// Copied from macintosh_vndr/dk
partial alphanumeric_keys
xkb_symbols "mac" {
include "dk"
name[Group1]= "Danish (Macintosh)";
key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
key <AB10> { [ minus, underscore, hyphen, macron ] };
include "kpdl(dot)"
};
partial alphanumeric_keys
xkb_symbols "mac_nodeadkeys" {
include "dk(mac)"
name[Group1]= "Danish (Macintosh, eliminate dead keys)";
key <AE12> { [ acute, grave, bar, ogonek ] };
key <AD12> { [diaeresis, asciicircum, asciitilde, dead_macron ] };
};
partial alphanumeric_keys
xkb_symbols "dvorak" {
include "no(dvorak)"
name[Group1]= "Danish (Dvorak)";
key <AD12> { [ asciitilde, asciicircum, dead_diaeresis, dead_tilde ] };
};
// EXTRAS:
partial alphanumeric_keys
xkb_symbols "sun_type6" {
include "sun_vndr/dk(sun_type6)"
};
// --> OEystein Bech "DreymaR" Gadmar, 2012-01: Additions to xkb/symbols/dk
// Colemak[eD]: National/locale Colemak "edition DreymaR" variants for Danish.
// 2006-01-01 Shai Coleman, http://colemak.com/
// See the Colemak forum topic on Cmk[eD] locales: http://forum.colemak.com/viewtopic.php?id=1458
// The 'keep local symbols' variant keeps the national symbol and special letter setup.
partial alphanumeric_keys
xkb_symbols "cmk_ed_ks" {
include "dk(basic)"
include "colemak(cmk_ed_letters)"
name[Group1]= "Danish (Colemak[eD], keep local symbols)";
// NOTE: Symbols on letter keys may be lost in cmk_ed_ks if they are not on Colemak[eD] letter keys.
// EuroSign is often on 'E'. The latin(intl) and locale(winkeys) layout variants use '5'.
// Colemak[eD] has EuroSign on 'E' and mu on '5'.
// key <AE05> { [ NoSymbol, NoSymbol, mu, onehalf ] };
// key <AE05> { [ NoSymbol, NoSymbol, EuroSign, onehalf ] }; // onehalf is moved, cent is on 'c'
key <AD10> { [ ae, AE, dead_acute, dead_doubleacute ] }; // from <AC10>
};
// The 'us' variant uses the US-type symbol key setup (recommended!) as it is nearly an intl. standard.
// For Danish, necessary local letters are added to designated flexible spots in the layout.
// For "writing" and "coding" subvariants, move the brackets between lv1-2 and lv3-4 as shown.
partial alphanumeric_keys
xkb_symbols "cmk_ed_us" {
include "colemak(cmk_ed_letters)"
include "colemak(cmk_ed_symbols)"
include "level3(ralt_switch)"
name[Group1]= "Danish (Colemak[eD], unified symbols)";
// key <LSGT> { [ ae, AE, oe, OE ] }; // from <AC10>
// key <AD12> { [ oslash, Ooblique, bracketright, braceright ] }; // from <AC11>
// key <AD11> { [ bracketleft, braceleft, aring, Aring ] };
// key <AD12> { [ bracketright, braceright, ae, AE ] };
key <AD11> { [ aring, Aring, bracketleft, braceleft ] }; // from <AD10>
key <AD12> { [ ae, AE, bracketright, braceright ] }; // from <AC10>
key <LSGT> { [ oslash, Ooblique, oe, OE ] }; // from <AC11>
key <AC01> { [ a, A, dstroke, Greek_alpha ] }; // ae/AE moved
// NOTE: The Scandinavian layouts (dk/fi/no/se) have been harmonized. This shouldn't affect typing efficiency.
};
// <-- DreymaR: Additions to xkb/symbols/dk