| 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 "nwp5461" { |
| 27 |
|
| 28 |
description= "Sony NEWS NWS-5000 Keyboard"; |
| 29 |
width= 425; |
| 30 |
height= 190; |
| 31 |
|
| 32 |
shape.cornerRadius= 1; |
| 33 |
shape "NORM" { { [18,18] }, { [2,1], [16,17] } }; |
| 34 |
shape "BKSP" { { [28,18] }, { [2,1], [26,17] } }; |
| 35 |
shape "TABK" { { [28,18] }, { [2,1], [26,17] } }; |
| 36 |
shape "BKSL" { { [28,18] }, { [2,1], [26,17] } }; |
| 37 |
shape "RTRN" { |
| 38 |
approx = { [15, 0], [33,37] }, |
| 39 |
{ [15, 0], [33, 0], [33,37], |
| 40 |
[ 0,37], [ 0,19], [15,19] }, |
| 41 |
{ [17, 1], [31, 1], [31,36], |
| 42 |
[ 2,36], [ 2,20], [17,20] } |
| 43 |
}; |
| 44 |
shape "SHFT" { { [42,18] }, { [2,1], [40,17] } }; |
| 45 |
shape "MODK" { { [33,18] }, { [2,1], [31,17] } }; |
| 46 |
shape "SPCE" { { [85,18] }, { [2,1], [83,17] } }; |
| 47 |
shape "KPEN" { { [18,38] }, { [2,1], [16,37] } }; |
| 48 |
shape "STOP" { { [28,18] }, { [2,1], [26,17] } }; |
| 49 |
shape "CUT" { { [55,18] }, { [2,1], [53,17] } }; |
| 50 |
shape "EXEC" { { [32,18] }, { [2,1], [30,17] } }; |
| 51 |
shape "UNK" { { [18,18] }, { [2,1], [16,17] } }; |
| 52 |
shape "CAPS" { { [18,18] }, { [2,1], [16,17] } }; |
| 53 |
shape "FKEY" { { [23,18] }, { [2,1], [21,17] } }; |
| 54 |
|
| 55 |
section.left= 13; |
| 56 |
row.left= 1; |
| 57 |
key.shape= "NORM"; |
| 58 |
key.gap= 1; |
| 59 |
section "Function" { |
| 60 |
top= 55; |
| 61 |
row { |
| 62 |
top= 1; |
| 63 |
left= 37; |
| 64 |
key.shape="FKEY"; |
| 65 |
keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>, |
| 66 |
{ <FK06>, 5 }, <FK07>, <FK08>, <FK09>, <FK10>, |
| 67 |
{ <FK11>, 5 }, <FK12> |
| 68 |
}; |
| 69 |
}; |
| 70 |
}; // End of "Function" section |
| 71 |
|
| 72 |
section "Alpha" { |
| 73 |
top= 80; |
| 74 |
row { |
| 75 |
top= 1; |
| 76 |
keys { { <ESC>, color="grey20" } , |
| 77 |
<AE01>, <AE02>, <AE03>, <AE04>, |
| 78 |
<AE05>, <AE06>, <AE07>, <AE08>, |
| 79 |
<AE09>, <AE10>, <AE11>, <AE12>, |
| 80 |
<BKSL>, { <BKSP>, "BKSP", color="grey20" } |
| 81 |
}; |
| 82 |
}; |
| 83 |
row { |
| 84 |
top= 20; |
| 85 |
keys { { <TAB>, "TABK", color="grey20" }, |
| 86 |
<AD01>, <AD02>, <AD03>, <AD04>, <AD05>, |
| 87 |
<AD06>, <AD07>, <AD08>, <AD09>, <AD10>, |
| 88 |
<AD11>, <AD12>, { <DELE>, color="grey20" }, |
| 89 |
{ <RTRN>, "RTRN", -14, color="grey20" } |
| 90 |
}; |
| 91 |
}; |
| 92 |
row { |
| 93 |
top= 39; |
| 94 |
keys { { <LCTL>, "MODK", color="grey20" }, |
| 95 |
<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, |
| 96 |
<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, |
| 97 |
<AC11>, <TLDE> |
| 98 |
}; |
| 99 |
}; |
| 100 |
row { |
| 101 |
top= 58; |
| 102 |
keys { { <LFSH>, "SHFT", color="grey20" }, |
| 103 |
<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, |
| 104 |
<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>, |
| 105 |
{ <RTSH>, "SHFT", color="grey20" } |
| 106 |
}; |
| 107 |
}; |
| 108 |
row { |
| 109 |
top= 77; |
| 110 |
key.shape= "MODK"; |
| 111 |
key.color= "grey20"; |
| 112 |
keys { <LALT>, { <CAPS>, "CAPS" }, |
| 113 |
{ <STOP>, "STOP", color="white" }, |
| 114 |
{ <SPCE>, "SPCE", color="white" }, |
| 115 |
{ <CUT>, "CUT", color="white" }, |
| 116 |
{ <UNK0>, "UNK" }, { <UNK1>, "UNK" }, |
| 117 |
{ <EXEC>, "EXEC" } |
| 118 |
}; |
| 119 |
}; |
| 120 |
}; // End of "Alpha" section |
| 121 |
|
| 122 |
section "Editing" { |
| 123 |
top= 80; |
| 124 |
left= 312; |
| 125 |
key.color= "grey20"; |
| 126 |
row { |
| 127 |
top= 1; |
| 128 |
keys { <HELP> }; |
| 129 |
}; |
| 130 |
row { |
| 131 |
top= 20; |
| 132 |
keys { <INS> }; |
| 133 |
}; |
| 134 |
row { |
| 135 |
top= 39; |
| 136 |
keys { <CLR> }; |
| 137 |
}; |
| 138 |
row { |
| 139 |
top= 58; |
| 140 |
keys { <PGUP> }; |
| 141 |
}; |
| 142 |
row { |
| 143 |
top= 77; |
| 144 |
keys { <PGDN> }; |
| 145 |
}; |
| 146 |
}; // End of "Editing" section |
| 147 |
|
| 148 |
section "Keypad" { |
| 149 |
top= 61; |
| 150 |
left= 334; |
| 151 |
row { |
| 152 |
top= 1; |
| 153 |
key.color= "grey20"; |
| 154 |
keys { { <KPMU>, 19 }, <KPDV>, <KPAD> }; |
| 155 |
}; |
| 156 |
row { |
| 157 |
top= 20; |
| 158 |
keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color="grey20" } }; |
| 159 |
}; |
| 160 |
row { |
| 161 |
top= 39; |
| 162 |
keys { <KP4>, <KP5>, <KP6>, { <KPSP>, color="grey20" } }; |
| 163 |
}; |
| 164 |
row { |
| 165 |
top= 58; |
| 166 |
keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color="grey20" } }; |
| 167 |
}; |
| 168 |
row { |
| 169 |
top= 77; |
| 170 |
keys { <KP0>, { <KPDC>, color="grey20" }, <UP> }; |
| 171 |
}; |
| 172 |
row { |
| 173 |
top= 96; |
| 174 |
key.color= "grey20"; |
| 175 |
keys { <KPTB>, <LEFT>, <DOWN>, <RGHT> }; |
| 176 |
}; |
| 177 |
}; // End of "Keypad" section |
| 178 |
|
| 179 |
}; // End of "default" geometry |