summaryrefslogtreecommitdiff
path: root/meta/packages/lirc/files/lircrc_nslu2
blob: 0669d90b094b24fafccae3e1c4cabb2315b287bd (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
# This is the default files read by all lirc clients
# (see also /etc/lircd.conf)

# I run /sbin/buzzer before every command to get an audible feedback

## Here LIRC could shutdown your system
#begin
#  prog = irexec
#  remote = RC5
#  repeat = 0
#  button = vcr2-standby
#  config = /sbin/buzzer; /sbin/halt
#end


## Here LIRC controls your mpd music deamon
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-pause
  config = /sbin/buzzer; mpc toggle
end
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-step+
  config = /sbin/buzzer; mpc next
end
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-step-
  config = /sbin/buzzer; mpc prev
end
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-scan_forward
  config = /sbin/buzzer; mpc seek +00:00:30
end
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-scan_reverse
  config = /sbin/buzzer; mpc seek -00:00:30
end
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-brightness+
  config = /sbin/buzzer; mpc volume +20
end
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-brightness-
  config = /sbin/buzzer; mpc volume -20
end


## Here LIRC acts as an repeater
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-volume+
  config = /sbin/buzzer; irsend SEND_ONCE RC5 amp1-volume+
end
begin
  prog = irexec
  remote = RC5
  repeat = 0
  button = vcr2-volume-
  config = /sbin/buzzer; irsend SEND_ONCE RC5 amp1-volume-
end


## Here LIRC is the input device for your LC display software
begin
  prog = lcdd
  remote = RC5
  repeat = 0
  button = vcr2-1
  config = A
end
begin
  prog = lcdd
  remote = RC5
  repeat = 0
  button = vcr2-2
  config = B
end
begin
  prog = lcdd
  remote = RC5
  repeat = 0
  button = vcr2-3
  config = C
end
begin
  prog = lcdd
  remote = RC5
  repeat = 0
  button = vcr2-4
  config = D
end