| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
7003
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
33
|
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
102
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
|
5
|
|
|
|
|
|
|
{ |
|
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
|
7
|
|
|
|
|
|
|
'element' => [ |
|
8
|
|
|
|
|
|
|
'Device', |
|
9
|
|
|
|
|
|
|
{ |
|
10
|
|
|
|
|
|
|
'description' => 'Select the input device to use ', |
|
11
|
|
|
|
|
|
|
'type' => 'leaf', |
|
12
|
|
|
|
|
|
|
'upstream_default' => '/dev/js0', |
|
13
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
14
|
|
|
|
|
|
|
}, |
|
15
|
|
|
|
|
|
|
'Map_Axis1neg', |
|
16
|
|
|
|
|
|
|
{ |
|
17
|
|
|
|
|
|
|
'default' => 'Left', |
|
18
|
|
|
|
|
|
|
'description' => 'set the axis map', |
|
19
|
|
|
|
|
|
|
'type' => 'leaf', |
|
20
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
21
|
|
|
|
|
|
|
}, |
|
22
|
|
|
|
|
|
|
'Map_Axis1pos', |
|
23
|
|
|
|
|
|
|
{ |
|
24
|
|
|
|
|
|
|
'default' => 'Right', |
|
25
|
|
|
|
|
|
|
'type' => 'leaf', |
|
26
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
27
|
|
|
|
|
|
|
}, |
|
28
|
|
|
|
|
|
|
'Map_Axis2neg', |
|
29
|
|
|
|
|
|
|
{ |
|
30
|
|
|
|
|
|
|
'default' => 'Up', |
|
31
|
|
|
|
|
|
|
'type' => 'leaf', |
|
32
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
33
|
|
|
|
|
|
|
}, |
|
34
|
|
|
|
|
|
|
'Map_Axis2pos', |
|
35
|
|
|
|
|
|
|
{ |
|
36
|
|
|
|
|
|
|
'default' => 'Down', |
|
37
|
|
|
|
|
|
|
'type' => 'leaf', |
|
38
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
39
|
|
|
|
|
|
|
}, |
|
40
|
|
|
|
|
|
|
'Map_Button1', |
|
41
|
|
|
|
|
|
|
{ |
|
42
|
|
|
|
|
|
|
'default' => 'Enter', |
|
43
|
|
|
|
|
|
|
'description' => 'set the button map', |
|
44
|
|
|
|
|
|
|
'type' => 'leaf', |
|
45
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
46
|
|
|
|
|
|
|
}, |
|
47
|
|
|
|
|
|
|
'Map_Button2', |
|
48
|
|
|
|
|
|
|
{ |
|
49
|
|
|
|
|
|
|
'default' => 'Escape', |
|
50
|
|
|
|
|
|
|
'type' => 'leaf', |
|
51
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
52
|
|
|
|
|
|
|
} |
|
53
|
|
|
|
|
|
|
], |
|
54
|
|
|
|
|
|
|
'name' => 'LCDd::joy' |
|
55
|
|
|
|
|
|
|
} |
|
56
|
|
|
|
|
|
|
] |
|
57
|
|
|
|
|
|
|
; |
|
58
|
|
|
|
|
|
|
|