diff options
-rw-r--r-- | rules/base.extras.xml.in | 15 | ||||
-rw-r--r-- | symbols/pt | 42 |
2 files changed, 57 insertions, 0 deletions
diff --git a/rules/base.extras.xml.in b/rules/base.extras.xml.in index a3f8bc3e..4b4076bc 100644 --- a/rules/base.extras.xml.in +++ b/rules/base.extras.xml.in @@ -990,6 +990,21 @@ </layout> <layout> <configItem> + <name>pt</name> + <_shortDescription>pt</_shortDescription> + <_description>Portuguese</_description> + </configItem> + <variantList> + <variant> + <configItem> + <name>colemak</name> + <_description>Portuguese (Colemak)</_description> + </configItem> + </variant> + </variantList> + </layout> + <layout> + <configItem> <name>sk</name> <_shortDescription>sk</_shortDescription> <_description>Slovak</_description> @@ -211,3 +211,45 @@ partial alphanumeric_keys xkb_symbols "sun_type6" { include "sun_vndr/pt(sun_type6)" }; + +// +// Portuguese Colemak layout. +// +partial alphanumeric_keys +xkb_symbols "colemak" { + include "pt(basic)" + + name[Group1]="Portuguese (Colemak)"; + + key `<AD01>` { [ q, Q, at, Greek_OMEGA ] }; + key `<AD02>` { [ w, W, lstroke, Lstroke ] }; + key `<AD03>` { [ f, F, dstroke, ordfeminine ] }; + key `<AD04>` { [ p, P, thorn, THORN ] }; + key `<AD05>` { [ g, G, eng, ENG ] }; + key `<AD06>` { [ j, J, dead_hook, dead_horn ] }; + key `<AD07>` { [ l, L, lstroke, Lstroke ] }; + key `<AD08>` { [ u, U, downarrow, uparrow ] }; + key `<AD09>` { [ y, Y, leftarrow, yen ] }; + key `<AD10>` { [ ccedilla, Ccedilla, dead_acute, dead_doubleacute ] }; + + key `<AC01>` { [ a, A, ae, AE ] }; + key `<AC02>` { [ r, R, paragraph, registered ] }; + key `<AC03>` { [ s, S, ssharp, section ] }; + key `<AC04>` { [ t, T, tslash, Tslash ] }; + key `<AC05>` { [ d, D, eth, ETH ] }; + key `<AC06>` { [ h, H, hstroke, Hstroke ] }; + key `<AC07>` { [ n, N, n, N ] }; + key `<AC08>` { [ e, E, EuroSign, cent ] }; + key `<AC09>` { [ i, I, rightarrow, idotless ] }; + key `<AC10>` { [ o, O, oslash, Ooblique ] }; + + key `<AB01>` { [ z, Z, guillemotleft, less ] }; + key `<AB02>` { [ x, X, guillemotright, greater ] }; + key `<AB03>` { [ c, C, cent, copyright ] }; + key `<AB04>` { [ v, V, leftdoublequotemark, leftsinglequotemark ] }; + key `<AB05>` { [ b, B, rightdoublequotemark, rightsinglequotemark ] }; + key `<AB08>` { [ k, K, kra, ampersand ] }; + key `<AB07>` { [ m, M, mu, masculine ] }; + + key `<CAPS>` { [ BackSpace, BackSpace, BackSpace, BackSpace ] }; +}; |