winbook revision 1.1 1 // $Xorg: winbook,v 1.3 2000/08/17 19:54:36 cpqbld Exp $
2 default xkb_geometry "XP5" {
3
4 description= "WinBook XP5";
5 width= 281;
6 height= 180;
7
8 shape.cornerRadius= 1;
9
10 shape "NORM" {
11 { [17,17] },
12 { [ 2, 1], [ 15, 15 ] }
13 };
14 shape "FKEY" {
15 { [ 15, 10 ] },
16 { [ 1, 0 ], [ 14, 9.5 ] }
17 };
18 shape "ONE" {
19 { [ 28, 17 ] },
20 { [ 11, 0 ], [ 28, 17 ] },
21 { [ 13, 1 ], [ 26, 15 ] }
22 };
23 shape "WIDE" { // backspace, caps lock, ctrl alt ?
24 { [ 24.5, 17 ] },
25 { [ 2, 1 ], [ 22.5, 15 ] }
26 };
27 shape "WIDR" { // backslash, left shift
28 { [ 35, 17 ] },
29 { [ 2, 1 ], [ 33, 15 ] }
30 };
31 shape "RTRN" {
32 { [ 45, 17 ] },
33 { [ 2, 1 ], [ 43, 15 ] }
34 };
35 shape "SPCE" {
36 { [ 90, 17 ] },
37 { [ 2, 1 ], [ 88, 15 ] }
38 };
39 shape "STIK" {
40 cornerRadius= 4,
41 { [ 8, 8 ] }
42 };
43 shape "BTN" {
44 { [ 31, 6 ] }
45 };
46
47 section.left= 2;
48 row.left= 1;
49 key.shape= "NORM";
50 key.gap= 0.5;
51
52 key.color= "grey10";
53 labelColor= "white";
54 baseColor= "grey20";
55
56 section "Whole" {
57 top= 10;
58 row {
59 top= 11;
60 key.shape= "FKEY";
61 keys {
62 <ESC>,
63 <FK01>, <FK02>, <FK03>, <FK04>, <FK05>, <FK06>,
64 <FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12>,
65 <PAUS>, <HOME>, <END>, <PGUP>
66 };
67 };
68 row {
69 top= 22;
70 keys {
71 { <AEO1>, "ONE" },
72 <AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
73 <AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
74 { <BKSP>, shape="WIDE" },
75 <PGDN>
76 };
77 };
78 row {
79 top= 40;
80 keys {
81 <TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
82 <AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
83 { <BKSL>, "WIDR" }
84 };
85 };
86 row {
87 top= 58;
88 keys { { <CAPS>, shape="WIDE" },
89 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
90 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
91 <AC11>,
92 { <RTRN>, shape="RTRN" }
93 };
94 };
95 row {
96 top= 76;
97 keys {
98 { <LFSH>, shape="WIDR" },
99 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
100 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
101 <RTSH>, <UP>, <NMLK>
102 };
103 };
104 row {
105 top= 94;
106 keys {
107 { <LCTL>, "WIDE" }, <FUNC>, { <LALT>, "WIDE" },
108 <TLDE>, { <SPCE>, shape="SPCE" }, <INS>, <DELE>,
109 <LEFT>, <DOWN>, <RGHT>
110 };
111 };
112 overlay "KPAD" {
113 <AE07>=<KP7>, <AE08>=<KP8>, <AE09>=<KP9>, <AE10>=<KPMU>,
114 <AD07>=<KP4>, <AD08>=<KP5>, <AD09>=<KP6>, <AD10>=<KPSU>,
115 <AC07>=<KP1>, <AC08>=<KP2>, <AC09>=<KP3>, <AC10>=<KPAD>,
116 <AB07>=<KP0>, <AB09>=<KPDL>, <AB10>=<KPSL>
117 };
118 }; // End of "Whole" section
119
120 solid "STIK" {
121 color= "red";
122 shape= "STIK";
123 top= 81;
124 left= 112;
125 };
126
127 solid "BTN1" {
128 color= "red";
129 shape= "BTN";
130 top= 137;
131 left= 93;
132 };
133
134 solid "BTN2" {
135 color= "red";
136 shape= "BTN";
137 top= 137;
138 left= 127;
139 };
140
141 alias <AC00> = <CAPS>;
142 alias <AA00> = <LCTL>;
143
144 };
145