Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: saurian333 on March 11, 2010, 07:23:42 pm

Title: xmame setup - joystick not working
Post by: saurian333 on March 11, 2010, 07:23:42 pm
Hi all; been away from the forum for a bit, but I have been getting more work done on my cab.  I've got my CP all done, and everything basically ready to go!

Until I have the cash for something more powerful, I'm going to stick this old laptop in it.  It's running xmame-sdl 106 (had to go with that, as newer MAME versions run like crap on this system) on a minimal Ubuntu 9.10 installation.  I like Wahcade for the front-end a lot.

Problem is, I can't get the joystick control to work at all.  The jscal/jstest utilities work fine.  But xmame doesn't seem to recognize it at all.  I've tried some of the different settings, but it just doesn't see it.

I'm using a GPWiz on USB, and the system sees it at /dev/input/js0 (this works fine in jstest).  Xmame config is pointed to that device.  What am I missing?
Title: Re: xmame setup - joystick not working
Post by: saurian333 on March 11, 2010, 08:15:53 pm
OK, nevermind...fixed it!

I found that the buttons were working, but not the axes.  In searching for that problem, I discovered that it's a jscal thing.  Not sure why just running jscal /dev/input/js0 doesn't do this; apparently you actually need to create a file and source it out of /etc.

Found the solution here:
http://ubuntuforums.org/showthread.php?t=1175430 (http://ubuntuforums.org/showthread.php?t=1175430)

Hope this helps someone else!