1
2 Starting with version 3.71 xawtv + friends do not need a ~/.lircrc
3 config file any more. There is a new config mechanism to map input
4 events (lirc, joystick, keyboard) into xawtv commands which is called
5 "eventmap". Check the xawtvrc manpage ([eventmap] section) for
6 details. There also is an default configuration now, so lirc support
7 should simply work out-of-the-box.
8
9 If there is no ~/.lircrc config file present, xawtv will generate
10 lirc-key-* events for every key pressed on the IR remote.
11
12 If ~/.lircrc is present, xawtv will still use it. As strings for
13 "config" are the usual xawtv commands (the traditional way to
14 configure lirc support, see "man xawtv-remote") and the keyword
15 "eventmap" allowed. Specifying "eventmap" will make xawtv simply
16 generate lirc-key-* events.
17
18 The main difference between using no config file at all and one with
19 "config = eventmap" is that the later allows you to filter the
20 keypresses depending on the current mode. The simpliest way to make
21 xawtv use the default eventmap configuration, but respond to key
22 presses in xawtv mode only looks like this:
23
24 begin xawtv
25 begin
26 prog = xawtv
27 config = eventmap
28 end
29 end xawtv
30
31 You probably need this if you are going to control multiple
32 applications with your IR remote, check out the lirc documentation for
33 details.
34
35 Have fun,
36
37 Gerd
38
|
This page was automatically generated by the
LXR engine.
|