Here's the relevant portion of my .lircrc file:<br>
<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><span style="font-family: courier new,monospace;">begin</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> prog = xmame</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> button = Back</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> repeat = 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> config = 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">end</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">begin</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> prog = xmame</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> button = 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> repeat = 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> config = 2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">end</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">begin</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> prog = xmame</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> button = 2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> repeat = 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> config = 3</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">end</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">begin</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> prog = xmame</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> button = 5</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> repeat = 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> config = 6</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">end</span><br>
</blockquote>
<br>The lirc config's are keyboard scan codes for keys, which I found here: <a href="http://www.win.tue.nl/%7Eaeb/linux/kbd/scancodes-1.html">http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html</a><br>
So, the Back button is exit, which is Esc (scan code 1). In case you're
wondering, the others are 1 (start 1 player), 2 (start 2 player), and 5
(insert coin). You also need xmame with lirc support in it, but I
figured you already have that.<br>
<br>
Hope this helps.<br>
Cam<br>
<br><div><span class="gmail_quote">On 8/28/05, <b class="gmail_sendername">Jason Lewis</b> <<a href="mailto:jason@organictrader.com.au">jason@organictrader.com.au</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have been trying to setup xmame and lirc so I can exit a game without<br>having to use the keyboard. ie. just using the remote but I can't work<br>out how to get lirc to tell mame to exit.<br><br>Any ideas how i can get this to work?
<br><br>Thanks,<br><br>Jason<br><br>--<br><br><br>Jason Lewis<br>Director of Operations<br>Organic Trader Pty Ltd<br>Tel. +612 8399 0122<br>Fax. +612 8399 1766<br>PO Box 552, St Leonards, NSW 1590, Australia.<br><br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br>