aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/symbols/macintosh_vndr/pt
blob: 8c3b7173c466faeae9d54c2b99feba1d987237a8 (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
// mac version from Ricardo Cabral <bfe00991@mail.telepac.pt>

partial default alphanumeric_keys 
xkb_symbols "basic" {

    // Describes the differences between a very simple en_US
    // keyboard and a very simple Portuguese keybaord

    include "latin"

    name[Group1]= "Portugal - Mac";

    key <LSGT> {	[	     less,	   greater, 	      bar,       brokenbar	]	};
    key <AE02> {	[               2,	  quotedbl, 	       at,       oneeighth	]	};
    key <AE04> {	[               4,	    dollar,          section,          dollar	]	};
    key <AE03> {	[               3,	numbersign,         sterling,        sterling     	]	};
    key <AE06> {	[               6,       ampersand     	]	};
    key <AE07> {	[               7,           slash     	]	};
    key <AE08> {	[               8,       parenleft,      bracketleft,       braceleft     	]	};
    key <AE09> {	[               9,      parenright,     bracketright,      braceright     	]	};
    key <AE10> {	[               0,           equal      ]	};
    key <AE11> {	[      apostrophe,        question      ]	};
    key <AE12> {	[	     plus,        asterisk,             dead_diaeresis             ]	};
    key <AB08> {	[           comma,       semicolon     	]	};
    key <AB09> {	[          period,           colon      ]	};
    key <AB10> {	[           minus,      underscore      ]	};
    key <AC10> {	[        ccedilla,        Ccedilla      ]	};
    key <AC11> {	[      dead_tilde, dead_circumflex	]	};
    key <AC12> {	[       backslash,	       bar     	]	};
    key <AD11> {	[       masculine,     ordfeminine      ]	};
    key <AD12> {	[      dead_acute,      dead_grave 	]	};
    // End alphanumeric section

    include "eurosign(e)"
    include "level3(ralt_switch)"
};

partial alphanumeric_keys 
xkb_symbols "Sundeadkeys" {
    include "macintosh_vndr/pt(basic)" // for consistent naming
    name[Group1]= "Portugal - Mac, Sun dead keys";
    
    key <AE12> {	[	     plus,        asterisk,  SunFA_Diaeresis, SunFA_Diaeresis      ]	};
    key <AC11> {	[     SunFA_Tilde,    SunFA_Circum	]	};
    key <AD12> {	[     SunFA_Acute,     SunFA_Grave 	]	};
};

partial alphanumeric_keys 
xkb_symbols "sundeadkeys" {
    include "macintosh_vndr/pt(Sundeadkeys)" // for consistent naming
};

partial alphanumeric_keys 
xkb_symbols "nodeadkeys" {
    include "macintosh_vndr/pt(basic)" // for consistent naming
    name[Group1]= "Portugal - Mac, eliminate dead keys";

    key <AE12> {	[	     plus,        asterisk, 	 quotedbl,        quotedbl      ]	};
    key <AC11> {	[      asciitilde,     asciicircum	]	};
    key <AD12> {	[	    acute,           grave 	]	};
};