[PATCH:xkeyboard-config 3/4] Added keyboard config files for Sharp WS011SH/WS020SH.

Thomas Klausner wiz at NetBSD.org
Thu Aug 23 08:00:46 PDT 2012


From: Nonaka Kimihiro <nonaka at NetBSD.org>

---
 symbols/sharp_vndr/ws011sh | 78 ++++++++++++++++++++++++++++++++++++++++++++++
 symbols/sharp_vndr/ws020sh | 67 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 145 insertions(+)
 create mode 100644 symbols/sharp_vndr/ws011sh
 create mode 100644 symbols/sharp_vndr/ws020sh

diff --git a/symbols/sharp_vndr/ws011sh b/symbols/sharp_vndr/ws011sh
new file mode 100644
index 0000000..45976df
--- /dev/null
+++ b/symbols/sharp_vndr/ws011sh
@@ -0,0 +1,78 @@
+// $NetBSD: ws011sh,v 1.2 2010/05/30 10:10:20 nonaka Exp $
+
+partial default alphanumeric_keys
+xkb_symbols "basic" {
+	name[Group1]= "Sharp WS011SH";
+
+	// Upper row
+	key <HZTG> {
+		type[Group1] = "THREE_LEVEL",
+		symbols[Group1] = [ Zenkaku_Hankaku, Zenkaku_Hankaku, exclam ]
+	};
+
+	key <AD01> { [ q, Q, quotedbl ] };
+	key <AD02> { [ w, W, numbersign ] };
+	key <AD03> { [ e, E, dollar ] };
+	key <AD04> { [ r, R, percent ] };
+	key <AD05> { [ t, T, ampersand ] };
+	key <AD06> { [ y, Y, 1 ] };
+	key <AD07> { [ u, U, 2 ] };
+	key <AD08> { [ i, I, 3 ] };
+	key <AD09> { [ o, O, underscore ] };
+	key <AD10> { [ p, P, at ] };
+	key <BKSP> { [ BackSpace, BackSpace, Delete ] };
+	
+	key <TAB> { [ Tab, Tab, Escape ] };
+	key <AC01> { [ a, A, bracketleft ] };
+	key <AC02> { [ s, S, apostrophe ] };
+	key <AC03> { [ d, D, parenleft ] };
+	key <AC04> { [ f, F, parenright ] };
+	key <AC05> { [ g, G, asterisk ] };
+	key <AC06> { [ h, H, 4 ] };
+	key <AC07> { [ j, J, 5 ] };
+	key <AC08> { [ k, K, 6 ] };
+	key <AC09> { [ l, L, plus ] };
+	key <AE11> { [ minus, equal, backslash ] };
+	key <AE02> { [ grave, braceleft, braceright ] };
+
+	key <LFSH> { [ Shift_L ] };
+	key <AB01> { [ z, Z, bracketright ] };
+	key <AB02> { [ x, X, asciicircum ] };
+	key <AB03> { [ c, C, asciitilde ] };
+	key <AB04> { [ v, V, bar ] };
+	key <AB05> { [ b, B, 7 ] };
+	key <AB06> { [ n, N, 8 ] };
+	key <AB07> { [ m, M, 9 ] };
+	key <AB08> { [ comma, less, semicolon ] };
+	key <AB09> { [ period, greater, colon ] };
+	key <AB10> { [ slash, question, 0 ] };
+	key <RTSH> { [ Shift_R ] };
+	key <RTRN> { [ Return ] };
+
+	key <RALT> { [ ISO_Level3_Shift ] };
+
+	key <LCTL> { [ Control_L ] };
+	key <SPCE> { [ space ] };
+	// End alphanumeric section
+	
+	key <UP> { [ Up, Up, Prior ] };
+	key <LEFT> { [ Left, Left, Home ] };
+	key <DOWN> { [ Down, Down, Next ] };
+	key <RGHT> { [ Right, Right, End ] };
+
+	key <ESC> { [ Escape ] };
+
+	// keypad
+	key <KP1> { [ 1 ] };
+	key <KP2> { [ 2 ] };
+	key <KP3> { [ 3 ] };
+	key <KP4> { [ 4 ] };
+	key <KP5> { [ 5 ] };
+	key <KP6> { [ 6 ] };
+	key <KP7> { [ 7 ] };
+	key <KP8> { [ 8 ] };
+	key <KP9> { [ 9 ] };
+	key <KP0> { [ 0 ] };
+
+	include "level3(ralt_switch)"
+};
diff --git a/symbols/sharp_vndr/ws020sh b/symbols/sharp_vndr/ws020sh
new file mode 100644
index 0000000..5231e14
--- /dev/null
+++ b/symbols/sharp_vndr/ws020sh
@@ -0,0 +1,67 @@
+// $NetBSD: ws020sh,v 1.1 2010/05/25 13:12:51 nonaka Exp $
+
+partial default alphanumeric_keys
+xkb_symbols "basic" {
+	name[Group1]= "Sharp WS020SH";
+
+	// Upper row
+	key <HZTG> {
+		type[Group1]="THREE_LEVEL",
+		symbols[Group1]= [ Zenkaku_Hankaku, Zenkaku_Hankaku, exclam ]
+	};
+
+	key <AD01> { [ q, Q, quotedbl ] };
+	key <AD02> { [ w, W, numbersign ] };
+	key <AD03> { [ e, E, dollar ] };
+	key <AD04> { [ r, R, percent ] };
+	key <AD05> { [ t, T, ampersand ] };
+	key <AD06> { [ y, Y, underscore ] };
+	key <AD07> { [ u, U, 1 ] };
+	key <AD08> { [ i, I, 2 ] };
+	key <AD09> { [ o, O, 3 ] };
+	key <AD10> { [ p, P, at ] };
+	key <BKSP> { [ BackSpace, BackSpace, Delete ] };
+	
+	key <TAB> { [ Tab, Tab, Escape ] };
+	key <AC01> { [ a, A, bracketleft ] };
+	key <AC02> { [ s, S, apostrophe ] };
+	key <AC03> { [ d, D, parenleft ] };
+	key <AC04> { [ f, F, parenright ] };
+	key <AC05> { [ g, G, asterisk ] };
+	key <AC06> { [ h, H, 4 ] };
+	key <AC07> { [ j, J, 5 ] };
+	key <AC08> { [ k, K, 6 ] };
+	key <AC09> { [ l, L, plus ] };
+	key <AE11> { [ minus, equal, backslash ] };
+	key <AE02> { [ grave, braceleft, braceright ] };
+
+	key <LFSH> { [ Shift_L ] };
+	key <AB01> { [ z, Z, bracketright ] };
+	key <AB02> { [ x, X, asciicircum ] };
+	key <AB03> { [ c, C, asciitilde ] };
+	key <AB04> { [ v, V, bar ] };
+	key <AB05> { [ b, B, 7 ] };
+	key <AB06> { [ n, N, 8 ] };
+	key <AB07> { [ m, M, 9 ] };
+	key <AB08> { [ comma, less, semicolon ] };
+	key <AB09> { [ period, greater, colon ] };
+	key <AB10> { [ slash, question, 0 ] };
+	key <RTSH> { [ Shift_R ] };
+	key <RTRN> { [ Return ] };
+
+	key <RALT> { [ ISO_Level3_Shift ] };
+
+	key <LCTL> { [ Control_L ] };
+	key <SPCE> { [ space ] };
+	// End alphanumeric section
+	
+	// keypad
+	key <UP> { [ Up, Up, Prior ] };
+	key <LEFT> { [ Left, Left, Home ] };
+	key <DOWN> { [ Down, Down, Next ] };
+	key <RGHT> { [ Right, Right, End ] };
+
+	key <ESC> { [ Escape ] };
+
+	include "level3(ralt_switch)"
+};
-- 
1.7.11.3



More information about the xorg-devel mailing list