blob: 21752013d0fd10183f32381940491c2bec20572a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
#
# This is an example of ~/.lircrc file
# It is a copy of actual setup from my home machine.
# Contributed by Pawel T. Jochym <jochym@ifj.edu.pl>
#
begin
button = MOUSE_MODE
mode = mouse
end
begin
prog = irexec
button = FULL_SCREEN
config = xawtv -geometry 768x576+0+0 -c /dev/video TVP-1 &
mode = tv
flags = once
end
begin
button = ESC
mode = system
flags = once
end
begin system
begin
prog = irexec
button = 1
button = 2
button = 3
button = 6
button = 3
button = 6
config = shutdown -r now
flags = mode
end
end system
begin tv
begin
prog = irxevent
button = POWER
config = Key q xawtv
flags = mode
end
begin
prog = irxevent
button = FULL_SCREEN
config = Key f xawtv
config = Key f xawtv
repeat = 1
end
begin
prog = irxevent
button = CHAN_MINUS
repeat = 1
config = Key Page_Down xawtv
end
begin
prog = irxevent
button = CHAN_PLUS
repeat = 1
config = Key Page_Up xawtv
end
begin
prog = irxevent
button = MENU
repeat = 1
config = Key c xawtv
end
begin
prog = irxevent
button = CHANELS
repeat = 1
config = Key ctrl-z xawtv
end
begin
prog = irxevent
button = MUTE
config = Key Return xawtv
end
begin
prog = irxevent
button = VOL_PLUS
repeat = 1
config = Key KP_Add xawtv
end
begin
prog = irxevent
button = VOL_MINUS
repeat = 1
config = Key KP_Subtract xawtv
end
begin
prog = irexec
button = 1
config = xawtv-remote setstation 0
end
begin
prog = irexec
button = 2
config = xawtv-remote setstation 1
end
begin
prog = irexec
button = 3
config = xawtv-remote setstation 2
end
begin
prog = irexec
button = 4
config = xawtv-remote setstation 3
end
begin
prog = irexec
button = 5
config = xawtv-remote setstation 4
end
begin
prog = irexec
button = 6
config = xawtv-remote setstation 5
end
begin
prog = irexec
button = 7
config = xawtv-remote setstation 6
end
begin
prog = irexec
button = 8
config = xawtv-remote setstation 7
end
end tv
|