Jump to content
  • Advertisement
Sign in to follow this  

Migrating joystick input from SDL 1.2 to 2.0 causing problems

This topic is 2142 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

As I'm working to update my game from SDL 1.2 to 2.0 I've run into a bit of a problem updating my joystick input.  I created a SDL_JoystickID from my existing joystick, but despite using SDL_Init(SDL_INIT_EVERYTHING), my SDL_Event queue doesn't want to seem to generate any joystick events.  It compiles just fine, and the other events work as they're supposed to.


Pastebin for the method in question is here.



This may have something to do with a conflict with OpenGL, as that is what I use for graphics.  Another thread detailing the same issues I'm having are here.


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!