From 1c3532c0d7b20fcced94a24f16bae482812eff87 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Wed, 16 Feb 2011 11:10:57 -0800 Subject: [PATCH] Improved support for Lao keymap 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 --- rules/base.xml.in | 19 +++++++++++++- symbols/la | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+), 1 deletion(-) diff --git a/rules/base.xml.in b/rules/base.xml.in index 1ce39d5..7a5416a 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -3061,7 +3061,24 @@ <_description>Laos lao - + + + + basic + <_description>Laos + lao + + + + + + stea + <_description>Laos - STEA (proposed standard layout) + lao + + + + diff --git a/symbols/la b/symbols/la index b050cc4..a5687b9 100644 --- a/symbols/la +++ b/symbols/la @@ -75,3 +75,80 @@ override key { [ 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 { [ quotedbl, apostrophe ]}; + key { [ 0x1000ea2, 1, 0x1000ed1 ]}; + key { [ 0x1000e9f, 2, 0x1000ed2 ]}; + key { [ 0x1000ec2, 3, 0x1000ed3 ]}; + key { [ 0x1000e96, 4, 0x1000ed4 ]}; + key { [ 0x1000eb8, 0x1000ecc, 0x1000ed5 ]}; + key { [ 0x1000eb9, 0x1000ebc, 0x1000ed6 ]}; + key { [ 0x1000e84, 5, 0x1000ed7 ]}; + key { [ 0x1000e95, 6, 0x1000ed8 ]}; + key { [ 0x1000e88, 7, 0x1000ed9 ]}; + key { [ 0x1000e82, 8, 0x1000ed0 ]}; + key { [ 0x1000e8a, 9 ]}; + key { [ 0x1000ecd ]}; + + key { [ 0x1000ebb ]}; + key { [ 0x1000ec4, 0 ]}; + key { [ 0x1000eb3, asterisk ]}; + key { [ 0x1000e9e, underscore ]}; + key { [ 0x1000eb0, plus ]}; + key { [ 0x1000eb4 ]}; + key { [ 0x1000eb5 ]}; + key { [ 0x1000eae, 0x1000ea3 ]}; + key { [ 0x1000e99, 0x1000edc ]}; + key { [ 0x1000e8d, 0x1000ebd ]}; + key { [ 0x1000e9a, minus ]}; + key { [ 0x1000ea5 ]}; + key { [ slash, backslash ]}; + + key { [ 0x1000eb1 ]}; + key { [ 0x1000eab, semicolon ]}; + key { [ 0x1000e81, period ]}; + key { [ 0x1000e94, comma ]}; + key { [ 0x1000ec0, colon ]}; + key { [ 0x1000ec9, 0x1000eca ]}; + key { [ 0x1000ec8, 0x1000ecb ]}; + key { [ 0x1000eb2, exclam ]}; + key { [ 0x1000eaa, question ]}; + key { [ 0x1000ea7, percent ]}; + key { [ 0x1000e87, equal ]}; + + key { [ 0x1000e9c, 0x10020ad ]}; + key { [ 0x1000e9b, parenleft ]}; + key { [ 0x1000ec1, 0x1000eaf ]}; + key { [ 0x1000ead, x ]}; + key { [ 0x1000eb6 ]}; + key { [ 0x1000eb7 ]}; + key { [ 0x1000e97, 0x1000ec6 ]}; + key { [ 0x1000ea1, 0x1000edd ]}; + key { [ 0x1000ec3, dollar ]}; + key { [ 0x1000e9d, parenright ]}; + + key { [ space, nobreakspace, nobreakspace ]}; + + key { [ comma, period ]}; + + include "level3(ralt_switch)" + +}; -- 2.7.4