SDL_NumJoysticks() returns 0

Started by
2 comments, last by Grain 17 years, 10 months ago
SDL_NumJoysticks() returns 0 telling me I have no joysticks attached. How do I get SDL to recognize I have a joystick attached? This is on Windows BTW. Windows recognizes the joystick and I can use it properly in other games.
Advertisement
Yeah, I was going to ask this too.

Also, does anyone know of any joystick devices that will work in SDL, if not the one I have already?
Did you initialize the joystick subsystem with SDL_INIT_JOYSTICK?
Yes. I did.

I got it working by plugging in a second joystick. It recognizes both of them. But when I have just the one It cant seam to find it.

This topic is closed to new replies.

Advertisement