| 1 |
// |
| 2 |
//Copyright 1996, 1998 The Open Group |
| 3 |
// |
| 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 |
| 8 |
//documentation. |
| 9 |
// |
| 10 |
//The above copyright notice and this permission notice shall be |
| 11 |
//included in all copies or substantial portions of the Software. |
| 12 |
// |
| 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. |
| 20 |
// |
| 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. |
| 25 |
// |
| 26 |
default xkb_geometry "sanwaskbkg3" { |
| 27 |
|
| 28 |
description= "Sanwa Supply SKB-KG3"; |
| 29 |
// SKB-KG3BK (black) |
| 30 |
// http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3BK |
| 31 |
// http://www.sanwa.co.jp/zooma/keybord/SKB-KG3BK/ |
| 32 |
// SKB-KG3W (white) |
| 33 |
// http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3W |
| 34 |
// http://www.sanwa.co.jp/zooma/keybord/SKB-KG3SW/ |
| 35 |
// SKB-KG3SV (silver) |
| 36 |
// http://www.sanwa.co.jp/product/syohin.asp?code=SKB-KG3SV |
| 37 |
// http://www.sanwa.co.jp/zooma/keybord/SKB-KG3SV/ |
| 38 |
|
| 39 |
width= 304; |
| 40 |
height= 127; |
| 41 |
|
| 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] } }; |
| 52 |
|
| 53 |
shape "LED" { cornerRadius= 0, { [5,1] } }; |
| 54 |
|
| 55 |
indicator.onColor= "green"; |
| 56 |
indicator.offColor= "green30"; |
| 57 |
indicator.top= 3; |
| 58 |
indicator.shape= "LED"; |
| 59 |
indicator "Num Lock" { left= 247; }; |
| 60 |
indicator "Caps Lock" { left= 266; }; |
| 61 |
indicator "Scroll Lock" { left= 285; }; |
| 62 |
text.color= "black"; |
| 63 |
text.top= 1; |
| 64 |
text "Vendor1" { left= 10; text="SANWA"; }; |
| 65 |
text.top= 4.5; |
| 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"; }; |
| 70 |
|
| 71 |
section.left= 3; |
| 72 |
row.left= 1; |
| 73 |
key.shape= "NORM"; |
| 74 |
key.gap= 2; |
| 75 |
section "Function" { |
| 76 |
key.shape= "TOP"; |
| 77 |
top= 10; |
| 78 |
row { |
| 79 |
top= 1; |
| 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"} |
| 83 |
}; |
| 84 |
}; |
| 85 |
overlay "SCLK" { |
| 86 |
<NMLK>=<SCLK> |
| 87 |
}; |
| 88 |
overlay "FN" { |
| 89 |
<DELE>=<INS> |
| 90 |
}; |
| 91 |
}; // End of "Function" section |
| 92 |
|
| 93 |
section "Alpha" { |
| 94 |
top= 24; |
| 95 |
row { |
| 96 |
top= 2; |
| 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" } |
| 101 |
}; |
| 102 |
}; |
| 103 |
row { |
| 104 |
top= 20; |
| 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" } |
| 109 |
}; |
| 110 |
}; |
| 111 |
row { |
| 112 |
top= 38; |
| 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>, |
| 116 |
<AC12> |
| 117 |
}; |
| 118 |
}; |
| 119 |
row { |
| 120 |
top= 56; |
| 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" } |
| 125 |
}; |
| 126 |
}; |
| 127 |
row { |
| 128 |
top= 74; |
| 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"} |
| 134 |
}; |
| 135 |
}; |
| 136 |
overlay "SCLK" { |
| 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> |
| 141 |
}; |
| 142 |
overlay "FN" { |
| 143 |
<UP>=<PGUP>, <LEFT>=<HOME>, <DOWN>=<PGDN>, <RGHT>=<END> |
| 144 |
}; |
| 145 |
}; // End of "Alpha" section |
| 146 |
|
| 147 |
alias <AC00> = <CAPS>; |
| 148 |
alias <AA00> = <LCTL>; |
| 149 |
|
| 150 |
}; // End of "default" geometry |