Commit 7b7828a46ee4e313a3fb57ad51cd19f3d2909219

Sam Lantinga 2014-06-21T21:30:49

You shouldn't get axis and hat events when your application doesn't have focus (unless you use the SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS hint)