Bogus SunFA keys removed
[xorg/xkeyboard-config] / symbols / pt
1 // $XKeyboardConfig$
2
3 // based on a keyboard map from an 'xkb/symbols/pt' file
4 //
5 // $XFree86: xc/programs/xkbcomp/symbols/pt,v 1.2 2002/11/22 04:03:28 dawes Exp $
6
7 partial default alphanumeric_keys
8 xkb_symbols "basic" {
9
10     include "latin(type4)"
11
12     name[Group1]="Portugal";
13
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 ] };
19
20     key <AD11>  { [      plus,   asterisk, dead_diaeresis, dead_abovering ] };
21     key <AD12>  { [dead_acute, dead_grave,   dead_tilde,  dead_macron ] };
22
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 ] };
26
27     key <BKSL>  { [dead_tilde, dead_circumflex, dead_grave, dead_breve] };
28
29     include "level3(ralt_switch)"
30 };
31
32 partial alphanumeric_keys
33 xkb_symbols "Sundeadkeys" {
34
35     include "pt(basic)" // for consistent naming
36
37     key <AD11>  { [plus,   asterisk, dead_diaeresis, dead_diaeresis ]   };
38     key <BKSL>  { [dead_tilde, dead_circumflex ]        };
39     key <AD12>  { [dead_acute, dead_grave ]     };
40 };
41
42 partial alphanumeric_keys
43 xkb_symbols "sundeadkeys" {
44     include "pt(Sundeadkeys)" // for consistent naming
45
46     name[Group1]="Portugal - Sun dead keys";
47 };
48
49 partial alphanumeric_keys
50 xkb_symbols "nodeadkeys" {
51
52     include "pt(basic)" // for consistent naming
53
54     name[Group1]="Portugal - Eliminate dead keys";
55
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 ] };
63 };
64
65 // mac version from Ricardo Cabral <bfe00991@mail.telepac.pt>
66 // Copied from macintosh_vndr/pt
67 partial alphanumeric_keys 
68 xkb_symbols "mac" {
69
70     // Describes the differences between a very simple en_US
71     // keyboard and a very simple Portuguese keybaord
72
73     include "pt"
74     name[Group1]= "Portugal - Macintosh";
75
76     key <AE06>  { [         6,  ampersand, threequarters, fiveeighths ] };
77     key <AE08>  { [         8,  parenleft,  bracketleft,    braceleft ] };
78     key <AE09>  { [         9, parenright, bracketright,   braceright ] };
79     key <AE12>  { [      plus,   asterisk, dead_diaeresis     ] };
80     key <AC11>  { [ dead_tilde, dead_circumflex       ] };
81     key <AD11>  { [ masculine, ordfeminine            ] };
82     key <BKSL>  { [ backslash,        bar,   dead_grave,   dead_breve ] };
83     key <TLDE>  { [     grave, asciitilde,      notsign,      notsign ] };
84 };
85
86 partial alphanumeric_keys 
87 xkb_symbols "mac_sundeadkeys" {
88     include "pt(mac)"
89     name[Group1]= "Portugal - Macintosh, Sun dead keys";
90     
91     key <AE12> {        [            plus,        asterisk,  dead_diaeresis, dead_diaeresis      ]      };
92     key <AC11> {        [     dead_tilde,    dead_circumflex    ]       };
93     key <AD12> {        [     dead_acute,     dead_grave        ]       };
94 };
95
96 partial alphanumeric_keys 
97 xkb_symbols "mac_nodeadkeys" {
98     include "pt(mac)"
99     name[Group1]= "Portugal - Macintosh, eliminate dead keys";
100
101     key <AE12> {        [            plus,        asterisk,      quotedbl,        quotedbl      ]       };
102     key <AC11> {        [      asciitilde,     asciicircum      ]       };
103     key <AD12> {        [           acute,           grave      ]       };
104 };
105
106
107 //
108 // Teclado Nativo Portugues                                2005-07-19
109 // Portuguese Nativo Keyboard
110 //      This is a Dvorak-based layout, designed for the Portuguese language
111 //
112 // Ari Caldeira     ari@tecladobrasileiro.com.br
113 //
114 partial alphanumeric_keys
115 xkb_symbols "nativo" {
116
117     name[Group1]="Portugal - Nativo";
118
119 // Numeric row
120     key <TLDE> { [         plus,        asterisk,       dead_diaeresis,        plusminus ] };
121     key <AE01> { [            1,          exclam,          onesuperior,       exclamdown ] };
122     key <AE02> { [            2,        quotedbl,                   at,      twosuperior ] };
123     key <AE03> { [            3,      numbersign,             sterling,    threesuperior ] };
124     key <AE04> { [            4,          dollar,              section,       onequarter ] };
125     key <AE05> { [            5,         percent,                 cent,       0x01002030 ] };
126     key <AE06> { [            6,       ampersand,              notsign,        diaeresis ] };
127     key <AE07> { [            7,           slash,            braceleft,       0x0100032D ] };
128     key <AE08> { [            8,       parenleft,          bracketleft,       0x01000331 ] };
129     key <AE09> { [            9,      parenright,         bracketright,        dead_horn ] };
130     key <AE10> { [            0,           equal,           braceright,        dead_hook ] };
131     key <AE11> { [    masculine,     ordfeminine,          dead_ogonek,       0x01000326 ] };
132     key <AE12> { [         less,         greater,         dead_cedilla,   dead_abovering ] };
133
134 // Upper row
135     key <AD01> { [   apostrophe,        question,               degree,     questiondown ] };
136     key <AD02> { [        comma,       semicolon,           0x01000329,       0x01000315 ] };
137     key <AD03> { [       period,           colon,           0x01002022,   periodcentered ] };
138     key <AD04> { [            h,               H,            paragraph,        paragraph ] };
139     key <AD05> { [            x,               X,             multiply,         division ] };
140     key <AD06> { [            w,               W,               ubreve,           Ubreve ] };
141     key <AD07> { [            l,               L,              lstroke,          Lstroke ] };
142     key <AD08> { [            t,               T,            trademark,        trademark ] };
143     key <AD09> { [            c,               C,            copyright,        copyright ] };
144     key <AD10> { [            p,               P,                thorn,            THORN ] };
145     key <AD11> { [   dead_tilde, dead_circumflex,           dead_caron, dead_doubleacute ] };
146     key <AD12> { [        minus,      underscore,           0x01002015,       0x01000336 ] };
147
148 // Central row
149     key <AC01> { [            i,               I,             idotless,        Iabovedot ] };
150     key <AC02> { [            e,               E,             EuroSign,         EuroSign ] };
151     key <AC03> { [            a,               A,                   ae,               AE ] };
152     key <AC04> { [            o,               O,                   oe,               OE ] };
153     key <AC05> { [            u,               U,               oslash,         Ooblique ] };
154     key <AC06> { [            m,               M,                   mu,               mu ] };
155     key <AC07> { [            d,               D,                  eth,              ETH ] };
156     key <AC08> { [            s,               S,               ssharp,           ssharp ] };
157     key <AC09> { [            r,               R,           registered,       registered ] };
158     key <AC10> { [            n,               N,                  eng,              ENG ] };
159     key <AC11> { [   dead_acute,      dead_grave,          dead_macron,       dead_breve ] };
160     key <BKSL> { [    backslash,             bar,        dead_belowdot,    dead_abovedot ] };
161
162 // Lower row
163     key <LSGT> { [ guillemotleft, guillemotright,           0x01002039,       0x0100203A ] };
164     key <AB01> { [            y,               Y,                  yen,              yen ] };
165     key <AB02> { [     ccedilla,        Ccedilla                                         ] };
166     key <AB03> { [            j,               J,           0x01000292,       0x010001B7 ] };
167     key <AB04> { [            b,               B,           apostrophe,         quotedbl ] };
168     key <AB05> { [            k,               K,             currency,        brokenbar ] };
169     key <AB06> { [            q,               Q,           0x01000259,       0x0100018F ] };
170     key <AB07> { [            v,               V,   doublelowquotemark, singlelowquotemark ] };
171     key <AB08> { [            g,               G,  leftdoublequotemark, leftsinglequotemark ] };
172     key <AB09> { [            f,               F, rightdoublequotemark, rightsinglequotemark ] };
173     key <AB10> { [            z,               Z,           0x0100201F,       0x0100201B ] };
174
175     key <SPCE> { [        space,           space,         nobreakspace,     nobreakspace ] };
176
177 // Configures the use of the AltGr key
178     include "level3(ralt_switch)"
179
180 };
181
182
183 //
184 // Teclado Nativo Portugues para o teclado estadunidense   2005-07-19
185 // Portuguese Nativo Keyboard for USA keyboards
186 //
187 // Ari Caldeira     ari@tecladobrasileiro.com.br
188 //
189 partial alphanumeric_keys
190 xkb_symbols "nativo-us" {
191     include "pt(nativo)"
192
193     name[Group1]="Portugal - Nativo for USA keyboards";
194
195 // Lower row
196     key <AB01> { [            y,               Y,              ccedilla,        Ccedilla ] };
197     key <AB02> { [ guillemotleft, guillemotright,           0x01002039,       0x0100203A ] };
198
199 };
200
201
202 //
203 // Teclado Nativo Portugues para digitacao em Esperanto    2005-07-19
204 // Portuguese Nativo Keyboard for typing Esperanto
205 //
206 // Ari Caldeira     ari@tecladobrasileiro.com.br
207 //
208 partial alphanumeric_keys
209 xkb_symbols "nativo-epo" {
210     include "pt(nativo)"
211
212     name[Group1]="Portugal - Nativo for Esperanto";
213
214 // Upper row Esperanto
215     key <AD04> { [            h,               H,          hcircumflex,      Hcircumflex ] };
216     key <AD05> { [  ccircumflex,     Ccircumflex,                    x,                X ] };
217     key <AD06> { [       ubreve,          Ubreve,                    w,                W ] };
218
219 // Lower row Esperanto
220     key <AB01> { [  jcircumflex,     Jcircumflex,                    y,                Y ] };
221     key <AB02> { [  scircumflex,     Scircumflex,             ccedilla,         Ccedilla ] };
222     key <AB06> { [  gcircumflex,     Gcircumflex,                    q,                Q ] };
223
224 };