line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
6869
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
235
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Brightness', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Set the initial brightness ', |
11
|
|
|
|
|
|
|
'max' => '1000', |
12
|
|
|
|
|
|
|
'min' => '0', |
13
|
|
|
|
|
|
|
'type' => 'leaf', |
14
|
|
|
|
|
|
|
'upstream_default' => '1000', |
15
|
|
|
|
|
|
|
'value_type' => 'integer' |
16
|
|
|
|
|
|
|
}, |
17
|
|
|
|
|
|
|
'Contrast', |
18
|
|
|
|
|
|
|
{ |
19
|
|
|
|
|
|
|
'description' => 'Set the initial contrast |
20
|
|
|
|
|
|
|
NOTE: The driver will ignore this if the display |
21
|
|
|
|
|
|
|
is a vfd or vkd as they don\'t have this feature', |
22
|
|
|
|
|
|
|
'type' => 'leaf', |
23
|
|
|
|
|
|
|
'upstream_default' => '480', |
24
|
|
|
|
|
|
|
'value_type' => 'uniline' |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
'Device', |
27
|
|
|
|
|
|
|
{ |
28
|
|
|
|
|
|
|
'description' => 'Select the output device to use ', |
29
|
|
|
|
|
|
|
'type' => 'leaf', |
30
|
|
|
|
|
|
|
'upstream_default' => '/dev/lcd', |
31
|
|
|
|
|
|
|
'value_type' => 'uniline' |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
'KeyMap_A', |
34
|
|
|
|
|
|
|
{ |
35
|
|
|
|
|
|
|
'description' => 'The following table translates from MtxOrb key letters to logical key names. |
36
|
|
|
|
|
|
|
By default no keys are mapped, meaning the keypad is not used at all.', |
37
|
|
|
|
|
|
|
'type' => 'leaf', |
38
|
|
|
|
|
|
|
'upstream_default' => 'Left', |
39
|
|
|
|
|
|
|
'value_type' => 'uniline' |
40
|
|
|
|
|
|
|
}, |
41
|
|
|
|
|
|
|
'KeyMap_B', |
42
|
|
|
|
|
|
|
{ |
43
|
|
|
|
|
|
|
'type' => 'leaf', |
44
|
|
|
|
|
|
|
'upstream_default' => 'Right', |
45
|
|
|
|
|
|
|
'value_type' => 'uniline' |
46
|
|
|
|
|
|
|
}, |
47
|
|
|
|
|
|
|
'KeyMap_C', |
48
|
|
|
|
|
|
|
{ |
49
|
|
|
|
|
|
|
'type' => 'leaf', |
50
|
|
|
|
|
|
|
'upstream_default' => 'Up', |
51
|
|
|
|
|
|
|
'value_type' => 'uniline' |
52
|
|
|
|
|
|
|
}, |
53
|
|
|
|
|
|
|
'KeyMap_D', |
54
|
|
|
|
|
|
|
{ |
55
|
|
|
|
|
|
|
'type' => 'leaf', |
56
|
|
|
|
|
|
|
'upstream_default' => 'Down', |
57
|
|
|
|
|
|
|
'value_type' => 'uniline' |
58
|
|
|
|
|
|
|
}, |
59
|
|
|
|
|
|
|
'KeyMap_E', |
60
|
|
|
|
|
|
|
{ |
61
|
|
|
|
|
|
|
'type' => 'leaf', |
62
|
|
|
|
|
|
|
'upstream_default' => 'Enter', |
63
|
|
|
|
|
|
|
'value_type' => 'uniline' |
64
|
|
|
|
|
|
|
}, |
65
|
|
|
|
|
|
|
'KeyMap_F', |
66
|
|
|
|
|
|
|
{ |
67
|
|
|
|
|
|
|
'type' => 'leaf', |
68
|
|
|
|
|
|
|
'upstream_default' => 'Escape', |
69
|
|
|
|
|
|
|
'value_type' => 'uniline' |
70
|
|
|
|
|
|
|
}, |
71
|
|
|
|
|
|
|
'OffBrightness', |
72
|
|
|
|
|
|
|
{ |
73
|
|
|
|
|
|
|
'description' => 'Set the initial off-brightness |
74
|
|
|
|
|
|
|
This value is used when the display is normally |
75
|
|
|
|
|
|
|
switched off in case LCDd is inactive', |
76
|
|
|
|
|
|
|
'max' => '1000', |
77
|
|
|
|
|
|
|
'min' => '0', |
78
|
|
|
|
|
|
|
'type' => 'leaf', |
79
|
|
|
|
|
|
|
'upstream_default' => '0', |
80
|
|
|
|
|
|
|
'value_type' => 'integer' |
81
|
|
|
|
|
|
|
}, |
82
|
|
|
|
|
|
|
'Size', |
83
|
|
|
|
|
|
|
{ |
84
|
|
|
|
|
|
|
'description' => 'Set the display size ', |
85
|
|
|
|
|
|
|
'type' => 'leaf', |
86
|
|
|
|
|
|
|
'upstream_default' => '20x4', |
87
|
|
|
|
|
|
|
'value_type' => 'uniline' |
88
|
|
|
|
|
|
|
}, |
89
|
|
|
|
|
|
|
'Speed', |
90
|
|
|
|
|
|
|
{ |
91
|
|
|
|
|
|
|
'choice' => [ |
92
|
|
|
|
|
|
|
'1200', |
93
|
|
|
|
|
|
|
'2400', |
94
|
|
|
|
|
|
|
'9600', |
95
|
|
|
|
|
|
|
'19200' |
96
|
|
|
|
|
|
|
], |
97
|
|
|
|
|
|
|
'description' => 'Set the communication speed ', |
98
|
|
|
|
|
|
|
'type' => 'leaf', |
99
|
|
|
|
|
|
|
'upstream_default' => '19200', |
100
|
|
|
|
|
|
|
'value_type' => 'enum' |
101
|
|
|
|
|
|
|
}, |
102
|
|
|
|
|
|
|
'Type', |
103
|
|
|
|
|
|
|
{ |
104
|
|
|
|
|
|
|
'choice' => [ |
105
|
|
|
|
|
|
|
'lcd', |
106
|
|
|
|
|
|
|
'lkd', |
107
|
|
|
|
|
|
|
'vfd', |
108
|
|
|
|
|
|
|
'vkd' |
109
|
|
|
|
|
|
|
], |
110
|
|
|
|
|
|
|
'description' => 'Set the display type ', |
111
|
|
|
|
|
|
|
'type' => 'leaf', |
112
|
|
|
|
|
|
|
'upstream_default' => 'lcd', |
113
|
|
|
|
|
|
|
'value_type' => 'enum' |
114
|
|
|
|
|
|
|
}, |
115
|
|
|
|
|
|
|
'hasAdjustableBacklight', |
116
|
|
|
|
|
|
|
{ |
117
|
|
|
|
|
|
|
'description' => 'Some old displays do not have an adjustable backlight but only can |
118
|
|
|
|
|
|
|
switch the backlight on/off. If you experience randomly appearing block |
119
|
|
|
|
|
|
|
characters, try setting this to false. ', |
120
|
|
|
|
|
|
|
'type' => 'leaf', |
121
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
122
|
|
|
|
|
|
|
'value_type' => 'boolean', |
123
|
|
|
|
|
|
|
'write_as' => [ |
124
|
|
|
|
|
|
|
'no', |
125
|
|
|
|
|
|
|
'yes' |
126
|
|
|
|
|
|
|
] |
127
|
|
|
|
|
|
|
}, |
128
|
|
|
|
|
|
|
'keypad_test_mode', |
129
|
|
|
|
|
|
|
{ |
130
|
|
|
|
|
|
|
'default' => 'no', |
131
|
|
|
|
|
|
|
'description' => 'See the [menu] section for an explanation of the key mappings |
132
|
|
|
|
|
|
|
You can find out which key of your display sends which |
133
|
|
|
|
|
|
|
character by setting keypad_test_mode to yes and running |
134
|
|
|
|
|
|
|
LCDd. LCDd will output all characters it receives. |
135
|
|
|
|
|
|
|
Afterwards you can modify the settings above and set |
136
|
|
|
|
|
|
|
keypad_set_mode to no again.', |
137
|
|
|
|
|
|
|
'type' => 'leaf', |
138
|
|
|
|
|
|
|
'value_type' => 'uniline' |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
], |
141
|
|
|
|
|
|
|
'name' => 'LCDd::MtxOrb' |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
] |
144
|
|
|
|
|
|
|
; |
145
|
|
|
|
|
|
|
|