File Coverage

blib/lib/Config/Model/models/LCDd/picolcd.pl
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1 1     1   6466 use strict;
  1         3  
  1         33  
2 1     1   5 use warnings;
  1         2  
  1         356  
3              
4             return [
5             {
6             'class_description' => 'generated from LCDd.conf',
7             'element' => [
8             'Backlight',
9             {
10             'description' => 'Sets the initial state of the backlight upon start-up.',
11             'type' => 'leaf',
12             'upstream_default' => 'on',
13             'value_type' => 'boolean',
14             'write_as' => [
15             'off',
16             'on'
17             ]
18             },
19             'Brightness',
20             {
21             'description' => 'Set the initial brightness . Works only
22             with the 20x4 device',
23             'max' => '1000',
24             'min' => '0',
25             'type' => 'leaf',
26             'upstream_default' => '1000',
27             'value_type' => 'integer'
28             },
29             'Contrast',
30             {
31             'description' => 'Set the initial contrast ',
32             'max' => '1000',
33             'min' => '0',
34             'type' => 'leaf',
35             'upstream_default' => '1000',
36             'value_type' => 'integer'
37             },
38             'Key0Light',
39             {
40             'description' => 'If Keylights is on, the you can unlight specific keys below:
41             Key0 is the directional pad. Key1 - Key5 correspond to the F1 - F5 keys.
42             There is no LED for the +/- keys. This is a handy way to indicate to users
43             which keys are disabled. ',
44             'type' => 'leaf',
45             'upstream_default' => 'on',
46             'value_type' => 'boolean',
47             'write_as' => [
48             'off',
49             'on'
50             ]
51             },
52             'Key1Light',
53             {
54             'default' => 'on',
55             'type' => 'leaf',
56             'value_type' => 'uniline'
57             },
58             'Key2Light',
59             {
60             'default' => 'on',
61             'type' => 'leaf',
62             'value_type' => 'uniline'
63             },
64             'Key3Light',
65             {
66             'default' => 'on',
67             'type' => 'leaf',
68             'value_type' => 'uniline'
69             },
70             'Key4Light',
71             {
72             'default' => 'on',
73             'type' => 'leaf',
74             'value_type' => 'uniline'
75             },
76             'Key5Light',
77             {
78             'default' => 'on',
79             'type' => 'leaf',
80             'value_type' => 'uniline'
81             },
82             'KeyRepeatDelay',
83             {
84             'description' => 'Key auto repeat is only available if the picoLCD driver is built with
85             libusb-1.0. Use KeyRepeatDelay and KeyRepeatInterval to configure key auto
86             repeat.
87              
88             Key auto repeat delay (time in ms from first key report to first repeat). Use
89             zero to disable auto repeat. ',
90             'max' => '3000',
91             'min' => '0',
92             'type' => 'leaf',
93             'upstream_default' => '300',
94             'value_type' => 'integer'
95             },
96             'KeyRepeatInterval',
97             {
98             'description' => 'Key auto repeat interval (time in ms between repeat reports). Only used if
99             KeyRepeatDelay is not zero. ',
100             'max' => '3000',
101             'min' => '0',
102             'type' => 'leaf',
103             'upstream_default' => '200',
104             'value_type' => 'integer'
105             },
106             'KeyTimeout',
107             {
108             'description' => 'KeyTimeout is only used if the picoLCD driver is built with libusb-0.1. When
109             built with libusb-1.0 key and IR data is input asynchronously so there is no
110             need to wait for the USB data.
111             KeyTimeout is the time in ms that LCDd spends waiting for a key press before
112             cycling through other duties. Higher values make LCDd use less CPU time and
113             make key presses more detectable. Lower values make LCDd more responsive
114             but a little prone to missing key presses. 500 (.5 second) is the default
115             and a balanced value. ',
116             'max' => '1000',
117             'min' => '0',
118             'type' => 'leaf',
119             'upstream_default' => '500',
120             'value_type' => 'integer'
121             },
122             'Keylights',
123             {
124             'description' => 'Light the keys? ',
125             'type' => 'leaf',
126             'upstream_default' => 'on',
127             'value_type' => 'boolean',
128             'write_as' => [
129             'off',
130             'on'
131             ]
132             },
133             'LinkLights',
134             {
135             'description' => 'Link the key lights to the backlight? ',
136             'type' => 'leaf',
137             'upstream_default' => 'on',
138             'value_type' => 'boolean',
139             'write_as' => [
140             'off',
141             'on'
142             ]
143             },
144             'LircFlushThreshold',
145             {
146             'description' => 'Threshold in microseconds of the gap that triggers flushing the IR data
147             to lirc
148             If LircTime_us is on values greater than 32.767ms will disable the flush
149             If LircTime_us is off values greater than 1.999938s will disable the flush',
150             'min' => '1000',
151             'type' => 'leaf',
152             'upstream_default' => '8000',
153             'value_type' => 'integer'
154             },
155             'LircHost',
156             {
157             'description' => 'Host name or IP address of the LIRC instance that is to receive IR codes
158             If not set, or set to an empty value, IR support is disabled.',
159             'type' => 'leaf',
160             'upstream_default' => '127.0.0.1',
161             'value_type' => 'uniline'
162             },
163             'LircPort',
164             {
165             'description' => 'UDP port on which LIRC is listening ',
166             'max' => '65535',
167             'min' => '1',
168             'type' => 'leaf',
169             'upstream_default' => '8765',
170             'value_type' => 'integer'
171             },
172             'LircTime_us',
173             {
174             'description' => 'UDP data time unit for LIRC
175             On: times sent in microseconds (requires LIRC UDP driver that accepts this).
176             Off: times sent in \'jiffies\' (1/16384s) (supported by standard LIRC UDP driver).',
177             'type' => 'leaf',
178             'upstream_default' => 'off',
179             'value_type' => 'boolean',
180             'write_as' => [
181             'off',
182             'on'
183             ]
184             },
185             'OffBrightness',
186             {
187             'description' => 'Set the brightness while the backlight is \'off\' .
188             Works only with the 20x4 device.',
189             'max' => '1000',
190             'min' => '0',
191             'type' => 'leaf',
192             'upstream_default' => '0',
193             'value_type' => 'integer'
194             }
195             ],
196             'name' => 'LCDd::picolcd'
197             }
198             ]
199             ;
200