line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
6733
|
use strict; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
34
|
|
2
|
1
|
|
|
1
|
|
9
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
436
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Brightness', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Set brightness of the backlight if the backlight is switched \'on\'.', |
11
|
|
|
|
|
|
|
'max' => '1000', |
12
|
|
|
|
|
|
|
'min' => '0', |
13
|
|
|
|
|
|
|
'type' => 'leaf', |
14
|
|
|
|
|
|
|
'upstream_default' => '800', |
15
|
|
|
|
|
|
|
'value_type' => 'integer' |
16
|
|
|
|
|
|
|
}, |
17
|
|
|
|
|
|
|
'CellSize', |
18
|
|
|
|
|
|
|
{ |
19
|
|
|
|
|
|
|
'description' => 'Width and height of a character cell in pixels. This value is only used if |
20
|
|
|
|
|
|
|
the driver has been compiled with FreeType and it is enabled. Otherwise the |
21
|
|
|
|
|
|
|
default 6x8 cell is used.', |
22
|
|
|
|
|
|
|
'type' => 'leaf', |
23
|
|
|
|
|
|
|
'upstream_default' => '12x16', |
24
|
|
|
|
|
|
|
'value_type' => 'uniline' |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
'ConnectionType', |
27
|
|
|
|
|
|
|
{ |
28
|
|
|
|
|
|
|
'default' => 't6963', |
29
|
|
|
|
|
|
|
'description' => 'Select what type of connection. See documentation for types.', |
30
|
|
|
|
|
|
|
'type' => 'leaf', |
31
|
|
|
|
|
|
|
'value_type' => 'uniline' |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
'Contrast', |
34
|
|
|
|
|
|
|
{ |
35
|
|
|
|
|
|
|
'description' => 'Set the initial contrast if supported by connection type.', |
36
|
|
|
|
|
|
|
'max' => '1000', |
37
|
|
|
|
|
|
|
'min' => '0', |
38
|
|
|
|
|
|
|
'type' => 'leaf', |
39
|
|
|
|
|
|
|
'upstream_default' => '600', |
40
|
|
|
|
|
|
|
'value_type' => 'integer' |
41
|
|
|
|
|
|
|
}, |
42
|
|
|
|
|
|
|
'KeyMap_A', |
43
|
|
|
|
|
|
|
{ |
44
|
|
|
|
|
|
|
'default' => 'Up', |
45
|
|
|
|
|
|
|
'description' => 'Assign key strings to keys. There may be up to 16 keys numbered \'A\' to \'Z\'. |
46
|
|
|
|
|
|
|
By default keys \'A\' to \'F\' are assigned Up, Down, Left, Right, Enter, Escape.', |
47
|
|
|
|
|
|
|
'type' => 'leaf', |
48
|
|
|
|
|
|
|
'value_type' => 'uniline' |
49
|
|
|
|
|
|
|
}, |
50
|
|
|
|
|
|
|
'KeyMap_B', |
51
|
|
|
|
|
|
|
{ |
52
|
|
|
|
|
|
|
'default' => 'Down', |
53
|
|
|
|
|
|
|
'type' => 'leaf', |
54
|
|
|
|
|
|
|
'value_type' => 'uniline' |
55
|
|
|
|
|
|
|
}, |
56
|
|
|
|
|
|
|
'KeyMap_C', |
57
|
|
|
|
|
|
|
{ |
58
|
|
|
|
|
|
|
'default' => 'Enter', |
59
|
|
|
|
|
|
|
'type' => 'leaf', |
60
|
|
|
|
|
|
|
'value_type' => 'uniline' |
61
|
|
|
|
|
|
|
}, |
62
|
|
|
|
|
|
|
'KeyMap_D', |
63
|
|
|
|
|
|
|
{ |
64
|
|
|
|
|
|
|
'default' => 'Escape', |
65
|
|
|
|
|
|
|
'type' => 'leaf', |
66
|
|
|
|
|
|
|
'value_type' => 'uniline' |
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
'KeyRepeatDelay', |
69
|
|
|
|
|
|
|
{ |
70
|
|
|
|
|
|
|
'description' => 'Time (ms) from first key report to first repeat. Set to 0 to disable repeated |
71
|
|
|
|
|
|
|
key reports. ', |
72
|
|
|
|
|
|
|
'max' => '3000', |
73
|
|
|
|
|
|
|
'min' => '0', |
74
|
|
|
|
|
|
|
'type' => 'leaf', |
75
|
|
|
|
|
|
|
'upstream_default' => '500', |
76
|
|
|
|
|
|
|
'value_type' => 'integer' |
77
|
|
|
|
|
|
|
}, |
78
|
|
|
|
|
|
|
'KeyRepeatInterval', |
79
|
|
|
|
|
|
|
{ |
80
|
|
|
|
|
|
|
'description' => 'Time (ms) between repeated key reports. Ignored if KeyRepeatDelay is disabled |
81
|
|
|
|
|
|
|
(set to zero). ', |
82
|
|
|
|
|
|
|
'max' => '3000', |
83
|
|
|
|
|
|
|
'min' => '0', |
84
|
|
|
|
|
|
|
'type' => 'leaf', |
85
|
|
|
|
|
|
|
'upstream_default' => '300', |
86
|
|
|
|
|
|
|
'value_type' => 'integer' |
87
|
|
|
|
|
|
|
}, |
88
|
|
|
|
|
|
|
'OffBrightness', |
89
|
|
|
|
|
|
|
{ |
90
|
|
|
|
|
|
|
'description' => 'Set brightness of the backlight if the backlight is switched \'off\'. Set this |
91
|
|
|
|
|
|
|
to zero to completely turn off the backlight. ', |
92
|
|
|
|
|
|
|
'max' => '1000', |
93
|
|
|
|
|
|
|
'min' => '0', |
94
|
|
|
|
|
|
|
'type' => 'leaf', |
95
|
|
|
|
|
|
|
'upstream_default' => '100', |
96
|
|
|
|
|
|
|
'value_type' => 'integer' |
97
|
|
|
|
|
|
|
}, |
98
|
|
|
|
|
|
|
'Port', |
99
|
|
|
|
|
|
|
{ |
100
|
|
|
|
|
|
|
'description' => '--- t6963 options --- |
101
|
|
|
|
|
|
|
Parallel port to use |
102
|
|
|
|
|
|
|
legal: 0x200-0x400 ', |
103
|
|
|
|
|
|
|
'type' => 'leaf', |
104
|
|
|
|
|
|
|
'upstream_default' => '0x378', |
105
|
|
|
|
|
|
|
'value_type' => 'uniline' |
106
|
|
|
|
|
|
|
}, |
107
|
|
|
|
|
|
|
'Size', |
108
|
|
|
|
|
|
|
{ |
109
|
|
|
|
|
|
|
'description' => 'Width and height of the display in pixel. The supported sizes may depend on |
110
|
|
|
|
|
|
|
the ConnectionType. |
111
|
|
|
|
|
|
|
legal: 1x1-640x480 ', |
112
|
|
|
|
|
|
|
'type' => 'leaf', |
113
|
|
|
|
|
|
|
'upstream_default' => '128x64', |
114
|
|
|
|
|
|
|
'value_type' => 'uniline' |
115
|
|
|
|
|
|
|
}, |
116
|
|
|
|
|
|
|
'bidirectional', |
117
|
|
|
|
|
|
|
{ |
118
|
|
|
|
|
|
|
'description' => 'Use LPT port in bi-directional mode. This should work on most LPT port |
119
|
|
|
|
|
|
|
and is required for proper timing! ', |
120
|
|
|
|
|
|
|
'type' => 'leaf', |
121
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
122
|
|
|
|
|
|
|
'value_type' => 'boolean', |
123
|
|
|
|
|
|
|
'write_as' => [ |
124
|
|
|
|
|
|
|
'no', |
125
|
|
|
|
|
|
|
'yes' |
126
|
|
|
|
|
|
|
] |
127
|
|
|
|
|
|
|
}, |
128
|
|
|
|
|
|
|
'delayBus', |
129
|
|
|
|
|
|
|
{ |
130
|
|
|
|
|
|
|
'description' => 'Insert additional delays into reads / writes. ', |
131
|
|
|
|
|
|
|
'type' => 'leaf', |
132
|
|
|
|
|
|
|
'upstream_default' => 'no', |
133
|
|
|
|
|
|
|
'value_type' => 'boolean', |
134
|
|
|
|
|
|
|
'write_as' => [ |
135
|
|
|
|
|
|
|
'no', |
136
|
|
|
|
|
|
|
'yes' |
137
|
|
|
|
|
|
|
] |
138
|
|
|
|
|
|
|
}, |
139
|
|
|
|
|
|
|
'fontHasIcons', |
140
|
|
|
|
|
|
|
{ |
141
|
|
|
|
|
|
|
'description' => 'Some fonts miss the Unicode characters used to represent icons. In this case |
142
|
|
|
|
|
|
|
the built-in 5x8 font can used if this option is turned off. ', |
143
|
|
|
|
|
|
|
'type' => 'leaf', |
144
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
145
|
|
|
|
|
|
|
'value_type' => 'boolean', |
146
|
|
|
|
|
|
|
'write_as' => [ |
147
|
|
|
|
|
|
|
'no', |
148
|
|
|
|
|
|
|
'yes' |
149
|
|
|
|
|
|
|
] |
150
|
|
|
|
|
|
|
}, |
151
|
|
|
|
|
|
|
'normal_font', |
152
|
|
|
|
|
|
|
{ |
153
|
|
|
|
|
|
|
'description' => 'Path to font file to use for FreeType rendering. This font must be monospace |
154
|
|
|
|
|
|
|
and should contain some special Unicode characters like arrows (Andale Mono |
155
|
|
|
|
|
|
|
is recommended and can be fetched at http://corefonts.sf.net).', |
156
|
|
|
|
|
|
|
'type' => 'leaf', |
157
|
|
|
|
|
|
|
'upstream_default' => '/usr/local/lib/X11/fonts/TTF/andalemo.ttf', |
158
|
|
|
|
|
|
|
'value_type' => 'uniline' |
159
|
|
|
|
|
|
|
}, |
160
|
|
|
|
|
|
|
'picolcdgfx_Inverted', |
161
|
|
|
|
|
|
|
{ |
162
|
|
|
|
|
|
|
'choice' => [ |
163
|
|
|
|
|
|
|
'yesorno' |
164
|
|
|
|
|
|
|
], |
165
|
|
|
|
|
|
|
'description' => 'Inverted: Inverts the pixels. ', |
166
|
|
|
|
|
|
|
'type' => 'leaf', |
167
|
|
|
|
|
|
|
'upstream_default' => 'no', |
168
|
|
|
|
|
|
|
'value_type' => 'enum' |
169
|
|
|
|
|
|
|
}, |
170
|
|
|
|
|
|
|
'picolcdgfx_KeyTimeout', |
171
|
|
|
|
|
|
|
{ |
172
|
|
|
|
|
|
|
'description' => '--- picolcdgfx options --- |
173
|
|
|
|
|
|
|
Time in ms for usb_read to wait on a key press. ', |
174
|
|
|
|
|
|
|
'min' => '0', |
175
|
|
|
|
|
|
|
'type' => 'leaf', |
176
|
|
|
|
|
|
|
'upstream_default' => '125', |
177
|
|
|
|
|
|
|
'value_type' => 'integer' |
178
|
|
|
|
|
|
|
}, |
179
|
|
|
|
|
|
|
'serdisp_device', |
180
|
|
|
|
|
|
|
{ |
181
|
|
|
|
|
|
|
'default' => '/dev/ppi0', |
182
|
|
|
|
|
|
|
'description' => 'The display device to use, e.g. serraw:/dev/ttyS0, |
183
|
|
|
|
|
|
|
parport:/dev/parport0 or USB:07c0/1501.', |
184
|
|
|
|
|
|
|
'type' => 'leaf', |
185
|
|
|
|
|
|
|
'value_type' => 'uniline' |
186
|
|
|
|
|
|
|
}, |
187
|
|
|
|
|
|
|
'serdisp_name', |
188
|
|
|
|
|
|
|
{ |
189
|
|
|
|
|
|
|
'default' => 't6963', |
190
|
|
|
|
|
|
|
'description' => '--- serdisplib options --- |
191
|
|
|
|
|
|
|
Name of the underlying serdisplib driver, e.g. ctinclud. See |
192
|
|
|
|
|
|
|
serdisplib documentation for details.', |
193
|
|
|
|
|
|
|
'type' => 'leaf', |
194
|
|
|
|
|
|
|
'value_type' => 'uniline' |
195
|
|
|
|
|
|
|
}, |
196
|
|
|
|
|
|
|
'serdisp_options', |
197
|
|
|
|
|
|
|
{ |
198
|
|
|
|
|
|
|
'description' => 'Options string to pass to serdisplib during initialization. Use |
199
|
|
|
|
|
|
|
this to set any display related options (e.g. wiring). The display size is |
200
|
|
|
|
|
|
|
always set based on the Size configured above! By default, no options are |
201
|
|
|
|
|
|
|
set. |
202
|
|
|
|
|
|
|
Important: The value must be quoted as it contains equal signs!', |
203
|
|
|
|
|
|
|
'type' => 'leaf', |
204
|
|
|
|
|
|
|
'upstream_default' => 'INVERT=1', |
205
|
|
|
|
|
|
|
'value_type' => 'uniline' |
206
|
|
|
|
|
|
|
}, |
207
|
|
|
|
|
|
|
'useFT2', |
208
|
|
|
|
|
|
|
{ |
209
|
|
|
|
|
|
|
'description' => 'If LCDproc has been compiled with FreeType 2 support this option can be used |
210
|
|
|
|
|
|
|
to turn if off intentionally. ', |
211
|
|
|
|
|
|
|
'type' => 'leaf', |
212
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
213
|
|
|
|
|
|
|
'value_type' => 'boolean', |
214
|
|
|
|
|
|
|
'write_as' => [ |
215
|
|
|
|
|
|
|
'no', |
216
|
|
|
|
|
|
|
'yes' |
217
|
|
|
|
|
|
|
] |
218
|
|
|
|
|
|
|
}, |
219
|
|
|
|
|
|
|
'x11_BacklightColor', |
220
|
|
|
|
|
|
|
{ |
221
|
|
|
|
|
|
|
'description' => 'BacklightColor: The color of the backlight as full brightness.', |
222
|
|
|
|
|
|
|
'type' => 'leaf', |
223
|
|
|
|
|
|
|
'upstream_default' => '0x80FF80', |
224
|
|
|
|
|
|
|
'value_type' => 'uniline' |
225
|
|
|
|
|
|
|
}, |
226
|
|
|
|
|
|
|
'x11_Border', |
227
|
|
|
|
|
|
|
{ |
228
|
|
|
|
|
|
|
'description' => 'Border: Adds a border (empty space) around the LCD portion of X11 window.', |
229
|
|
|
|
|
|
|
'type' => 'leaf', |
230
|
|
|
|
|
|
|
'upstream_default' => '20', |
231
|
|
|
|
|
|
|
'value_type' => 'uniline' |
232
|
|
|
|
|
|
|
}, |
233
|
|
|
|
|
|
|
'x11_Inverted', |
234
|
|
|
|
|
|
|
{ |
235
|
|
|
|
|
|
|
'description' => 'Inverted: inverts the pixels ', |
236
|
|
|
|
|
|
|
'type' => 'leaf', |
237
|
|
|
|
|
|
|
'upstream_default' => 'no', |
238
|
|
|
|
|
|
|
'value_type' => 'boolean', |
239
|
|
|
|
|
|
|
'write_as' => [ |
240
|
|
|
|
|
|
|
'no', |
241
|
|
|
|
|
|
|
'yes' |
242
|
|
|
|
|
|
|
] |
243
|
|
|
|
|
|
|
}, |
244
|
|
|
|
|
|
|
'x11_PixelColor', |
245
|
|
|
|
|
|
|
{ |
246
|
|
|
|
|
|
|
'description' => 'Colors are in RRGGBB format prefixed with "0x". |
247
|
|
|
|
|
|
|
PixelColor: The color of each dot at full contrast. ', |
248
|
|
|
|
|
|
|
'type' => 'leaf', |
249
|
|
|
|
|
|
|
'upstream_default' => '0x000000', |
250
|
|
|
|
|
|
|
'value_type' => 'uniline' |
251
|
|
|
|
|
|
|
}, |
252
|
|
|
|
|
|
|
'x11_PixelSize', |
253
|
|
|
|
|
|
|
{ |
254
|
|
|
|
|
|
|
'description' => '--- x11 options --- |
255
|
|
|
|
|
|
|
PixelSize is size of each dot in pixels + a pixel gap. ', |
256
|
|
|
|
|
|
|
'type' => 'leaf', |
257
|
|
|
|
|
|
|
'upstream_default' => '3+1', |
258
|
|
|
|
|
|
|
'value_type' => 'uniline' |
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
], |
261
|
|
|
|
|
|
|
'name' => 'LCDd::glcd' |
262
|
|
|
|
|
|
|
} |
263
|
|
|
|
|
|
|
] |
264
|
|
|
|
|
|
|
; |
265
|
|
|
|
|
|
|
|