[mythtv-users] mythgame (xmame) and lirc

Zole michael.zole at gmail.com
Wed Mar 30 20:43:35 UTC 2005


xmame absolutely works with LIRC, but it's pretty counterintuitive.
The config string isn't the name of the key, it's a "key code" which I
believe is specific to xmame. You need to plug in the key code from
src/unix/keycodes.h in the xmame sources. Here's an excerpt from my
.lircrc for xmame. 1 == Esc

begin
    prog = xmame
    button = Back/Exit
    config = 1
end

Good luck,
--M. Zole


On Wed, 30 Mar 2005 15:18:38 -0500, Joseph A. Caputo
<jcaputo1 at comcast.net> wrote:
> On Friday 25 March 2005 19:40, Niels den Otter wrote:
> > Hi All,
> >
> > I'm trying to control mythgame/xmame with my remote control. The first
> > attempt I made was to see if I could quit the program using my remote
> > control. xmame > 0.90 should have native lirc support. I'm currently
> > using
> > 0.94.
> >
> > Configuring the following in my .lircrc:
> >
> >   begin
> >   prog = xmame
> >   button = BLUE
> >   config = Esc
> >   end
> >
> > Makes xmame respond with
> >
> >   Received command "Esc"
> >
> > whenever I touch the BLUE button on my remote. The program does not
> > quit
> > however. I have tried various other terms instead of Esc but without
> > difference.
> >
> > Does someone have this setup working already? May there be an overlap
> > in
> > keybindings between mythfrontend and mythgame or should different keys
> > be
> > used?
> 
> mame/xmame doesn't work with LIRC at all, AFAIK, unless there's an
> option to compile it with LIRC support.  Don't waste your time.
> 
> -JAC
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 


-- 
M. Zole * www.zole.org


More information about the mythtv-users mailing list