Skip to content

Commit

Permalink
Improved support for Lao keymap
Browse files Browse the repository at this point in the history
Adds two new characters to the Lao keyboard layout, in the shift-O and
shift-, positions.

Bug: #34353
Ref.: https://bugs.launchpad.net/ubuntu/+bug/341741

Signed-off-by: Bryce Harrington <[email protected]>
  • Loading branch information
bryceharrington authored and Sergey V. Udaltsov committed Feb 18, 2011
1 parent 2df25f0 commit 1c3532c
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 1 deletion.
19 changes: 18 additions & 1 deletion rules/base.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -3061,7 +3061,24 @@
<_description>Laos</_description>
<languageList><iso639Id>lao</iso639Id></languageList>
</configItem>
<variantList/>
<variantList>
<variant>
<configItem>
<name>basic</name>
<_description>Laos</_description>
<languageList><iso639Id>lao</iso639Id>
</languageList>
</configItem>
</variant>
<variant>
<configItem>
<name>stea</name>
<_description>Laos - STEA (proposed standard layout)</_description>
<languageList><iso639Id>lao</iso639Id>
</languageList>
</configItem>
</variant>
</variantList>
</layout>
<layout>
<configItem>
Expand Down
77 changes: 77 additions & 0 deletions symbols/la
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,80 @@ override key <RTSH> {
[ Shift_R, ISO_Last_Group ]
};
};

partial
xkb_symbols "stea" {

// Describes the differences between a very simple US/ASCII
// keyboard and a Lao keyboard
// This keymap uses the proposed Lao keyboard standard by the
// PAN Localization Project
// Science Technology and Environment Agency of Lao PDR
// National University Computer and Emergency Science of Pakistan
// International Development Research Center
// Caveat: assigning multiple codepoints to a single key doesn't
// work in XKB. Therefor the combining codepoint assignments
// have been omitted.


name[Group1]= "Laos - STEA (proposed standard layout)";

// Alphanumeric section
key <TLDE> { [ quotedbl, apostrophe ]};
key <AE01> { [ 0x1000ea2, 1, 0x1000ed1 ]};
key <AE02> { [ 0x1000e9f, 2, 0x1000ed2 ]};
key <AE03> { [ 0x1000ec2, 3, 0x1000ed3 ]};
key <AE04> { [ 0x1000e96, 4, 0x1000ed4 ]};
key <AE05> { [ 0x1000eb8, 0x1000ecc, 0x1000ed5 ]};
key <AE06> { [ 0x1000eb9, 0x1000ebc, 0x1000ed6 ]};
key <AE07> { [ 0x1000e84, 5, 0x1000ed7 ]};
key <AE08> { [ 0x1000e95, 6, 0x1000ed8 ]};
key <AE09> { [ 0x1000e88, 7, 0x1000ed9 ]};
key <AE10> { [ 0x1000e82, 8, 0x1000ed0 ]};
key <AE11> { [ 0x1000e8a, 9 ]};
key <AE12> { [ 0x1000ecd ]};

key <AD01> { [ 0x1000ebb ]};
key <AD02> { [ 0x1000ec4, 0 ]};
key <AD03> { [ 0x1000eb3, asterisk ]};
key <AD04> { [ 0x1000e9e, underscore ]};
key <AD05> { [ 0x1000eb0, plus ]};
key <AD06> { [ 0x1000eb4 ]};
key <AD07> { [ 0x1000eb5 ]};
key <AD08> { [ 0x1000eae, 0x1000ea3 ]};
key <AD09> { [ 0x1000e99, 0x1000edc ]};
key <AD10> { [ 0x1000e8d, 0x1000ebd ]};
key <AD11> { [ 0x1000e9a, minus ]};
key <AD12> { [ 0x1000ea5 ]};
key <BKSL> { [ slash, backslash ]};

key <AC01> { [ 0x1000eb1 ]};
key <AC02> { [ 0x1000eab, semicolon ]};
key <AC03> { [ 0x1000e81, period ]};
key <AC04> { [ 0x1000e94, comma ]};
key <AC05> { [ 0x1000ec0, colon ]};
key <AC06> { [ 0x1000ec9, 0x1000eca ]};
key <AC07> { [ 0x1000ec8, 0x1000ecb ]};
key <AC08> { [ 0x1000eb2, exclam ]};
key <AC09> { [ 0x1000eaa, question ]};
key <AC10> { [ 0x1000ea7, percent ]};
key <AC11> { [ 0x1000e87, equal ]};

key <AB01> { [ 0x1000e9c, 0x10020ad ]};
key <AB02> { [ 0x1000e9b, parenleft ]};
key <AB03> { [ 0x1000ec1, 0x1000eaf ]};
key <AB04> { [ 0x1000ead, x ]};
key <AB05> { [ 0x1000eb6 ]};
key <AB06> { [ 0x1000eb7 ]};
key <AB07> { [ 0x1000e97, 0x1000ec6 ]};
key <AB08> { [ 0x1000ea1, 0x1000edd ]};
key <AB09> { [ 0x1000ec3, dollar ]};
key <AB10> { [ 0x1000e9d, parenright ]};

key <SPCE> { [ space, nobreakspace, nobreakspace ]};

key <KPDL> { [ comma, period ]};

include "level3(ralt_switch)"

};

0 comments on commit 1c3532c

Please sign in to comment.