3 // based on a keyboard map from an 'xkb/symbols/pt' file
5 // $XFree86: xc/programs/xkbcomp/symbols/pt,v 1.2 2002/11/22 04:03:28 dawes Exp $
7 partial default alphanumeric_keys
10 include "latin(type4)"
12 name[Group1]="Portugal";
14 key <LSGT> { [ less, greater ] };
15 key <AE03> { [ 3, numbersign, sterling, sterling ] };
16 key <AE04> { [ 4, dollar, section, dollar ] };
17 key <AE11> { [apostrophe, question, backslash, questiondown ] };
18 key <AE12> { [guillemotleft, guillemotright, dead_cedilla, dead_ogonek ] };
20 key <AD11> { [ plus, asterisk, dead_diaeresis, dead_abovering ] };
21 key <AD12> { [dead_acute, dead_grave, dead_tilde, dead_macron ] };
23 key <AC10> { [ ccedilla, Ccedilla, dead_acute, dead_doubleacute ] };
24 key <AC11> { [ masculine, ordfeminine, dead_circumflex, dead_caron ] };
25 key <TLDE> { [ backslash, bar, notsign, notsign ] };
27 key <BKSL> { [dead_tilde, dead_circumflex, dead_grave, dead_breve] };
29 include "level3(ralt_switch)"
32 partial alphanumeric_keys
33 xkb_symbols "Sundeadkeys" {
35 include "pt(basic)" // for consistent naming
37 key <AD11> { [plus, asterisk, SunFA_Diaeresis, SunFA_Diaeresis ] };
38 key <BKSL> { [SunFA_Tilde, SunFA_Circum ] };
39 key <AD12> { [SunFA_Acute, SunFA_Grave ] };
42 partial alphanumeric_keys
43 xkb_symbols "sundeadkeys" {
44 include "pt(Sundeadkeys)" // for consistent naming
46 name[Group1]="Portugal - Sun dead keys";
49 partial alphanumeric_keys
50 xkb_symbols "nodeadkeys" {
52 include "pt(basic)" // for consistent naming
54 name[Group1]="Portugal - Eliminate dead keys";
56 key <AE12> { [guillemotleft, guillemotright, cedilla, ogonek ] };
57 key <AD11> { [ plus, asterisk, quotedbl, quotedbl ] };
58 key <AD12> { [ acute, grave ] };
59 key <AC10> { [ ccedilla, Ccedilla, acute, doubleacute ] };
60 key <AC11> { [ masculine, ordfeminine, asciicircum, caron ] };
61 key <BKSL> { [asciitilde, asciicircum ] };
62 key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] };
65 // mac version from Ricardo Cabral <bfe00991@mail.telepac.pt>
66 // Copied from macintosh_vndr/pt
67 partial alphanumeric_keys
70 // Describes the differences between a very simple en_US
71 // keyboard and a very simple Portuguese keybaord
75 name[Group1]= "Portugal - Mac";
77 key <LSGT> { [ less, greater, bar, brokenbar ] };
78 key <AE02> { [ 2, quotedbl, at, oneeighth ] };
79 key <AE04> { [ 4, dollar, section, dollar ] };
80 key <AE03> { [ 3, numbersign, sterling, sterling ] };
81 key <AE06> { [ 6, ampersand ] };
82 key <AE07> { [ 7, slash ] };
83 key <AE08> { [ 8, parenleft, bracketleft, braceleft ] };
84 key <AE09> { [ 9, parenright, bracketright, braceright ] };
85 key <AE10> { [ 0, equal ] };
86 key <AE11> { [ apostrophe, question ] };
87 key <AE12> { [ plus, asterisk, dead_diaeresis ] };
88 key <AB08> { [ comma, semicolon ] };
89 key <AB09> { [ period, colon ] };
90 key <AB10> { [ minus, underscore ] };
91 key <AC10> { [ ccedilla, Ccedilla ] };
92 key <AC11> { [ dead_tilde, dead_circumflex ] };
93 key <AC12> { [ backslash, bar ] };
94 key <AD11> { [ masculine, ordfeminine ] };
95 key <AD12> { [ dead_acute, dead_grave ] };
96 // End alphanumeric section
98 include "level3(ralt_switch)"
101 partial alphanumeric_keys
102 xkb_symbols "mac_sundeadkeys" {
104 name[Group1]= "Portugal - Mac, Sun dead keys";
106 key <AE12> { [ plus, asterisk, SunFA_Diaeresis, SunFA_Diaeresis ] };
107 key <AC11> { [ SunFA_Tilde, SunFA_Circum ] };
108 key <AD12> { [ SunFA_Acute, SunFA_Grave ] };
111 partial alphanumeric_keys
112 xkb_symbols "mac_nodeadkeys" {
114 name[Group1]= "Portugal - Mac, eliminate dead keys";
116 key <AE12> { [ plus, asterisk, quotedbl, quotedbl ] };
117 key <AC11> { [ asciitilde, asciicircum ] };
118 key <AD12> { [ acute, grave ] };