Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: xmame setup - joystick not working  (Read 1625 times)

0 Members and 1 Guest are viewing this topic.

saurian333

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:June 10, 2014, 07:58:21 pm
  • "They must've spent tens of dollars on this."
    • My b(uild)log
xmame setup - joystick not working
« 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?

saurian333

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:June 10, 2014, 07:58:21 pm
  • "They must've spent tens of dollars on this."
    • My b(uild)log
Re: xmame setup - joystick not working
« Reply #1 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

Hope this helps someone else!