summaryrefslogtreecommitdiff
path: root/symbols/se
blob: e6818a2718b7c5f52a22dab85a490fa95acf7169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73

// based on a keyboard map from an 'xkb/symbols/se' file
//
// $XKeyboardConfig$
// $XFree86: xc/programs/xkbcomp/symbols/se,v 1.5 2003/01/26 02:01:48 dawes Exp $

partial alphanumeric_keys
xkb_symbols "basic" {
    include "latin(type2)"
    include "se(se)"
};

partial alphanumeric_keys
xkb_symbols "se" {

    name[Group1]="Swedish";

    key <AE05>	{ [         5,    percent,     EuroSign,         cent ]	};
    key <AE11>	{ [      plus,   question,    backslash, questiondown ]	};
    key <AE12>	{ [dead_acute, dead_grave,    plusminus,      notsign ]	};


    key <AC10>	{ [odiaeresis, Odiaeresis,       oslash,     Ooblique ]	};
    key <AC11>	{ [adiaeresis, Adiaeresis,           ae,           AE ]	};
    key <TLDE>	{ [   section,    onehalf,    paragraph, threequarters]	};

    key <BKSL>	{ [apostrophe,   asterisk,        acute,     multiply ]	};

    key <SPCE>	{ [     space,      space,        space, nobreakspace ]	};

    include "keypad(comma)"

    include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "nodeadkeys" {

    // Modifies the basic Swedish layout to eliminate all dead keys

    include "latin(type2)"
    include "latin(type2_nodeadkeys)"
    include "se(se)"

    key <AE12>	{ [     acute,      grave,    plusminus,      notsign ]	};

};

// Swedish Dvorak
partial alphanumeric_keys 
xkb_symbols "dvorak" {
    include "no(dvorak)"

    key <TLDE> { [     section,	onehalf		]	};

    key <AE04> { [	    4,	currency,   dollar,    onequarter	] };
    key <AE11> { [        plus,	question,   backslash, questiondown	] };
    key <AE12> { [  dead_acute, dead_grave, backslash, grave		] };

    key <AD01> { [  odiaeresis,  Odiaeresis, braceright, bracketright	] };
    key <AD02> { [       aring,	Aring	  	]	};
    key <AD03> { [  adiaeresis,	Adiaeresis	]	};
    key <AD11> { [           q,	Q       	]	};
    key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde, asciicircum ] };

    key <AB01> { [     comma,    semicolon, dead_cedilla, cedilla	] };
    key <AB02> { [    period,    colon,     periodcentered		] };

    key <BKSL> { [      less,	greater,    bar,	brokenbar	] };

    key <LSGT> { [ apostrophe,   asterisk,  bar,	backslash	] };

};