| 1 |
// mac version from Ricardo Cabral <[email protected]> |
| 2 |
|
| 3 |
default partial alphanumeric_keys |
| 4 |
xkb_symbols "basic" { |
| 5 |
|
| 6 |
// Describes the differences between a very simple en_US |
| 7 |
// keyboard and a very simple Portuguese keyboard. |
| 8 |
|
| 9 |
include "latin" |
| 10 |
|
| 11 |
name[Group1]= "Portuguese (Macintosh)"; |
| 12 |
|
| 13 |
key <LSGT> { [ less, greater, bar, brokenbar ] }; |
| 14 |
key <AE02> { [ 2, quotedbl, at, oneeighth ] }; |
| 15 |
key <AE03> { [ 3, numbersign, sterling, sterling ] }; |
| 16 |
key <AE04> { [ 4, dollar, section, dollar ] }; |
| 17 |
key <AE06> { [ 6, ampersand ] }; |
| 18 |
key <AE07> { [ 7, slash ] }; |
| 19 |
key <AE08> { [ 8, parenleft, bracketleft, braceleft ] }; |
| 20 |
key <AE09> { [ 9, parenright, bracketright, braceright ] }; |
| 21 |
key <AE10> { [ 0, equal ] }; |
| 22 |
key <AE11> { [ apostrophe, question ] }; |
| 23 |
key <AE12> { [ plus, asterisk, dead_diaeresis ] }; |
| 24 |
key <AB08> { [ comma, semicolon ] }; |
| 25 |
key <AB09> { [ period, colon ] }; |
| 26 |
key <AB10> { [ minus, underscore ] }; |
| 27 |
key <AC10> { [ ccedilla, Ccedilla ] }; |
| 28 |
key <AC11> { [ dead_tilde, dead_circumflex ] }; |
| 29 |
key <AC12> { [ backslash, bar ] }; |
| 30 |
key <AD11> { [ masculine, ordfeminine ] }; |
| 31 |
key <AD12> { [ dead_acute, dead_grave ] }; |
| 32 |
|
| 33 |
include "eurosign(e)" |
| 34 |
include "level3(ralt_switch)" |
| 35 |
}; |
| 36 |
|
| 37 |
partial alphanumeric_keys |
| 38 |
xkb_symbols "Sundeadkeys" { |
| 39 |
include "macintosh_vndr/pt(basic)" // for consistent naming |
| 40 |
name[Group1]= "Portuguese (Macintosh, Sun dead keys)"; |
| 41 |
|
| 42 |
key <AE12> {[ plus, asterisk, dead_diaeresis, dead_diaeresis ]}; |
| 43 |
key <AC11> {[ dead_tilde, dead_circumflex ]}; |
| 44 |
key <AD12> {[ dead_acute, dead_grave ]}; |
| 45 |
}; |
| 46 |
|
| 47 |
partial alphanumeric_keys |
| 48 |
xkb_symbols "sundeadkeys" { |
| 49 |
include "macintosh_vndr/pt(Sundeadkeys)" // for consistent naming |
| 50 |
}; |
| 51 |
|
| 52 |
partial alphanumeric_keys |
| 53 |
xkb_symbols "nodeadkeys" { |
| 54 |
include "macintosh_vndr/pt(basic)" // for consistent naming |
| 55 |
name[Group1]= "Portuguese (Macintosh, no dead keys)"; |
| 56 |
|
| 57 |
key <AE12> { [ plus, asterisk, quotedbl, quotedbl ] }; |
| 58 |
key <AC11> { [ asciitilde, asciicircum ] }; |
| 59 |
key <AD12> { [ acute, grave ] }; |
| 60 |
}; |