line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
7511
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
32
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
153
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Backlight', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Switch on the backlight? ', |
11
|
|
|
|
|
|
|
'type' => 'leaf', |
12
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
13
|
|
|
|
|
|
|
'value_type' => 'uniline' |
14
|
|
|
|
|
|
|
}, |
15
|
|
|
|
|
|
|
'Cursor', |
16
|
|
|
|
|
|
|
{ |
17
|
|
|
|
|
|
|
'description' => 'Switch on the cursor? ', |
18
|
|
|
|
|
|
|
'type' => 'leaf', |
19
|
|
|
|
|
|
|
'upstream_default' => 'no', |
20
|
|
|
|
|
|
|
'value_type' => 'uniline' |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
'Device', |
23
|
|
|
|
|
|
|
{ |
24
|
|
|
|
|
|
|
'description' => 'Select the output device to use |
25
|
|
|
|
|
|
|
Device=/dev/cua01', |
26
|
|
|
|
|
|
|
'type' => 'leaf', |
27
|
|
|
|
|
|
|
'upstream_default' => '/dev/ttyS1', |
28
|
|
|
|
|
|
|
'value_type' => 'uniline' |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
'DownKey', |
31
|
|
|
|
|
|
|
{ |
32
|
|
|
|
|
|
|
'default' => 'B', |
33
|
|
|
|
|
|
|
'type' => 'leaf', |
34
|
|
|
|
|
|
|
'value_type' => 'uniline' |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
'EscapeKey', |
37
|
|
|
|
|
|
|
{ |
38
|
|
|
|
|
|
|
'default' => 'P', |
39
|
|
|
|
|
|
|
'type' => 'leaf', |
40
|
|
|
|
|
|
|
'value_type' => 'uniline' |
41
|
|
|
|
|
|
|
}, |
42
|
|
|
|
|
|
|
'LeftKey', |
43
|
|
|
|
|
|
|
{ |
44
|
|
|
|
|
|
|
'default' => 'D', |
45
|
|
|
|
|
|
|
'description' => 'Enter Key is a \\r character, so it\'s hardcoded in the driver', |
46
|
|
|
|
|
|
|
'type' => 'leaf', |
47
|
|
|
|
|
|
|
'value_type' => 'uniline' |
48
|
|
|
|
|
|
|
}, |
49
|
|
|
|
|
|
|
'RightKey', |
50
|
|
|
|
|
|
|
{ |
51
|
|
|
|
|
|
|
'default' => 'C', |
52
|
|
|
|
|
|
|
'type' => 'leaf', |
53
|
|
|
|
|
|
|
'value_type' => 'uniline' |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
'Size', |
56
|
|
|
|
|
|
|
{ |
57
|
|
|
|
|
|
|
'description' => 'Set the display size ', |
58
|
|
|
|
|
|
|
'type' => 'leaf', |
59
|
|
|
|
|
|
|
'upstream_default' => '20x4', |
60
|
|
|
|
|
|
|
'value_type' => 'uniline' |
61
|
|
|
|
|
|
|
}, |
62
|
|
|
|
|
|
|
'Speed', |
63
|
|
|
|
|
|
|
{ |
64
|
|
|
|
|
|
|
'choice' => [ |
65
|
|
|
|
|
|
|
'1200', |
66
|
|
|
|
|
|
|
'2400', |
67
|
|
|
|
|
|
|
'9600', |
68
|
|
|
|
|
|
|
'19200' |
69
|
|
|
|
|
|
|
], |
70
|
|
|
|
|
|
|
'description' => 'Set the communication speed ', |
71
|
|
|
|
|
|
|
'type' => 'leaf', |
72
|
|
|
|
|
|
|
'upstream_default' => '19200', |
73
|
|
|
|
|
|
|
'value_type' => 'enum' |
74
|
|
|
|
|
|
|
}, |
75
|
|
|
|
|
|
|
'UpKey', |
76
|
|
|
|
|
|
|
{ |
77
|
|
|
|
|
|
|
'default' => 'A', |
78
|
|
|
|
|
|
|
'type' => 'leaf', |
79
|
|
|
|
|
|
|
'value_type' => 'uniline' |
80
|
|
|
|
|
|
|
}, |
81
|
|
|
|
|
|
|
'keypad_test_mode', |
82
|
|
|
|
|
|
|
{ |
83
|
|
|
|
|
|
|
'default' => 'no', |
84
|
|
|
|
|
|
|
'description' => 'You can find out which key of your display sends which |
85
|
|
|
|
|
|
|
character by setting keypad_test_mode to yes and running |
86
|
|
|
|
|
|
|
LCDd. LCDd will output all characters it receives. |
87
|
|
|
|
|
|
|
Afterwards you can modify the settings above and set |
88
|
|
|
|
|
|
|
keypad_set_mode to no again.', |
89
|
|
|
|
|
|
|
'type' => 'leaf', |
90
|
|
|
|
|
|
|
'value_type' => 'uniline' |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
], |
93
|
|
|
|
|
|
|
'name' => 'LCDd::EyeboxOne' |
94
|
|
|
|
|
|
|
} |
95
|
|
|
|
|
|
|
] |
96
|
|
|
|
|
|
|
; |
97
|
|
|
|
|
|
|
|