LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 09-05-2005, 01:35 AM   #1
shellshock
LQ Newbie
 
Registered: Sep 2005
Posts: 15

Rep: Reputation: 0
gamepad not recognized in XMAME


Hi everyone.

I downloaded a RPM of XMAME-0.99 for AMD64, and converted it to a deb package for installation on my Ubuntu system. Everything seems to run fine, except that when I try to run a game, I get the following message:

Standard joystick interface initialization...
OSD: Warning: No joysticks found disabling joystick support

Does anyone have any idea what could be causing this? The gamepad is hooked up and it works -- it works with another emulator for example -- but for some reason it doesn't seem to be recognized here.
 
Old 09-05-2005, 02:16 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi!

Maybe xmame is looking for your joypad at the wrong place or for the wrong type. Open up and edit you mamerc file, usually located at ~/.xmame/mamerc with your favorite editor. Look for a line similar to this:

### Input Related ###
joytype 1
joydevname /dev/input/js
analogstick 1

Make sure that joydevname line matches the correct place where you joypad device is. Some distros place it at /dev/js and other weird places... you can type "man xmame" for a list of joytypes as well, 1 usually works...

Good luck!
 
Old 09-05-2005, 02:43 AM   #3
shellshock
LQ Newbie
 
Registered: Sep 2005
Posts: 15

Original Poster
Rep: Reputation: 0
Oh thank you!

Really, thank you very much. This makes all the difference in the world to not have to use my keyboard.

Actually the joydevname line wasn't there at all. I added it though, and entered /dev/input/js0 as the target. Now it works.

Thanks again!
 
Old 09-05-2005, 03:04 AM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You're most welcome. Yeah, I can't imagine how bad I would play Capcom games with the keyboard, ghehe

Regards!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use xmame..?? minike Linux - Games 2 08-29-2005 02:48 AM
xmame mithereal Debian 0 08-27-2005 06:43 PM
gamepad nfsutim Linux - Newbie 3 02-11-2005 02:22 AM
xmame.x11 file not being recognized madskillz Linux - Games 1 06-21-2004 04:36 AM
Xmame Harp00 Linux - Newbie 1 08-07-2003 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration