LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Recompiling XMAME for Joystick Support (https://www.linuxquestions.org/questions/linux-games-33/recompiling-xmame-for-joystick-support-320849/)

CooManChu 05-06-2005 04:59 PM

Recompiling XMAME for Joystick Support
 
Hi,

I've been playing various games on xmame for a while now and finally broke down and got a joystick. Since I previously used only the keyboard, I originally compiled xmame without joystick support.

Following the directions in the xmame Makefile, I've uncommented the joystick parm in the Makefile (JOY_STANDARD = 1), and run the make.

However, it doesn't look like I'm able to enable the joystick support because when I run xmame, I still get the error message that joytype 1 (standard) is not available. I don't think I've done everything I need to do, but I can't find anything else explicitly listing the steps to enable joystick support in xmame.

Does anyone have experience with this same error or have an idea what I'm doing wrong or missing?

I actually don't have any other apps to use the joystick with, so to make sure it's working and recognized, I've cat-ed it's output to the terminal and it seems to be fine as far as that test goes.

Thanks for any help.

nwhite 05-10-2005 08:57 PM

It's strange, I had the same problem.

I changed the display driver from X11 to SDL though and then it all magically worked (using the standard joystick drivers, not the SDL ones). I also got close to double the frame rate using SDL rather than X11 with OpenGL, so if you have the libraries I'd recommend you do that.

-Nick

CooManChu 05-10-2005 09:46 PM

Thanks - what was happening was that I wasn't executing my newly built executable. After I built the new executable, I didn't run "make install" to move it into my /usr/local/bin where it could be picked up by my path.

Dumb mistake, but thanks for replying anyway with some help.

Scott


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