Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102937 - [patch] games-emulation/snes9x-1.43 linux joystick handling bugs
Summary: [patch] games-emulation/snes9x-1.43 linux joystick handling bugs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL: http://www.snes9x.com/phpbb2/viewtopi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-17 20:56 UTC by Justin Blanchard
Modified: 2006-08-06 12:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bugfix (joydevs.patch,3.25 KB, patch)
2005-08-18 00:33 UTC, Justin Blanchard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Blanchard 2005-08-17 20:56:47 UTC
Joystick support via -joydevX, etc. will only work if player 1 uses a joystick
that way.
Also, there's no way to map joydevs 3 and 4 from the command line.

Reproducible: Always
Steps to Reproduce:
1. Get a ROM for your favorite multiplayer game.

2. Ask snes9x to use a joydev for player 2 but not player 1: for example, snes9x
-joydev1 /dev/null -joydev2 /dev/js0 "Tetris Attack.ZIP"
Actual Results:  
snes9x will print the message "joystick: No joystick found." and ignore the
joystick.

Expected Results:  
snes9x should use the joystick for player 2. (It may optionally complain that
/dev/null isn't a joystick using version 1.0 or better of the driver.)

Fixing this is simple; I have a patch ready, which I'll attach once I've had the
opportunity to test it.
Comment 1 Justin Blanchard 2005-08-18 00:33:06 UTC
Created attachment 66213 [details, diff]
bugfix
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-18 07:46:48 UTC
Hmm, and the patch is for which ebuild?
Comment 3 Justin Blanchard 2005-08-18 08:09:36 UTC
Oh, sorry about that! This is for =games-emulation/snes9x-1.43, and is meant to
be applied after the existing patches (just add the line
epatch "${FILESDIR}"/joydevs.patch
at the end of src_unpack()).
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-08-18 10:49:35 UTC
Has this patch been sent upstream yet?
Comment 5 Justin Blanchard 2005-08-18 11:35:12 UTC
Yeah, I just did that.
http://www.snes9x.com/phpbb2/viewtopic.php?p=12585#12585
Thanks for your patience...
Comment 6 SpanKY gentoo-dev 2005-08-18 15:38:14 UTC
thanks :)
Comment 7 Justin Blanchard 2006-03-23 00:25:42 UTC
Patch still applies cleanly atop snes9x-1.43-r1.
Nobody really seems to care, however... should this be closed as UPSTREAM?
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-23 11:21:27 UTC
Well, there's 4 members of the games team (with one being a dev less than a month) and there's ~800 games packages.  Needless to say, it might be a while before we get to it.  It has nothing to do with caring and 100% to do with lack of time.  We'll get to this bug eventually, as we will with all bugs filed.  Sometimes it just takes us a while, especially on packages which we don't personally use.  Have a little patience, please.  Yes, I know it has been a really long time since you've posted this bug, but we also have over 500 other bugs to go through, quite a few older than this one.
Comment 9 SpanKY gentoo-dev 2006-08-06 12:56:52 UTC
looks like 1.50 includes this fix