summaryrefslogtreecommitdiff
path: root/geometry/winbook
blob: 842eefbff58ebe7320eec9641678afb8c7ca1863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
default xkb_geometry "XP5" {

    description= "WinBook XP5";
    width= 281;
    height= 180;

    shape.cornerRadius= 1;

    shape "NORM" { 
	{ [17,17] },
	{ [ 2, 1], [ 15, 15 ] }
    };
    shape "FKEY" {
	{ [ 15, 10 ] },
	{ [  1,  0 ], [ 14, 9.5 ] }
    };
    shape "ONE" {
	{ [ 28, 17 ] },
	{ [ 11, 0 ], [ 28, 17 ] },
	{ [ 13, 1 ], [ 26, 15 ] }
    };
    shape "WIDE" {	// backspace, caps lock, ctrl alt ?
	{ [  24.5, 17 ] },
	{ [   2,  1 ], [ 22.5, 15 ] }
    };
    shape "WIDR" { // backslash, left shift
	{ [ 35, 17 ] },
	{ [ 2, 1 ], [ 33, 15 ] }
    };
    shape "RTRN" {
	{ [  45, 17 ] },
	{ [  2,  1 ], [ 43, 15 ] }
    };
    shape "SPCE" {
	{ [  90, 17 ] },
	{ [  2,  1 ], [ 88, 15 ] }
    };
    shape "STIK" {
	cornerRadius= 4,
	{ [  8,  8 ] }
    };
    shape "BTN" {
	{ [ 31, 6 ] }
    };

    section.left= 2;
    row.left= 1;
    key.shape= "NORM";
    key.gap=  0.5;

    key.color= "grey10";
    labelColor= "white";
    baseColor= "grey20";

    section "Whole" {
	top= 10;
	row {
	    top= 11; 
	    key.shape= "FKEY";
	    keys { 
	    	<ESC>,  
	    	<FK01>, <FK02>, <FK03>, <FK04>, <FK05>, <FK06>,
		<FK07>, <FK08>, <FK09>, <FK10>, <FK11>, <FK12>,
		<PAUS>, <HOME>, <END>, <PGUP>
	    };
	};
	row {
	    top= 22;
	    keys { 
	    	{ <AEO1>, "ONE" },
		<AE02>, <AE03>, <AE04>, <AE05>, <AE06>,
		<AE07>, <AE08>, <AE09>, <AE10>, <AE11>, <AE12>,
		{ <BKSP>, shape="WIDE" }, 
		<PGDN>
	    };
	};
	row {
	    top= 40;
	    keys { 
	    	<TAB>, <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, <AD06>,
		<AD07>, <AD08>, <AD09>, <AD10>, <AD11>, <AD12>,
		{ <BKSL>, "WIDR" }
	    };
	};
	row {
	    top= 58;
	    keys { { <CAPS>, shape="WIDE" },
		<AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
		<AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
		<AC11>, 
		{ <RTRN>, shape="RTRN" }
	    };
	};
	row {
	    top= 76;
	    keys { 
		{ <LFSH>, shape="WIDR" },
		<AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
		<AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
		<RTSH>, <UP>, <NMLK> 
	    };
	};
	row {
	    top= 94;
	    keys { 
		{ <LCTL>, "WIDE" }, <FUNC>, { <LALT>, "WIDE" }, 
		<TLDE>, { <SPCE>, shape="SPCE" }, <INS>, <DELE>, 
		<LEFT>, <DOWN>, <RGHT>
	    };
	};
	overlay "KPAD" {
	    <AE07>=<KP7>,  <AE08>=<KP8>, <AE09>=<KP9>,  <AE10>=<KPMU>,
	    <AD07>=<KP4>,  <AD08>=<KP5>, <AD09>=<KP6>,  <AD10>=<KPSU>,
	    <AC07>=<KP1>,  <AC08>=<KP2>, <AC09>=<KP3>,  <AC10>=<KPAD>,
	    <AB07>=<KP0>,                <AB09>=<KPDL>, <AB10>=<KPSL>
	};
    }; // End of "Whole" section

    solid "STIK" {
	color= "red";
	shape= "STIK";
	top= 81;
	left= 112;
    };

    solid "BTN1" {
    	color= "red";
	shape= "BTN";
	top= 137;
	left= 93;
    };

    solid "BTN2" {
	color= "red";
	shape= "BTN";
	top= 137;
	left= 127;
    };

    alias <AC00> = <CAPS>;
    alias <AA00> = <LCTL>;

};