Code

release v0.29
[ncmpc.git] / doc / ncmpc.lirc
1 #
2 # Sample .lirc file for usage with irpty and ncmpc
3
4 # $ irpty ./ncmpc.lirc -- ncmpc
5
9 Begin
10         remote = *
11         button = CD_VOL-
12         prog   = irpty
13         repeat = 1
14         config = -
15 end
17 begin
18         remote = *
19         button = CD_VOL+
20         prog   = irpty
21         repeat = 1
22         config = +
23 end
25 Begin
26         remote = *
27         button = CD_SEEK_BACK
28         prog   = irpty
29         repeat = 1
30         config = b
31 end
33 begin
34         remote = *
35         button = CD_SEEL_FORW
36         prog   = irpty
37         repeat = 1
38         config = f
39 end
41 begin
42         remote = *
43         button = CD_STOP
44         prog   = irpty
45         repeat = 0
46         config = s
47 end
49 begin
50         remote = *
51         button = CD_NEXT
52         prog   = irpty
53         repeat = 0
54         config = >
55 end
57 begin
58         remote = *
59         button = CD_PREV
60         prog   = irpty
61         repeat = 0
62         config = <
63 end
65 begin
66         remote = *
67         button = CD_PAUSE
68         prog   = irpty
69         repeat = 0
70         config = P
71 end
73 begin
74         remote = *
75         button = CD_PLAY
76         prog   = irpty
77         repeat = 0
78         config = \r
79 end
81 # Switch screen (Playlist/Browse)
82 begin
83         remote = *
84         button = CD_EJECT
85         prog   = irpty
86         repeat = 0
87         config = \x9
88 end
91 # move: Up
92 begin
93         remote = *
94         button = CD_2
95         prog   = irpty
96         repeat = 2
97         config = k
98 end
100 # move: Down
101 begin
102         remote = *
103         button = CD_8
104         prog   = irpty
105         repeat = 2
106         config = j
107 end
109 # move: Center (update)
110 begin
111         remote = *
112         button = CD_5
113         prog   = irpty
114         repeat = 0
115         config = u
116 end
118 # Auto center
119 begin
120         remote = *
121         button = CD_CHECK
122         prog   = irpty
123         config = U
124 end
127 # move: home
128 begin
129         remote = *
130         button = CD_1
131         prog   = irpty
132         repeat = 0
133         config = \A
134 end
136 # move: end
137 begin
138         remote = *
139         button = CD_7
140         prog   = irpty
141         repeat = 0
142         config = \E
143 end
145 # move: PgUp
146 begin
147         remote = *
148         button = CD_3
149         prog   = irpty
150         repeat = 0
151         config = A
152 end
154 # move: PgDn
155 begin
156         remote = *
157         button = CD_9
158         prog   = irpty
159         repeat = 0
160         config = B
161 end
164 # Add/Select song 
165 begin
166         remote = *
167         button = CD_INDEX_NEXT
168         prog   = irpty
169         repeat = 0
170         config = \x20
171 end
173 # Delete song 
174 begin
175         remote = *
176         button = CD_INDEX_PREV
177         prog   = irpty
178         repeat = 0
179         config = d
180 end
182 # Clear playlist
183 begin
184         remote = *
185         button = CD_CLEAR
186         prog   = irpty
187         repeat = 0
188         config = c
189 end
191 # Random
192 begin
193         remote = *
194         button = CD_RANDOM
195         prog   = irpty
196         repeat = 0
197         config = z
198 end
200 # repeat
201 begin
202         remote = *
203         button = CD_REPEAT
204         prog   = irpty
205         repeat = 0
206         config = r
207 end
209 # crossfade
210 begin
211         remote = *
212         button = CD_TIME_FADE
213         prog   = irpty
214         repeat = 0
215         config = x
216 end
218 begin
219         remote = *
220         button = CD_TIME
221         prog   = irpty
222         repeat = 0
223         config = t
224 end