dding bugfix for 6695363 P3 xserver/l10n-europe Kazakhstan keyboard support is needed for Solaris
author[ja208388]
Mon, 12 May 2008 13:20:46 +0200
changeset 157 b3dbb5970f9a
parent 156 ce9e02eedf52
child 158 eb6d1216b7c7
dding bugfix for 6695363 P3 xserver/l10n-europe Kazakhstan keyboard support is needed for Solaris
src/openwin/keytables/xkb/symbols/kz
src/openwin/keytables/xkb/symbols/sun/kz
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/openwin/keytables/xkb/symbols/kz	Mon May 12 13:20:46 2008 +0200
@@ -0,0 +1,176 @@
+//
+// Kazakhstan standard keyboard
+//
+// CDDL HEADER START
+//
+// The contents of this file are subject to the terms of the
+// Common Development and Distribution License (the "License").
+// You may not use this file except in compliance with the License.
+//
+// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
+// or http://www.opensolaris.org/os/licensing.
+// See the License for the specific language governing permissions
+// and limitations under the License.
+//
+// When distributing Covered Code, include this CDDL HEADER in each
+// file and include the License file at src/OPENSOLARIS.LICENSE.
+// If applicable, add the following below this CDDL HEADER, with the
+// fields enclosed by brackets "[]" replaced with your own identifying
+// information: Portions Copyright [yyyy] [name of copyright owner]
+//
+// CDDL HEADER END
+//
+
+
+partial default alphanumeric_keys 
+xkb_symbols "basic" {
+
+    // Describes the differences between a very simple en_US
+    // keyboard and a very simple Kazakhstan keyboard
+
+    name[Group1]= "US/ASCII";
+    name[Group2]= "Kazakhstan";
+
+
+
+    key <AE01> {        [                       1,                  exclam      ],
+                        [                quotedbl,                  exclam      ]       };
+    key <AE06> {        [                       6,             asciicircum      ],
+                        [                   comma,               semicolon      ]       };
+    key <AE07> {        [                       7,               ampersand      ],
+                        [                  period,                   colon      ]       };
+    key <AB10> {        [                   slash,                question      ], 
+                        [              numerosign,                question      ]       };
+
+key.type[group2]="ALPHABETIC";
+
+    key <TLDE> {        [               parenleft,              parenright      ],
+                        [             Cyrillic_io,             Cyrillic_IO      ]       };
+    key <AE02> {        [                       2,                      at      ],
+                        [          Cyrillic_schwa,          Cyrillic_SCHWA      ]       };
+    key <AE03> {        [                       3,              numbersign      ],
+                        [             Ukrainian_i,             Ukrainian_I      ]       };
+    key <AE04> {        [                       4,                  dollar      ],
+                        [   Cyrillic_en_descender,   Cyrillic_EN_descender      ]       };
+    key <AE05> {        [                       5,                 percent      ],
+                        [        Cyrillic_ghe_bar,        Cyrillic_GHE_bar      ]       };
+    key <AE08> {        [                       8,                asterisk      ],
+                        [     Cyrillic_u_straight,     Cyrillic_U_straight      ]       };
+    key <AE09> {        [                       9,               parenleft      ],
+                        [ Cyrillic_u_straight_bar, Cyrillic_U_straight_bar      ]       };
+    key <AE10> {        [                       0,              parenright      ],
+                        [   Cyrillic_ka_descender,   Cyrillic_KA_descender      ]       };
+    key <AE11> {        [                   minus,              underscore      ],
+                        [          Cyrillic_o_bar,          Cyrillic_O_bar      ]       };
+    key <AE12> {        [                   equal,                    plus      ],
+                        [           Cyrillic_shha,           Cyrillic_SHHA      ]       };
+    key <AD01> {        [                       q,                       Q      ],
+                        [         Cyrillic_shorti,         Cyrillic_SHORTI      ]       };
+    key <AD02> {        [                       w,                       W      ],
+                        [            Cyrillic_tse,            Cyrillic_TSE      ]       };
+    key <AD03> {        [                       e,                       E      ],
+                        [              Cyrillic_u,              Cyrillic_U      ]       };
+    key <AD04> {        [                       r,                       R      ],
+                        [             Cyrillic_ka,             Cyrillic_KA      ]       };
+    key <AD05> {        [                       t,                       T      ],
+                        [             Cyrillic_ie,             Cyrillic_IE      ]       };
+    key <AD06> {        [                       y,                       Y      ],
+                        [             Cyrillic_en,             Cyrillic_EN      ]       };
+    key <AD07> {        [                       u,                       U      ],
+                        [            Cyrillic_ghe,            Cyrillic_GHE      ]       };
+    key <AD08> {        [                       i,                       I      ],
+                        [            Cyrillic_sha,            Cyrillic_SHA      ]       };
+    key <AD09> {        [                       o,                       O      ],
+                        [          Cyrillic_shcha,          Cyrillic_SHCHA      ]       };
+    key <AD10> {        [                       p,                       P      ],
+                        [             Cyrillic_ze,             Cyrillic_ZE      ]       };
+    key <AD11> {        [             bracketleft,               braceleft      ],
+                        [             Cyrillic_ha,             Cyrillic_HA      ]       };
+    key <AD12> {        [            bracketright,              braceright      ],
+                        [       Cyrillic_hardsign,       Cyrillic_HARDSIGN      ]       };
+    key <AC01> {        [                       a,                       A      ],
+                        [             Cyrillic_ef,             Cyrillic_EF      ]       };
+    key <AC02> {        [                       s,                       S      ],
+                        [           Cyrillic_yeru,           Cyrillic_YERU      ]       };
+    key <AC03> {        [                       d,                       D      ],
+                        [             Cyrillic_ve,             Cyrillic_VE      ]       };
+    key <AC04> {        [                       f,                       F      ],
+                        [              Cyrillic_a,              Cyrillic_A      ]       };
+    key <AC05> {        [                       g,                       G      ],
+                        [             Cyrillic_pe,             Cyrillic_PE      ]       };
+    key <AC06> {        [                       h,                       H      ],
+                        [             Cyrillic_er,             Cyrillic_ER      ]       };
+    key <AC07> {        [                       j,                       J      ],
+                        [              Cyrillic_o,              Cyrillic_O      ]       };
+    key <AC08> {        [                       k,                       K      ],
+                        [             Cyrillic_el,             Cyrillic_EL      ]       };
+    key <AC09> {        [                       l,                       L      ],
+                        [             Cyrillic_de,             Cyrillic_DE      ]       };
+    key <AC10> {        [               semicolon,                   colon      ],
+                        [            Cyrillic_zhe,            Cyrillic_ZHE      ]       };
+    key <AC11> {        [              apostrophe,                quotedbl      ],
+                        [              Cyrillic_e,              Cyrillic_E      ]       };
+    key <AB01> {        [                       z,                       Z      ],
+                        [             Cyrillic_ya,             Cyrillic_YA      ]       };
+    key <AB02> {        [                       x,                       X      ],
+                        [            Cyrillic_che,            Cyrillic_CHE      ]       };
+    key <AB03> {        [                       c,                       C      ],
+                        [             Cyrillic_es,             Cyrillic_ES      ]       };
+    key <AB04> {        [                       v,                       V      ],
+                        [             Cyrillic_em,             Cyrillic_EM      ]       };
+    key <AB06> {        [                       n,                       N      ],
+                        [             Cyrillic_te,             Cyrillic_TE      ]       };
+    key <AB05> {        [                       b,                       B      ],
+                        [              Cyrillic_i,              Cyrillic_I      ]       };
+    key <AB07> {        [                       m,                       M      ],
+                        [       Cyrillic_softsign,       Cyrillic_SOFTSIGN      ]       };
+    key <AB08> {        [                   comma,                    less      ],
+                        [             Cyrillic_be,             Cyrillic_BE      ]       };
+    key <AB09> {        [                  period,                 greater      ],
+                        [             Cyrillic_yu,             Cyrillic_YU      ]       };
+key.type[group2]="TWO_LEVEL";
+
+    // End alphanumeric section
+    
+    // Begin modifier mappings 
+
+    modifier_map Shift  { Shift_L };
+    modifier_map Lock   { Caps_Lock, ISO_Lock };
+    modifier_map Control{ Control_L };
+    modifier_map Mod3   { Mode_switch };
+};
+
+partial alphanumeric_keys
+xkb_symbols "winkeys" {
+    include "kz(basic)"
+    key <AE03> {        [                       3,              numbersign      ],
+                        [             Ukrainian_i,             Ukrainian_I      ]       };
+    key <AE04> {        [                       4,                  dollar      ],
+                        [   Cyrillic_en_descender,   Cyrillic_EN_descender      ]       };
+    key <AE05> {        [                       5,                 percent      ],
+                        [        Cyrillic_ghe_bar,        Cyrillic_GHE_bar      ]       };
+    key <AE06> {        [                       6,             asciicircum      ],
+                        [                   comma,               semicolon      ]       };
+    key <AE07> {        [                       7,               ampersand      ],
+                        [                  period,                   colon      ]       };
+    key <AE08> {        [                       8,                asterisk      ],
+                        [     Cyrillic_u_straight,     Cyrillic_U_straight      ]       };
+    key <AB10> {        [                   slash,                question      ],  
+                        [              numerosign,                question      ]       };
+    key <BKSL> {        [               backslash,                     bar      ],
+                        [               backslash,                   slash      ]       };
+};
+
+partial alphanumeric_keys
+xkb_symbols "typewriter" {
+    include "kz(basic)"
+};
+
+partial alphanumeric_keys
+xkb_symbols "phonetic" {
+    include "kz(basic)"
+
+};
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/openwin/keytables/xkb/symbols/sun/kz	Mon May 12 13:20:46 2008 +0200
@@ -0,0 +1,32 @@
+//
+// CDDL HEADER START
+//
+// The contents of this file are subject to the terms of the
+// Common Development and Distribution License (the "License").
+// You may not use this file except in compliance with the License.
+//
+// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
+// or http://www.opensolaris.org/os/licensing.
+// See the License for the specific language governing permissions
+// and limitations under the License.
+//
+// When distributing Covered Code, include this CDDL HEADER in each
+// file and include the License file at src/OPENSOLARIS.LICENSE.
+// If applicable, add the following below this CDDL HEADER, with the
+// fields enclosed by brackets "[]" replaced with your own identifying
+// information: Portions Copyright [yyyy] [name of copyright owner]
+//
+// CDDL HEADER END
+//
+
+xkb_symbols "basic" {
+    include "kz"
+
+};
+
+// layout for a Sun Type 6 Kazakhstan keyboard
+partial
+xkb_symbols "type6" {
+    include "sun/kz(basic)"
+    key	<LSGT> {	[	backslash,	       bar	] };
+};