[mythtv-users] lirc, mythgame and xmame

Cameron Dale camrdale at gmail.com
Mon Aug 29 06:25:59 UTC 2005


Here's the relevant portion of my .lircrc file:

begin
>  prog = xmame
>  button = Back
>  repeat = 0
>  config = 1
> end
> 
> begin
>  prog = xmame
>  button = 1
>  repeat = 0
>  config = 2
> end
> 
> begin
>  prog = xmame
>  button = 2
>  repeat = 0
>  config = 3
> end
> 
> begin
>  prog = xmame
>  button = 5
>  repeat = 0
>  config = 6
> end
> 

The lirc config's are keyboard scan codes for keys, which I found here: 
http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html<http://www.win.tue.nl/%7Eaeb/linux/kbd/scancodes-1.html>
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.

Hope this helps.
Cam

On 8/28/05, Jason Lewis <jason at organictrader.com.au> wrote:
> 
> Hi,
> 
> I have been trying to setup xmame and lirc so I can exit a game without
> having to use the keyboard. ie. just using the remote but I can't work
> out how to get lirc to tell mame to exit.
> 
> Any ideas how i can get this to work?
> 
> Thanks,
> 
> Jason
> 
> --
> 
> 
> Jason Lewis
> Director of Operations
> Organic Trader Pty Ltd
> Tel. +612 8399 0122
> Fax. +612 8399 1766
> PO Box 552, St Leonards, NSW 1590, Australia.
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050828/e309dc3e/attachment.htm


More information about the mythtv-users mailing list