[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476702: xkeyboard-config: add a shs_CA layout to symbols/ca



Package: xkeyboard-config
Version: 1.1~cvs.20080104.1-1
Severity: wishlist
Tags: patch


Pleae add the shs layout to symbols/ca.  The layout has been submitted and
accepted upstream and in Ubuntu as well.

http://bugs.freedesktop.org/show_bug.cgi?id=14308
https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/187430

Attached is a patch for rules/base.xml.in and symbols/ca.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-486
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
diff --git a/rules/base.xml.in b/rules/base.xml.in
index 74001be..fc61740 100644
--- a/rules/base.xml.in
+++ b/rules/base.xml.in
@@ -1592,6 +1592,12 @@
             <_description>Inuktitut</_description>
           </configItem>
         </variant>
+        <variant>
+          <configItem>
+            <name>shs</name>
+            <_description>Secwepemctsin</_description>
+          </configItem>
+        </variant>
       </variantList>
     </layout>
     <layout>
diff --git a/symbols/ca b/symbols/ca
index 6b1de8e..58483e9 100644
--- a/symbols/ca
+++ b/symbols/ca
@@ -453,3 +453,27 @@ xkb_symbols "multix" {
     include "level5(rctrl_switch)"
 };
 
+// Secwepemctsin keyboard for X11
+// written by Neskie Manuel <neskiem@gmail.com>
+
+partial alphanumeric_keys
+xkb_symbols "shs" {
+
+    include "us"
+
+    name[Group1]= "Canada - Secwepemctsin";
+
+    key <AD01> {	[   q,	Q, UF7EB, UF7EA ]	};
+    key <AD02> {	[   w,	W, UF83B, UF83A ]	};
+    key <AD04> {	[   r,	R, UF7FB, UF7FA ]	};
+    key <AD05> {	[   t,	T, UF81B, UF81A ]	};
+    key <AD06> {	[   y,	Y, UF6AB, UF6AA ]	};
+    key <AD10> {	[   p,	P, UF7DB, UF7DA ]	};
+    key <AC02> {	[   s,	S, UF80B, UF80A	]	};
+    key <AC05> {	[   g,	G, UF76B, UF76A	]	};
+    key <AC08> {	[   k,	K, UF79B, UF79A ]	};
+    key <AC09> {	[   l,	L, UF7AB, UF7AA ]	};
+    key <AB07> {	[   m,	M, UF7BB, UF7BA ]	};
+
+    include "level3(ralt_switch)"
+};

Reply to: