Any reported problems with SDL and USB adaptors for PSX, Genesis?

Has anyone been having any problems with SDL 1.2.12 and USB adaptors for
Playstation and/or Genesis controllers? I’ve been getting a number of
reports on these devices, but I still haven’t narrowed the problem
down. The reports tend to be with WinXP. The problems are usually
that SDL doesn’t register button presses; axes seem to be fine.

Thanks,
Steve

Hi,

I have the USB two port Playstation joystick adapter on a Windows XP system.

Both Playstation joysticks work 100% in my SDL Tetris game, but I think
I am using the SDL 1.2.11 build.

If you are having troubles, try the older SDL 1.2.11 build to see if it
works or not.
If no then there must be something wrong in your joystick handling code.

P.S. here is the link to my SDL based multiplayer Tetris game:
http://www.silentheroproductions.com/games_pc_windows_tetribattle3_100percent.htm

Jesse "JeZ+Lee"
SLNTHERO at AOL.com
Silent Hero Productions®
http://www.SilentHeroProductions.com

Stephen Anthony wrote:> Has anyone been having any problems with SDL 1.2.12 and USB adaptors for

Playstation and/or Genesis controllers? I’ve been getting a number of
reports on these devices, but I still haven’t narrowed the problem
down. The reports tend to be with WinXP. The problems are usually
that SDL doesn’t register button presses; axes seem to be fine.

Thanks,
Steve


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Those adapaters are usually of poor quality since they’re always
unauthorized by the console companies and usually come from Hong Kong
or some other bootleg-friendly country. Usually problems with those
adapters occur because of bad programming of their internal firmwares
(that probably doesn’t respect USB standards).

Personally I have a 2 port Playstation adapter (the one that’s also a
gun adapter) and I’ve often had problems on systems with UHCI
controllers (usually Intel chipsets).

Anyway if it’s a hardware problem there’s not much SDL can do about this…On 8/23/07, Stephen Anthony wrote:

Has anyone been having any problems with SDL 1.2.12 and USB adaptors for
Playstation and/or Genesis controllers? I’ve been getting a number of
reports on these devices, but I still haven’t narrowed the problem
down. The reports tend to be with WinXP. The problems are usually
that SDL doesn’t register button presses; axes seem to be fine.

Thanks,
Steve

  • SR

Has anyone been having any problems with SDL 1.2.12 and USB
adaptors for Playstation and/or Genesis controllers? I’ve been
getting a number of reports on these devices, but I still haven’t
narrowed the problem down. The reports tend to be with WinXP. The
problems are usually that SDL doesn’t register button presses; axes
seem to be fine.

Thanks,
Steve

Those adapaters are usually of poor quality since they’re always
unauthorized by the console companies and usually come from Hong Kong
or some other bootleg-friendly country. Usually problems with those
adapters occur because of bad programming of their internal firmwares
(that probably doesn’t respect USB standards).

The problem is, the controllers work in other applications in Windows,
but not the one that’s having problems. I’m waiting on feedback from
the users to see if SDL is the issue (it’s possible those other
programs don’t use SDL at all, and access the Windows joysticks
directly).

Anyway if it’s a hardware problem there’s not much SDL can do about
this…

I agree, and I have no problem telling them that. I’m just trying to
verify that that’s what is actually happening. I really can’t see how
SDL wouldn’t receive joystick button events unless the USB device
itself was faulty somehow …

Thanks,
SteveOn August 23, 2007 02:26:26 pm Simon Roby wrote:

On 8/23/07, Stephen Anthony <@Stephen_Anthony> wrote:

If you get a reproduceable case, please let me know. I’ve heard various
reports of joystick problems, but nobody who’s willing to send me the
offending joystick to track it down. :slight_smile:

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

I suspect it’ll be the same thing for me; I don’t have access to the
hardware, and likely won’t any time soon.

SteveOn August 23, 2007 7:07:44 pm Sam Lantinga wrote:

If you get a reproduceable case, please let me know. I’ve heard
various reports of joystick problems, but nobody who’s willing to
send me the offending joystick to track it down. :slight_smile:

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

Hi,

I have the USB two port Playstation joystick adapter on a Windows XP system.

Both Playstation joysticks work 100% in my SDL Tetris game, but I think I am using the SDL 1.2.11 build.

If you are having troubles, try the older SDL 1.2.11 build to see if it works or not.
If no then there must be something wrong in your joystick handling code.

P.S. here is the link to my SDL based multiplayer Tetris game:
http://www.silentheroproductions.com/games_pc_windows_tetribattle3_100percent.htm

Jesse "JeZ+Lee"
SLNTHERO at AOL.com
Silent Hero Productions®
http://www.SilentHeroProductions.com

Stephen Anthony wrote:> On August 23, 2007 7:07:44 pm Sam Lantinga wrote:

If you get a reproduceable case, please let me know. I’ve heard
various reports of joystick problems, but nobody who’s willing to
send me the offending joystick to track it down. :slight_smile:

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

I suspect it’ll be the same thing for me; I don’t have access to the
hardware, and likely won’t any time soon.

Steve


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I’ve advised the user to try version 1.2.11; the problem remains. I
don’t see how the code could be causing a problem, since it’s very
simple. I just detect SDL button events and act on them. It works
with every USB device I have, so how could another device not work?

Anyway, I guess the only way I’ll know for sure is to get the hardware
myself. Or Jesse, you could always download the program and see if it
works with your PSX joystick adaptor :wink: It’s the Atari 2600 emulator,
Stella (http://stella.sf.net).

Thanks,
SteveOn August 23, 2007 7:50:05 pm Jesse P. wrote:

Hi,

I have the USB two port Playstation joystick adapter on a Windows XP
system.

Both Playstation joysticks work 100% in my SDL Tetris game, but I
think I am using the SDL 1.2.11 build.

If you are having troubles, try the older SDL 1.2.11 build to see if
it works or not. If no then there must be something wrong in your
joystick handling code.

Hi Steve,

Nice emulator, I personally use it as it is the best 2600 emulator out
there.

I ran the most up to date version of Stella with SDL 1.2.12 DLL…
…The USB dual PlayStation joysticks work 100%.
(two player Asteroids was 100% fine)

Seems to be an issue with the user, and not an issue with SDL or Stella.

Hope this helps!

Jesse "JeZ+Lee"
SLNTHERO at AOL.com
Silent Hero Productions®
http://www.SilentHeroProductions.com

Stephen Anthony wrote:> On August 23, 2007 7:50:05 pm Jesse P. wrote:

Hi,

I have the USB two port Playstation joystick adapter on a Windows XP
system.

Both Playstation joysticks work 100% in my SDL Tetris game, but I
think I am using the SDL 1.2.11 build.

If you are having troubles, try the older SDL 1.2.11 build to see if
it works or not. If no then there must be something wrong in your
joystick handling code.

I’ve advised the user to try version 1.2.11; the problem remains. I
don’t see how the code could be causing a problem, since it’s very
simple. I just detect SDL button events and act on them. It works
with every USB device I have, so how could another device not work?

Anyway, I guess the only way I’ll know for sure is to get the hardware
myself. Or Jesse, you could always download the program and see if it
works with your PSX joystick adaptor :wink: It’s the Atari 2600 emulator,
Stella (http://stella.sf.net).

Thanks,
Steve


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Woah, that was fast. I didn’t even get a chance to tell you what the
error was :slight_smile: It seems the user can’t remap events to other buttons on
the joystick. So if you could try remapping, say, ‘Select’ and 'Reset’
to some other buttons and see if it works, I’d really appreciate it.
And if it does, I’m pretty sure it’s something wrong on their end.

Thanks,
SteveOn August 23, 2007 8:14:33 pm Jesse P. wrote:

Hi Steve,

Nice emulator, I personally use it as it is the best 2600 emulator
out there.

I ran the most up to date version of Stella with SDL 1.2.12 DLL…
…The USB dual PlayStation joysticks work 100%.
(two player Asteroids was 100% fine)

Seems to be an issue with the user, and not an issue with SDL or
Stella.

Hope this helps!

Hi Steve,

Mapped several other commands to the rest of the available PlayStation
controller buttons.
Works 100%…

This is NOT an issue with SDL and/or Stella.

Tell the user to check his/her USB dual PlayStation joysticks driver in
Control Panel.

P.S. Can you make a Nintendo 64 emulator?
(Wanna play “Perfect Dark” but it does not work 100% in Project64…)

Jesse "JeZ+Lee"
SLNTHERO at AOL.com
Silent Hero Productions®
http://www.SilentHeroProductions.com

Stephen Anthony wrote:> On August 23, 2007 8:14:33 pm Jesse P. wrote:

Hi Steve,

Nice emulator, I personally use it as it is the best 2600 emulator
out there.

I ran the most up to date version of Stella with SDL 1.2.12 DLL…
…The USB dual PlayStation joysticks work 100%.
(two player Asteroids was 100% fine)

Seems to be an issue with the user, and not an issue with SDL or
Stella.

Hope this helps!

Woah, that was fast. I didn’t even get a chance to tell you what the
error was :slight_smile: It seems the user can’t remap events to other buttons on
the joystick. So if you could try remapping, say, ‘Select’ and 'Reset’
to some other buttons and see if it works, I’d really appreciate it.
And if it does, I’m pretty sure it’s something wrong on their end.

Thanks,
Steve


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi Steve,

Mapped several other commands to the rest of the available
PlayStation controller buttons.
Works 100%…

This is NOT an issue with SDL and/or Stella.

OK, much thanks for looking into this. I didn’t think it was a problem
with SDL or the code, since it works fine for every controller I’ve
tested.

Tell the user to check his/her USB dual PlayStation joysticks driver
in Control Panel.

I may also send them the ‘testjoystick’ program from SDL itself. If it
doesn’t work there, it’s definitely something on their end.

P.S. Can you make a Nintendo 64 emulator?
(Wanna play “Perfect Dark” but it does not work 100% in Project64…)

Sorry, but working on one emulator takes too much of my time already. I
started working on the codebase around 2001 or so, with the intention
of adding a few features here and there. Now it’s 2007, and I’m still
working on it :slight_smile:

Thanks,
SteveOn August 23, 2007 8:48:07 pm Jesse P. wrote:

Guys… you can get yourself access to the hardware from RetroZone…
http://www.retrousb.com/index.php?productID=124