Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

lirc, mythgame and xmame

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


jason at organictrader

Aug 28, 2005, 10:00 PM

Post #1 of 3 (1111 views)
Permalink
lirc, mythgame and xmame

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
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


camrdale at gmail

Aug 28, 2005, 11:25 PM

Post #2 of 3 (1034 views)
Permalink
Re: lirc, mythgame and xmame [In reply to]

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> 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
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


jochen.kuehner at gmx

Aug 29, 2005, 4:12 AM

Post #3 of 3 (1038 views)
Permalink
Re: lirc, mythgame and xmame [In reply to]

i use the svn version of mythgame where you can use more emulators.

because there are also emulators with sdl and no lirc support, you can't
exit the so easy.

so i use a simple script wich exits all my emulators and wich is called via
a button press:

script:
killall snens9x
killall mupen64_nogui
killall -9 VisualBoyAdvance


----- Original Message -----
From: "Jason Lewis" <jason [at] organictrader>
To: "mythtv-users" <mythtv-users [at] mythtv>
Sent: Monday, August 29, 2005 7:00 AM
Subject: [mythtv-users] lirc, mythgame and xmame


> 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
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.