First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 101286
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Erik Hovland <erik@hovland.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
joystick-upgrade provides the ability to compile sdl and X input joystick types patch Erik Hovland 2005-08-03 22:13 0000 551 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 101286 depends on: Show dependency tree
Bug 101286 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-03 22:12 0000
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:

------- Comment #1 From Mr. Bones. 2005-08-03 22:13:08 0000 -------
got a patch?

------- Comment #2 From Erik Hovland 2005-08-03 22:13:52 0000 -------
Created an attachment (id=65041) [edit]
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.

------- Comment #3 From Mr. Bones. 2005-08-03 22:22:31 0000 -------
BTW, if you have sdl in your use flags, you automatically get the sdl joystick
support already.

------- Comment #4 From Erik Hovland 2005-08-03 22:48:02 0000 -------
> 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.

------- Comment #5 From Mr. Bones. 2005-08-03 22:54:25 0000 -------
I don't think so.  look at src/unix/unix.mak

------- Comment #6 From Erik Hovland 2005-08-03 23:12:48 0000 -------
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.

------- Comment #7 From Erik Hovland 2005-08-03 23:22:39 0000 -------
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.

------- Comment #8 From Erik Hovland 2005-08-03 23:36:04 0000 -------
dopey me. The manpage is wrong. The sdl joystick interface is -joytype 5.
Banging the keyboard to make a patch for the xmame folks.

------- Comment #9 From Mr. Bones. 2005-08-04 21:05:03 0000 -------
ok... well I turned on the xinput stuff.

Calling it fixed.  Thanks for the bug report and patch.

First Last Prev Next    No search results available      Search page      Enter new bug