New geometry: HP Mini 110 netbook.
[xorg/xkeyboard-config] / geometry / hpmini
1 //      XKB geometry for the HP Mini 110 keyboard.
2 //
3 //  Copyright (c) 2009, Octavio Alvarez <alvarezp@alvarezp.ods.org>
4 //
5 //Permission is hereby granted, free of charge, to any person obtaining a copy
6 //of this software and associated documentation files (the "Software"), to deal
7 //in the Software without restriction, including without limitation the rights
8 //to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 //copies of the Software, and to permit persons to whom the Software is
10 //furnished to do so, subject to the following conditions:
11 //
12 //The above copyright notice and this permission notice shall be included in
13 //all copies or substantial portions of the Software.
14 //
15 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 //IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 //AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 //LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 //THE SOFTWARE.
22
23 default xkb_geometry "110" {
24
25         description= "HP Mini 110";
26         width= 262;
27         height= 106;
28
29         shape.cornerRadius = 0;
30         shape "FN0"  { { [ 14, 10 ] } , { [ 14, 10 ] } };
31         shape "NORM" { { [ 16.7, 16 ] }   , { [ 16.7, 16 ] } };
32         shape "TLDE" { { [ 12, 16 ] } , { [ 12, 16 ] } };
33         shape "ONE"  { { [ 14, 16 ] }   , { [ 14, 16 ] } };
34         shape "BKSP" { { [ 31.3, 16 ] }   , { [ 31.3, 16 ] } };
35         shape "BKSL" { { [ 23.9, 16 ] } , { [ 23.9, 16 ] } };
36         shape "CAPS" { { [ 22, 16 ] }   , { [ 22, 16 ] } };
37         shape "RTRN" { { [ 36.3, 16 ] } , { [ 36.3, 16 ] } };
38         shape "LFSH" { { [ 31, 16 ] }   , { [ 31, 16 ] } };
39         shape "RTSH" { { [ 45, 16 ] } , { [ 45, 16 ] } };
40         shape "CTLS" { { [ 16.5, 19 ] }   , { [ 16.5, 19 ] } };
41         shape "SPCE" { { [ 78.4, 19 ] } , { [ 78.4, 19 ] } };
42         shape "ARRW" { { [ 16.7, 9 ] }  , { [ 16.7, 9 ] } };
43
44         key.gap=1;
45
46         section "Function" {
47                 top=4;
48                 left=3;
49                 key.shape="FN0";
50                 row {
51                         keys {
52                                 <ESC>, <FK01>, <FK02>, <FK03>, <FK04>, <FK05>,
53                                 <FK06>, <FK07>, <FK08>, <FK09>, <FK10>, <FK11>,
54                                 <FK12>, <PAUS>, <SCLK>, <INS>, <DELE>
55                         };
56                 };
57         };
58
59         section "Alphanum" {
60                 top=15;
61                 left=3;
62                 key.shape="NORM";
63         row {
64             top= 0;
65             keys { { <TLDE>, "TLDE" } , { <AE01>, "ONE" }, <AE02>, <AE03>, <AE04>,
66                    <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
67                    <AE10>, <AE11>, <AE12>,
68                    { <BKSP>, "BKSP" }
69             };
70         };
71         row {
72             top= 17;
73             keys { <TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
74                    <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
75                    <AD11>, <AD12>, { <BKSL>, "BKSL" }
76             };
77         };
78         row {
79             top= 34;
80             keys { { <CAPS>, "CAPS" } ,
81                    <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
82                    <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
83                    <AC11>, { <RTRN>, "RTRN" }
84             };
85         };
86         row {
87             top= 51;
88             keys { { <LFSH>, "LFSH" },
89                     <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
90                     <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
91                     { <RTSH>, "RTSH" }
92             };
93         };
94
95         };
96
97         section "Control" {
98                 top=83;
99                 left=3;
100                 key.shape="CTLS";
101                 row {
102                         keys {
103                                 <LCTL>, <FN>, <LWIN>, <LALT>, { <SPCE>, "SPCE" }, <RALT>, <MENU>, <RCTL>
104                         };
105                 };
106         };
107
108         section "Arrows" {
109                 top=83;
110                 left=204.9;
111                 key.shape="ARRW";
112                 row {
113                         left= 17.7;
114                         keys {
115                                 <UP>
116                         };
117                 };
118                 row {
119                         top = 10;
120                         keys {
121                                 <LEFT>, <DOWN>, <RGHT>
122                         };
123                 };
124         };
125
126 };
127