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