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