When the joystick use flag is used it enables the standard joystick. This is fine. But if the user also has sdl and X use flags it would be nice if those joystick types were available too. Reproducible: Always Steps to Reproduce:
got a patch?
Created attachment 65041 [details, diff] provides the ability to compile sdl and X input joystick types This patch adds two lines to the ebuild for the current xmame-0.97.ebuild. If a user has the joystick use flag set as well as either sdl or X then their joystick interfaces are enabled in xmame.
BTW, if you have sdl in your use flags, you automatically get the sdl joystick support already.
> if you have sdl in your use flags, you automatically get the sdl joystick > support already. At least with the current version of xmame, the JOY_SDL make variable is required to use the sdl joystick interface. So, I hate to say you don't automatically get sdl joystick. I think you would be correct circa 0.87.
I don't think so. look at src/unix/unix.mak
All I can tell you is that I tried to emerge an xmame with a sdl joystick interface several times. And everytime when I tried the sdl type from the command line it just didn't work. Once I patched the ebuild things went fine. I am more then willing to give this more research tomorrow and also willing to admit the screaming children and a bad sunburn have kept me from focusing well enough to determine what the problem was.
Talk about a bummer. I just tried mythgame and xmame again with my local ebuild: /usr/games/bin/xmame -rompath /home/mythtv/games/xmame/roms -history_file /home/mythtv/games/xmame/history.dat -snapshot_directory /home/mythtv/games/xmame/snapshots -hiscore_directory /home/mythtv/games/xmame/hiscore -hiscore_file /home/mythtv/games/xmame/hiscore.dat -noskip_disclaimer -noskip_gameinfo -fullscreen -noartwork -noautoframeskip -scale 1 -antialias -translucency -noanalogstick -joytype 7 -samples -volume -8 -nocheat spideyu error: invalid value for joytype: 7 joytype 7 is listed as the sdl joystick type in the xmame man page: 7 SDL joystick driver My libsdl merge does not have nojoystick so it should be available. I guess there are deeper problems. Thanks for the quick responses. Feel free to resolve this if you can't use the patch. I will open a new bug once I figure out what the heck is wrong with xmame and it not liking other joystick types then the old i386.
dopey me. The manpage is wrong. The sdl joystick interface is -joytype 5. Banging the keyboard to make a patch for the xmame folks.
ok... well I turned on the xinput stuff. Calling it fixed. Thanks for the bug report and patch.