~blackskad/gnomeradio/dev-vol-button

2 by mfcn
Initial revision
1
What is Lirc?
2
3
Lirc (Linux Infrared Remote Control) adds support for infrared remote controls
4
to linux applications. To download lirc and for more info visit http://www.lirc.org.
5
6
Gnomeradio & Lirc:
7
8
Gnomeradio supports lirc by default. If you are compiling from source, it should detect
9
it automagically. If not, use the --enable-lirc=yes/no switch of configure.
10
The standard .rpm of gnomeradio is linked against liblirc_client.so. If you do not 
11
have lirc installed, get the gnomeradio-nolirc package.
12
13
However, before you can use lirc in gnomeradio, you have to edit your .lircrc[1]. 
14
Gnomeradio understands the following commands: 
15
16
17
- tune up (= scan forward)
18
- tune down (= scan backwards)
19
- preset up (= next preset)
20
- preset down (= previous preset)
21
- volume up
22
- volume down
23
- mute
24
- quit
25
- preset 0..9 ( selects preset 0..9)
26
27
Example:
28
29
begin
30
        prog = gnomeradio
31
        button = VOL+
32
        config = volume up
33
        repeat = 1      
34
end
35
36
This would map the button VOL+ (Attention: Buttonnames are RC-specific, read your lirc docs
37
for more info) on the command "volume up". "repeat = 1" means, that if you keep the button of
38
your RC pressed, the command is repeated as long as you press the button. It's of by default.
39
40
Look at example.lircrc for a whole .lircrc example.
41
42
[1]: Since version 1.5, lirc should work out of the box with a minimum configuration. This
43
     configuration will be overridden, if a lirc config file exists.