sanwa revision 1.1 1 1.1 mrg // $Xorg: $
2 1.1 mrg //
3 1.1 mrg //Copyright 1996, 1998 The Open Group
4 1.1 mrg //
5 1.1 mrg //Permission to use, copy, modify, distribute, and sell this software and its
6 1.1 mrg //documentation for any purpose is hereby granted without fee, provided that
7 1.1 mrg //the above copyright notice appear in all copies and that both that
8 1.1 mrg //copyright notice and this permission notice appear in supporting
9 1.1 mrg //documentation.
10 1.1 mrg //
11 1.1 mrg //The above copyright notice and this permission notice shall be
12 1.1 mrg //included in all copies or substantial portions of the Software.
13 1.1 mrg //
14 1.1 mrg //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 1.1 mrg //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 1.1 mrg //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 1.1 mrg //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 1.1 mrg //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 1.1 mrg //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 1.1 mrg //OTHER DEALINGS IN THE SOFTWARE.
21 1.1 mrg //
22 1.1 mrg //Except as contained in this notice, the name of The Open Group shall
23 1.1 mrg //not be used in advertising or otherwise to promote the sale, use or
24 1.1 mrg //other dealings in this Software without prior written authorization
25 1.1 mrg //from The Open Group.
26 1.1 mrg //
27 1.1 mrg default xkb_geometry "sanwaskbkg3" {
28 1.1 mrg
29 1.1 mrg description= "Sanwa Supply SKB-KG3";
30 1.1 mrg // SKB-KG3BK (black)
31 1.1 mrg // http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3BK
32 1.1 mrg // http://www.sanwa.co.jp/zooma/keybord/SKB-KG3BK/
33 1.1 mrg // SKB-KG3W (white)
34 1.1 mrg // http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3W
35 1.1 mrg // http://www.sanwa.co.jp/zooma/keybord/SKB-KG3SW/
36 1.1 mrg // SKB-KG3SV (silver)
37 1.1 mrg // http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3SV
38 1.1 mrg // http://www.sanwa.co.jp/zooma/keybord/SKB-KG3SV/
39 1.1 mrg
40 1.1 mrg width= 304;
41 1.1 mrg height= 127;
42 1.1 mrg
43 1.1 mrg shape.cornerRadius= 1;
44 1.1 mrg shape "TOP" { { [15.25,13] }, { [2,2], [13.25,11] } };
45 1.1 mrg shape "NORM" { { [17,16] }, { [2,2], [15,14] } };
46 1.1 mrg shape "TBBK" { { [24.5,16] }, { [2,2], [22.5,14] } };
47 1.1 mrg shape "RTRN" { { [0,0], [36,0], [36,34], [8.5,34], [8.5,16], [0,16] },
48 1.1 mrg { [2,2], [34,2], [34,32], [10.5,32], [10.5,14], [2,14] } };
49 1.1 mrg shape "CAPS" { { [33,16] }, { [28,16] }, { [2,2], [26,14] } };
50 1.1 mrg shape "LFSH" { { [41,16] }, { [2,2], [39,14] } };
51 1.1 mrg shape "CTSH" { { [19.5,16] }, { [2,2], [17.5,14] } };
52 1.1 mrg shape "SPCE" { { [57.5,16] }, { [2,2], [55.5,14] } };
53 1.1 mrg
54 1.1 mrg shape "LED" { cornerRadius= 0, { [5,1] } };
55 1.1 mrg
56 1.1 mrg indicator.onColor= "green";
57 1.1 mrg indicator.offColor= "green30";
58 1.1 mrg indicator.top= 3;
59 1.1 mrg indicator.shape= "LED";
60 1.1 mrg indicator "Num Lock" { left= 247; };
61 1.1 mrg indicator "Caps Lock" { left= 266; };
62 1.1 mrg indicator "Scroll Lock" { left= 285; };
63 1.1 mrg text.color= "black";
64 1.1 mrg text.top= 1;
65 1.1 mrg text "Vendor1" { left= 10; text="SANWA"; };
66 1.1 mrg text.top= 4.5;
67 1.1 mrg text "Vendor2" { left= 10; text="SUPPLY"; };
68 1.1 mrg text "NumLockLabel" { left= 241; text="Num Lock"; };
69 1.1 mrg text "CapsLockLabel" { left= 260; text="Caps Lock"; };
70 1.1 mrg text "ScrollLockLabel" { left= 279; text="Scroll Lock"; };
71 1.1 mrg
72 1.1 mrg section.left= 3;
73 1.1 mrg row.left= 1;
74 1.1 mrg key.shape= "NORM";
75 1.1 mrg key.gap= 2;
76 1.1 mrg section "Function" {
77 1.1 mrg key.shape= "TOP";
78 1.1 mrg top= 10;
79 1.1 mrg row {
80 1.1 mrg top= 1;
81 1.1 mrg keys { <ESC>, <FK01>, <FK02>, <FK03>, <FK04>, <FK05>, <FK06>,
82 1.1 mrg <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12>, <PRSC>,
83 1.1 mrg {<NMLK>, color="grey20"}, <PAUS>, {<DELE>, color="grey20"}
84 1.1 mrg };
85 1.1 mrg };
86 1.1 mrg overlay "SCLK" {
87 1.1 mrg <NMLK>=<SCLK>
88 1.1 mrg };
89 1.1 mrg overlay "FN" {
90 1.1 mrg <DELE>=<INS>
91 1.1 mrg };
92 1.1 mrg }; // End of "Function" section
93 1.1 mrg
94 1.1 mrg section "Alpha" {
95 1.1 mrg top= 24;
96 1.1 mrg row {
97 1.1 mrg top= 2;
98 1.1 mrg keys { <HZTG>, <AE01>, <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
99 1.1 mrg {<AE07>, color="grey20"}, {<AE08>, color="grey20"},
100 1.1 mrg {<AE09>, color="grey20"}, {<AE10>, color="grey20"},
101 1.1 mrg <AE11>, <AE12>, <AE13>, { <BKSP>, "TBBK" }
102 1.1 mrg };
103 1.1 mrg };
104 1.1 mrg row {
105 1.1 mrg top= 20;
106 1.1 mrg keys { { <TAB>, "TBBK" }, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
107 1.1 mrg <AD06>, {<AD07>, color="grey20"}, {<AD08>, color="grey20"},
108 1.1 mrg {<AD09>, color="grey20"}, {<AD10>, color="grey20"}, <AD11>,
109 1.1 mrg <AD12>, { <RTRN>, "RTRN" }
110 1.1 mrg };
111 1.1 mrg };
112 1.1 mrg row {
113 1.1 mrg top= 38;
114 1.1 mrg keys { { <CAPS>, "CAPS" }, <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
115 1.1 mrg <AC06>, {<AC07>, color="grey20"}, {<AC08>, color="grey20"},
116 1.1 mrg {<AC09>, color="grey20"}, {<AC10>, color="grey20"}, <AC11>,
117 1.1 mrg <AC12>
118 1.1 mrg };
119 1.1 mrg };
120 1.1 mrg row {
121 1.1 mrg top= 56;
122 1.1 mrg keys { { <LFSH>, "LFSH" }, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
123 1.1 mrg <AB06>, {<AB07>, color="grey20"}, <AB08>,
124 1.1 mrg {<AB09>, color="grey20"}, {<AB10>, color="grey20"}, <AB11>,
125 1.1 mrg {<UP>, color="grey20"}, {<RTSH>, key.shape= "CTSH" }
126 1.1 mrg };
127 1.1 mrg };
128 1.1 mrg row {
129 1.1 mrg top= 74;
130 1.1 mrg keys { { <LCTL>, key.shape= "CTSH" }, {<FN>, color="grey20"},
131 1.1 mrg <LWIN>, <LALT>, <NFER>, {<SPCE>, "SPCE" }, <XFER>, <HKTG>,
132 1.1 mrg <RALT>, <MENU>, {<LEFT>, color="grey20"},
133 1.1 mrg {<DOWN>, color="grey20"},
134 1.1 mrg {<RGHT>, key.shape= "CTSH", color="grey20"}
135 1.1 mrg };
136 1.1 mrg };
137 1.1 mrg overlay "SCLK" {
138 1.1 mrg <AE07>=<KO7>, <AE08>=<KO8>, <AE09>=<KO9>, <AE10>=<KOMU>,
139 1.1 mrg <AD07>=<KO4>, <AD08>=<KO5>, <AD09>=<KO6>, <AD10>=<KOSU>,
140 1.1 mrg <AC07>=<KO1>, <AC08>=<KO2>, <AC09>=<KO3>, <AC10>=<KOAD>,
141 1.1 mrg <AB07>=<KO0>, <AB09>=<KODL>, <AB10>=<KODV>
142 1.1 mrg };
143 1.1 mrg overlay "FN" {
144 1.1 mrg <UP>=<PGUP>, <LEFT>=<HOME>, <DOWN>=<PGDN>, <RGHT>=<END>
145 1.1 mrg };
146 1.1 mrg }; // End of "Alpha" section
147 1.1 mrg
148 1.1 mrg alias <AC00> = <CAPS>;
149 1.1 mrg alias <AA00> = <LCTL>;
150 1.1 mrg
151 1.1 mrg }; // End of "default" geometry
152