[mythtv-users] trying to get my gamepad working with mythgame

Scott Rowe mythgnomer at rowelab.com
Thu Apr 15 08:34:10 EDT 2004


Mike, during a game, press tab, then go to input (general).. Scoll down to
the control you want to change, and click the button on the joystick you
want to remap it to.

-Scott 

> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org 
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Mike Jasper
> Sent: Thursday, April 15, 2004 1:36 AM
> To: Discussion about mythtv
> Subject: Re: [mythtv-users] trying to get my gamepad working 
> with mythgame
> 
> Joe Votour wrote:
> 
> > Mike,
> > 
> > Make sure that you're telling xmame to use the gamepad, by 
> default I 
> > don't think that it will.
> > 
> > You'll need to use the argument "-jt 4" (I think), if I recall 
> > correctly, this tells xmame to use the Linux
> > x86 joystick support.
> > 
> > I found that I had better success putting it in an xmamerc 
> file than 
> > using the MythGame configuration.
> 
> Turns out I had incorrect parameters in ~/.xmame/xmamerc.  
> Here's the xmamerc that's working for me in mythgame:
> 
> 	use_joystick    1
> 	joytype         4
> 	joydevname      /dev/input/js0
> 	analogstick     0
> 
> Now, I'd like to be able to control more of the game controls 
> using the gamepad.  Namely, I want to use the gamepad to do 
> the keyboard equivalent of 5 (insert coin), 1 (single 
> player), CTRL (fire/action - this is the only gamepad button 
> that's already working, by itself), and ESC (quit).  Anyone 
> know if this is possible?  I investigated using 'mapkey' 
> within xmamerc, but don't see a way to map keys to joystick 
> buttons (it just maps key to key as far as I can tell).
> 
> Thanks.
> 



More information about the mythtv-users mailing list