1 // $Xorg: sony,v 1.4 2001/02/09 02:05:51 xorgcvs Exp $
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 "nwp5461" {
29 description= "Sony NEWS NWS-5000 Keyboard";
33 shape.cornerRadius= 1;
34 shape "NORM" { { [18,18] }, { [2,1], [16,17] } };
35 shape "BKSP" { { [28,18] }, { [2,1], [26,17] } };
36 shape "TABK" { { [28,18] }, { [2,1], [26,17] } };
37 shape "BKSL" { { [28,18] }, { [2,1], [26,17] } };
39 approx = { [15, 0], [33,37] },
40 { [15, 0], [33, 0], [33,37],
41 [ 0,37], [ 0,19], [15,19] },
42 { [17, 1], [31, 1], [31,36],
43 [ 2,36], [ 2,20], [17,20] }
45 shape "SHFT" { { [42,18] }, { [2,1], [40,17] } };
46 shape "MODK" { { [33,18] }, { [2,1], [31,17] } };
47 shape "SPCE" { { [85,18] }, { [2,1], [83,17] } };
48 shape "KPEN" { { [18,38] }, { [2,1], [16,37] } };
49 shape "STOP" { { [28,18] }, { [2,1], [26,17] } };
50 shape "CUT" { { [55,18] }, { [2,1], [53,17] } };
51 shape "EXEC" { { [32,18] }, { [2,1], [30,17] } };
52 shape "UNK" { { [18,18] }, { [2,1], [16,17] } };
53 shape "CAPS" { { [18,18] }, { [2,1], [16,17] } };
54 shape "FKEY" { { [23,18] }, { [2,1], [21,17] } };
66 keys { <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
67 { <FK06>, 5 }, <FK07>, <FK08>, <FK09>, <FK10>,
71 }; // End of "Function" section
77 keys { { <ESC>, color="grey20" } ,
78 <AE01>, <AE02>, <AE03>, <AE04>,
79 <AE05>, <AE06>, <AE07>, <AE08>,
80 <AE09>, <AE10>, <AE11>, <AE12>,
81 <BKSL>, { <BKSP>, "BKSP", color="grey20" }
86 keys { { <TAB>, "TABK", color="grey20" },
87 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
88 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
89 <AD11>, <AD12>, { <DELE>, color="grey20" },
90 { <RTRN>, "RTRN", -14, color="grey20" }
95 keys { { <LCTL>, "MODK", color="grey20" },
96 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
97 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
103 keys { { <LFSH>, "SHFT", color="grey20" },
104 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
105 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>,
106 { <RTSH>, "SHFT", color="grey20" }
113 keys { <LALT>, { <CAPS>, "CAPS" },
114 { <STOP>, "STOP", color="white" },
115 { <SPCE>, "SPCE", color="white" },
116 { <CUT>, "CUT", color="white" },
117 { <UNK0>, "UNK" }, { <UNK1>, "UNK" },
121 }; // End of "Alpha" section
147 }; // End of "Editing" section
155 keys { { <KPMU>, 19 }, <KPDV>, <KPAD> };
159 keys { <KP7>, <KP8>, <KP9>, { <KPSU>, color="grey20" } };
163 keys { <KP4>, <KP5>, <KP6>, { <KPSP>, color="grey20" } };
167 keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPEN", color="grey20" } };
171 keys { <KP0>, { <KPDC>, color="grey20" }, <UP> };
176 keys { <KPTB>, <LEFT>, <DOWN>, <RGHT> };
178 }; // End of "Keypad" section
180 }; // End of "default" geometry