line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
6405
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
97
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Brightness', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Set the initial brightness |
11
|
|
|
|
|
|
|
0-250 = 25%, 251-500 = 50%, 501-750 = 75%, 751-1000 = 100%', |
12
|
|
|
|
|
|
|
'max' => '1000', |
13
|
|
|
|
|
|
|
'min' => '0', |
14
|
|
|
|
|
|
|
'type' => 'leaf', |
15
|
|
|
|
|
|
|
'upstream_default' => '1000', |
16
|
|
|
|
|
|
|
'value_type' => 'integer' |
17
|
|
|
|
|
|
|
}, |
18
|
|
|
|
|
|
|
'Lastline', |
19
|
|
|
|
|
|
|
{ |
20
|
|
|
|
|
|
|
'description' => 'Specifies if the last line is pixel addressable (yes) or it only controls an |
21
|
|
|
|
|
|
|
underline effect (no). ', |
22
|
|
|
|
|
|
|
'type' => 'leaf', |
23
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
24
|
|
|
|
|
|
|
'value_type' => 'boolean', |
25
|
|
|
|
|
|
|
'write_as' => [ |
26
|
|
|
|
|
|
|
'no', |
27
|
|
|
|
|
|
|
'yes' |
28
|
|
|
|
|
|
|
] |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
'ProductID', |
31
|
|
|
|
|
|
|
{ |
32
|
|
|
|
|
|
|
'description' => 'USB Product ID |
33
|
|
|
|
|
|
|
Change only if testing a compatible device.', |
34
|
|
|
|
|
|
|
'type' => 'leaf', |
35
|
|
|
|
|
|
|
'upstream_default' => '0x6001', |
36
|
|
|
|
|
|
|
'value_type' => 'uniline' |
37
|
|
|
|
|
|
|
}, |
38
|
|
|
|
|
|
|
'Size', |
39
|
|
|
|
|
|
|
{ |
40
|
|
|
|
|
|
|
'description' => 'Columns by lines ', |
41
|
|
|
|
|
|
|
'type' => 'leaf', |
42
|
|
|
|
|
|
|
'upstream_default' => '20x2', |
43
|
|
|
|
|
|
|
'value_type' => 'uniline' |
44
|
|
|
|
|
|
|
}, |
45
|
|
|
|
|
|
|
'VendorID', |
46
|
|
|
|
|
|
|
{ |
47
|
|
|
|
|
|
|
'description' => 'USB Vendor ID |
48
|
|
|
|
|
|
|
Change only if testing a compatible device.', |
49
|
|
|
|
|
|
|
'type' => 'leaf', |
50
|
|
|
|
|
|
|
'upstream_default' => '0x0403', |
51
|
|
|
|
|
|
|
'value_type' => 'uniline' |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
], |
54
|
|
|
|
|
|
|
'name' => 'LCDd::lis' |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
] |
57
|
|
|
|
|
|
|
; |
58
|
|
|
|
|
|
|
|