~ubuntu-branches/ubuntu/trusty/libconfig-model-perl/trusty

« back to all changes in this revision

Viewing changes to lib/Config/Model/models/LCDd/picolcd.pl

  • Committer: Package Import Robot
  • Author(s): Dominique Dumont, gregor herrmann, Dominique Dumont
  • Date: 2013-05-26 12:40:30 UTC
  • mfrom: (1.3.61)
  • Revision ID: package-import@ubuntu.com-20130526124030-nfmm6ejhjubovp7v
Tags: 2.036-1
[ gregor herrmann ]
* Add =encoding to POD in dh_config_model_upgrade.

[ Dominique Dumont ]
* Imported Upstream version 2.036
  * config-edit: added deprecation warning
  * Value: fix pod doc error in L<> (Closes: #709784)
  * Node::load_data: use a predictable order to accept elements.
    This change fixes the test failure in t/backend_ini.t
    (Closes: #709785)
  * make t/pod.t run only when AUTHOR_TESTING is set

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    'class_description' => 'generated from LCDd.conf',
13
13
    'name' => 'LCDd::picolcd',
14
14
    'element' => [
15
 
      'Key4Light',
 
15
      'Backlight',
16
16
      {
17
 
        'value_type' => 'uniline',
18
 
        'default' => 'on',
19
 
        'type' => 'leaf'
 
17
        'value_type' => 'enum',
 
18
        'upstream_default' => 'on',
 
19
        'type' => 'leaf',
 
20
        'description' => 'Sets the initial state of the backlight upon start-up.',
 
21
        'choice' => [
 
22
          'on',
 
23
          'off'
 
24
        ]
20
25
      },
21
 
      'Key3Light',
 
26
      'Brightness',
22
27
      {
23
 
        'value_type' => 'uniline',
24
 
        'default' => 'on',
25
 
        'type' => 'leaf'
 
28
        'value_type' => 'integer',
 
29
        'min' => '0',
 
30
        'upstream_default' => '1000',
 
31
        'max' => '1000',
 
32
        'type' => 'leaf',
 
33
        'description' => 'Set the initial brightness . Works only
 
34
with the 20x4 device'
26
35
      },
27
36
      'Contrast',
28
37
      {
33
42
        'type' => 'leaf',
34
43
        'description' => 'Set the initial contrast '
35
44
      },
 
45
      'Key0Light',
 
46
      {
 
47
        'value_type' => 'enum',
 
48
        'upstream_default' => 'on',
 
49
        'type' => 'leaf',
 
50
        'description' => 'If Keylights is on, the you can unlight specific keys below:
 
51
Key0 is the directional pad.  Key1 - Key5 correspond to the F1 - F5 keys.
 
52
There is no LED for the +/- keys.  This is a handy way to indicate to users
 
53
which keys are disabled.  ',
 
54
        'choice' => [
 
55
          'on',
 
56
          'off'
 
57
        ]
 
58
      },
 
59
      'Key1Light',
 
60
      {
 
61
        'value_type' => 'uniline',
 
62
        'default' => 'on',
 
63
        'type' => 'leaf'
 
64
      },
 
65
      'Key2Light',
 
66
      {
 
67
        'value_type' => 'uniline',
 
68
        'default' => 'on',
 
69
        'type' => 'leaf'
 
70
      },
 
71
      'Key3Light',
 
72
      {
 
73
        'value_type' => 'uniline',
 
74
        'default' => 'on',
 
75
        'type' => 'leaf'
 
76
      },
 
77
      'Key4Light',
 
78
      {
 
79
        'value_type' => 'uniline',
 
80
        'default' => 'on',
 
81
        'type' => 'leaf'
 
82
      },
 
83
      'Key5Light',
 
84
      {
 
85
        'value_type' => 'uniline',
 
86
        'default' => 'on',
 
87
        'type' => 'leaf'
 
88
      },
36
89
      'KeyTimeout',
37
90
      {
38
91
        'value_type' => 'integer',
46
99
but a little prone to missing key presses.  500 (.5 second) is the default
47
100
and a balanced value. '
48
101
      },
49
 
      'LircHost',
50
 
      {
51
 
        'value_type' => 'uniline',
52
 
        'default' => '127.0.0.1',
53
 
        'type' => 'leaf',
54
 
        'description' => 'Host name or IP address of the LIRC instance that is to receive IR codes
55
 
If not set, or set to an empty value, IR support is disabled.'
56
 
      },
57
 
      'Key1Light',
58
 
      {
59
 
        'value_type' => 'uniline',
60
 
        'default' => 'on',
61
 
        'type' => 'leaf'
62
 
      },
63
102
      'Keylights',
64
103
      {
65
104
        'value_type' => 'enum',
71
110
          'off'
72
111
        ]
73
112
      },
74
 
      'Key5Light',
75
 
      {
76
 
        'value_type' => 'uniline',
77
 
        'default' => 'on',
78
 
        'type' => 'leaf'
79
 
      },
80
 
      'Backlight',
81
 
      {
82
 
        'value_type' => 'enum',
83
 
        'upstream_default' => 'on',
84
 
        'type' => 'leaf',
85
 
        'description' => 'Sets the initial state of the backlight upon start-up.',
86
 
        'choice' => [
87
 
          'on',
88
 
          'off'
89
 
        ]
90
 
      },
91
 
      'Brightness',
92
 
      {
93
 
        'value_type' => 'integer',
94
 
        'min' => '0',
95
 
        'upstream_default' => '1000',
96
 
        'max' => '1000',
97
 
        'type' => 'leaf',
98
 
        'description' => 'Set the initial brightness . Works only
99
 
with the 20x4 device'
100
 
      },
101
113
      'LircFlushThreshold',
102
114
      {
103
115
        'value_type' => 'integer',
108
120
to lirc 
109
121
100 means 6.1ms. legal: 16 - 32767; Use 0 to disable.'
110
122
      },
111
 
      'Key0Light',
112
 
      {
113
 
        'value_type' => 'enum',
114
 
        'upstream_default' => 'on',
115
 
        'type' => 'leaf',
116
 
        'description' => 'If Keylights is on, the you can unlight specific keys below:
117
 
Key0 is the directional pad.  Key1 - Key5 correspond to the F1 - F5 keys.
118
 
There is no LED for the +/- keys.  This is a handy way to indicate to users
119
 
which keys are disabled.  ',
120
 
        'choice' => [
121
 
          'on',
122
 
          'off'
123
 
        ]
124
 
      },
125
 
      'Key2Light',
 
123
      'LircHost',
126
124
      {
127
125
        'value_type' => 'uniline',
128
 
        'default' => 'on',
129
 
        'type' => 'leaf'
130
 
      },
131
 
      'OffBrightness',
132
 
      {
133
 
        'value_type' => 'integer',
134
 
        'min' => '0',
135
 
        'upstream_default' => '0',
136
 
        'max' => '1000',
 
126
        'default' => '127.0.0.1',
137
127
        'type' => 'leaf',
138
 
        'description' => 'Set the brightness while the backlight is \'off\' .
139
 
Works only with the 20x4 device.'
 
128
        'description' => 'Host name or IP address of the LIRC instance that is to receive IR codes
 
129
If not set, or set to an empty value, IR support is disabled.'
140
130
      },
141
131
      'LircPort',
142
132
      {
146
136
        'max' => '65535',
147
137
        'type' => 'leaf',
148
138
        'description' => 'UDP port on which LIRC is listening '
 
139
      },
 
140
      'OffBrightness',
 
141
      {
 
142
        'value_type' => 'integer',
 
143
        'min' => '0',
 
144
        'upstream_default' => '0',
 
145
        'max' => '1000',
 
146
        'type' => 'leaf',
 
147
        'description' => 'Set the brightness while the backlight is \'off\' .
 
148
Works only with the 20x4 device.'
149
149
      }
150
150
    ]
151
151
  }