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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="data/default.css">
<title>anyRemote - control PC with Bluetooth cell phone</title>
<link rel="stylesheet" type="text/css" href="data/default.css">
<link rel="icon" href="data/anyRemote32.png" type="image/png">
<link rel="shortcut icon" href="data/anyRemote16.png" type="image/png" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="anyRemote project page - Bluetooth remote control tool">
</head>
<body><div id="body">
<h1>anyRemote and LIRC</h1>
<p>It seems there is no practical sence in this, but anyRemote could be configured to work with LIRC.
<p>To use anyRemote with IR remotes it needs to:
<ul>
<li>Install and setup <a href="http://www.lirc.org">LIRC</a> package.
<li>Create <a href="http://www.lirc.org/html/configure.html#lircrc_format">$HOME/.lircrc</a> or
<a href="http://www.lirc.org/html/configure.html#lircrc_format">/etc/lircrc</a> file with the contents like:
<ul type="disc"><pre class="screen">
<span><strong class="command">begin</strong></span>
<span><strong class="command"> remote = _REMOTE_NAME_</strong></span>
<span><strong class="command"> button = Button1</strong></span>
<span><strong class="command"> prog = irexec</strong></span>
<span><strong class="command"> repeat = 0</strong></span>
<span><strong class="command"> config = BUTTON1</strong></span>
<span><strong class="command">end</strong></span>
<span><strong class="command"></strong></span>
<span><strong class="command">...</strong></span>
<span><strong class="command"></strong></span>
<span><strong class="command">begin</strong></span>
<span><strong class="command"> remote = _REMOTE_NAME_</strong></span>
<span><strong class="command"> button = ButtonX</strong></span>
<span><strong class="command"> prog = irexec</strong></span>
<span><strong class="command"> repeat = 0</strong></span>
<span><strong class="command"> config = BUTTONX</strong></span>
<span><strong class="command">end</strong></span>
</pre></ul>
<li>Create configurational file for anyRemote with the contents like:
<ul type="disc"><pre class="screen">
<span><strong class="command">...</strong></span>
<span><strong class="command">[Keys]</strong></span>
<span><strong class="command">BUTTON1=Exec(whatever you want)</strong></span>
<span><strong class="command">...</strong></span>
<span><strong class="command">BUTTONX=Exec(whatever you want)</strong></span>
<span><strong class="command">[End]</strong></span>
<span><strong class="command">...</strong></span>
</pre></ul>
<li>Run <a href="http://www.lirc.org/html/lircd.html">lircd</a> daemon
<li>Run anyRemote like:
<ul type="disc"><pre class="screen">
<span><strong class="command">ircat irexec|anyremote -s stdin -f /path/to/cfg/file</strong></span>
</pre></ul>
</ul>
</div>
<div id="sidebar">
<p class="section">Information</p>
<ul>
<li><a href="index.html">About</a></li>
<li><a href="dload.html">Download</a></li>
<li><a href="pre.html">Prerequisites</a></li>
<li><a href="getstarted.html">Getting started</a></li>
</ul>
<p class="section">Documentation</p>
<ul>
<li><a href="pre-setup.html">Before install</a></li>
<li><a href="install.html">Compilation and installation</a></li>
<li><a href="mode.html">Which mode to choose ?</a></li>
<li><a href="use.html">How to use anyRemote</a></li>
<li><a href="setup-server.html">Setup: Server mode</a></li>
<li><a href="setup-at.html">Setup: AT mode</a></li>
<li><a href="conf-server.html">Configurational file format: Server Mode</a></li>
<li><a href="conf-at.html">Configurational file format: AT Mode</a></li>
<li><a href="dcop.html">DCOP support</a></li>
<li><a href="web.html">Web interface</a></li>
<li><a href="faq.html">FAQ</a></li>
</ul>
</div>
<div id="hdr">
<div id="logo"><a href="index.html"><img src="data/anyRemote.png" alt="Home"></a></div>
<!--div id="banner"><img src="data/anyRemote.png" alt=""></div-->
<p class="none"></p>
<div id="hdrNav">
<a href="index.html">About</a> ·
<a href="dload.html">Download</a> ·
<a href="getstarted.html">Getting started</a> ·
<a href="contacts.html">Contacts</a> ·
</div>
</div>
<div id="copyright">
Maintained by <a href="mailto:anyremote@mail.ru">anyRemote</a><br>
</div>
</body></html>
|