Joystick support

Hello, I’m having trouble with joystick support under windows. I
have two joysticks plugged into my computer, an analog joystick
port CH Flightstick Pro, and a no-name generic USB HID gamepad. SDL
detects one joystick, identified as “Microsoft PC-joystick driver”.
Enabling input on this solicits events from the Flighstick. Removing
the Flightstick from the system leaves 0 joysticks detected. Should
my gamepad be showing up?
-Maciej

Hi,

It’s been a very long time since I looked at joystick support, but I think
what’s happenning is that Windows retains the device index for your game
controllers as the index at the time of installation, regardless of what
controllers are installed right now. This happened to me when I tried to
play Epic’s original “Unreal”, so that’s an indication of how long ago I
looked at this…

If you go into your game device’s properties and change the device ID to 0
(from 1), it should work. I really don’t remember how to do any of that,
though - you /may/ need to uninstall and re-install the device.

This would definitely be a bug in the SDL code, though & it should be
possible to write a fix when enumerating attached game devices. Right now
it’s probably assuming no dev0 == no devices, period.

/I/ am assuming you’re using SDL v1.2.4, and you might try 1.2.5, but I
doubt that will resolve anything.

Best of luck,
– Jeff

“Maciej Babinski” wrote in message
news:mailman.1033982522.20020.sdl at libsdl.org…> Hello, I’m having trouble with joystick support under windows. I

have two joysticks plugged into my computer, an analog joystick
port CH Flightstick Pro, and a no-name generic USB HID gamepad. SDL
detects one joystick, identified as “Microsoft PC-joystick driver”.
Enabling input on this solicits events from the Flighstick. Removing
the Flightstick from the system leaves 0 joysticks detected. Should
my gamepad be showing up?
-Maciej

Does someone could maybe point me to a location where to find cool
bitmap fonts (the sort used in demo scrollers and such) ?? An example,
but with no source code: http://www.mandrixx.net/java/jscroll1.html

-----Urspr?ngliche Nachricht-----Von: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] Im Auftrag von
Jeff Duncan
Gesendet: Montag, 7. Oktober 2002 16:21
An: sdl at libsdl.org
Betreff: Re: [SDL] Joystick support

Hi,

It’s been a very long time since I looked at joystick support, but I
think what’s happenning is that Windows retains the device index for
your game controllers as the index at the time of installation,
regardless of what controllers are installed right now. This happened
to me when I tried to play Epic’s original “Unreal”, so that’s an
indication of how long ago I looked at this…

If you go into your game device’s properties and change the device ID to
0 (from 1), it should work. I really don’t remember how to do any of
that, though - you /may/ need to uninstall and re-install the device.

This would definitely be a bug in the SDL code, though & it should be
possible to write a fix when enumerating attached game devices. Right
now it’s probably assuming no dev0 == no devices, period.

/I/ am assuming you’re using SDL v1.2.4, and you might try 1.2.5, but I
doubt that will resolve anything.

Best of luck,
– Jeff

“Maciej Babinski” wrote in message
news:mailman.1033982522.20020.sdl at libsdl.org

Hello, I’m having trouble with joystick support under windows. I have
two joysticks plugged into my computer, an analog joystick port CH
Flightstick Pro, and a no-name generic USB HID gamepad. SDL detects
one joystick, identified as “Microsoft PC-joystick driver”. Enabling
input on this solicits events from the Flighstick. Removing the
Flightstick from the system leaves 0 joysticks detected. Should my
gamepad be showing up? -Maciej


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Andre (and others paying attention) - A few things.

(1) The SDL list is really for discussion of SDL and development of it.
For things like requests for artwork or programmers, there are some more
generic mailing lists, web forums and Usenet newsgroups out there.

(2) You quoted a message from a completely unrelated thread
("[SDL] Joystick support") for no apparent reason.
(Over 50 lines long)

I don’t mean to sound too nit-picky… it’s just that sometimes lists
like SDL’s can get a bit too noisy and off-topic. ;^)

Good luck in your search, by the way. You might want to track down some
8-bit (Commodore 64, Atari XL) or 16-bit demoscene (Amiga, Atari ST) folks
to see if any have some ready-made fonts you can use, or will make something
for you.

-bill!On Mon, Oct 07, 2002 at 08:20:31PM +0200, Andre Krause wrote:

Does someone could maybe point me to a location where to find cool
bitmap fonts (the sort used in demo scrollers and such) ?? An example,
but with no source code: http://www.mandrixx.net/java/jscroll1.html

When I unplug my primary joystick and delete it’s entry in the
Game Controllers control panel, SDL lists no joysticks, so I’m not
sure if this is the problem. I’ll check it out when I get a chance,
though. I’m running Windows XP SP1, if it makes a difference. Thanks!On Mon, Oct 07, 2002 at 10:20:43AM -0400, Jeff Duncan wrote:

Hi,

It’s been a very long time since I looked at joystick support, but I think
what’s happenning is that Windows retains the device index for your game
controllers as the index at the time of installation, regardless of what
controllers are installed right now. This happened to me when I tried to
play Epic’s original “Unreal”, so that’s an indication of how long ago I
looked at this…

If you go into your game device’s properties and change the device ID to 0
(from 1), it should work. I really don’t remember how to do any of that,
though - you /may/ need to uninstall and re-install the device.

This would definitely be a bug in the SDL code, though & it should be
possible to write a fix when enumerating attached game devices. Right now
it’s probably assuming no dev0 == no devices, period.

/I/ am assuming you’re using SDL v1.2.4, and you might try 1.2.5, but I
doubt that will resolve anything.

Best of luck,
– Jeff

“Maciej Babinski” <@Maciej_Babinski> wrote in message
news:mailman.1033982522.20020.sdl at libsdl.org

Hello, I’m having trouble with joystick support under windows. I
have two joysticks plugged into my computer, an analog joystick
port CH Flightstick Pro, and a no-name generic USB HID gamepad. SDL
detects one joystick, identified as “Microsoft PC-joystick driver”.
Enabling input on this solicits events from the Flighstick. Removing
the Flightstick from the system leaves 0 joysticks detected. Should
my gamepad be showing up?
-Maciej


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hello, I’m having trouble with joystick support under windows. I
have two joysticks plugged into my computer, an analog joystick
port CH Flightstick Pro, and a no-name generic USB HID gamepad. SDL
detects one joystick, identified as “Microsoft PC-joystick driver”.
Enabling input on this solicits events from the Flighstick. Removing
the Flightstick from the system leaves 0 joysticks detected. Should
my gamepad be showing up?

Yes, it probably should. Can you send me a screenshot of your game
controllers control panel?

Thanks,
-Sam Lantinga, Software Engineer, Blizzard Entertainment