Sign in to follow this  
Grain

SDL_NumJoysticks() returns 0

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this