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