Code

Added a sample lirc (irpty) configuration file.
[ncmpc.git] / doc / ncmpc.lirc
1 #
2 # Sample .lirc file for usage with irpty and ncmcp
3
4 # $ irpty ./ncmpc.lirc -- ncmcp 
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_STOP
28         prog   = irpty
29         repeat = 0
30         config = s
31 end
33 begin
34         remote = *
35         button = CD_NEXT
36         prog   = irpty
37         repeat = 0
38         config = >
39 end
41 begin
42         remote = *
43         button = CD_PREV
44         prog   = irpty
45         repeat = 0
46         config = <
47 end
49 begin
50         remote = *
51         button = CD_PAUSE
52         prog   = irpty
53         repeat = 0
54         config = P
55 end
57 begin
58         remote = *
59         button = CD_PLAY
60         prog   = irpty
61         repeat = 0
62         config = \r
63 end
65 # Switch screen (Playlist/Browse)
66 begin
67         remote = *
68         button = CD_EJECT
69         prog   = irpty
70         repeat = 0
71         config = \x9
72 end
75 # move: Up
76 begin
77         remote = *
78         button = CD_2
79         prog   = irpty
80         repeat = 2
81         config = ,
82 end
84 # move: Down
85 begin
86         remote = *
87         button = CD_8
88         prog   = irpty
89         repeat = 2
90         config = .
91 end
93 # move: Center (update)
94 begin
95         remote = *
96         button = CD_5
97         prog   = irpty
98         repeat = 0
99         config = u
100 end
102 # Auto center
103 begin
104         remote = *
105         button = CD_CHECK
106         prog   = irpty
107         config = U
108 end
111 # move: home
112 begin
113         remote = *
114         button = CD_1
115         prog   = irpty
116         repeat = 0
117         config = \A
118 end
120 # move: end
121 begin
122         remote = *
123         button = CD_7
124         prog   = irpty
125         repeat = 0
126         config = \E
127 end
129 # move: PgUp
130 begin
131         remote = *
132         button = CD_3
133         prog   = irpty
134         repeat = 0
135         config = A
136 end
138 # move: PgDn
139 begin
140         remote = *
141         button = CD_9
142         prog   = irpty
143         repeat = 0
144         config = B
145 end
148 # Add/Select song 
149 begin
150         remote = *
151         button = CD_INDEX_NEXT
152         prog   = irpty
153         repeat = 0
154         config = a
155 end
157 # Delete song 
158 begin
159         remote = *
160         button = CD_INDEX_PREV
161         prog   = irpty
162         repeat = 0
163         config = d
164 end
166 # Clear playlist
167 begin
168         remote = *
169         button = CD_CLEAR
170         prog   = irpty
171         repeat = 0
172         config = c
173 end
175 # Random
176 begin
177         remote = *
178         button = CD_RANDOM
179         prog   = irpty
180         repeat = 0
181         config = z
182 end
184 # repeat
185 begin
186         remote = *
187         button = CD_REPEAT
188         prog   = irpty
189         repeat = 0
190         config = r
191 end