| Summary: | Joystick events trigger when the SDL program has no focus | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Alex Szpakowski <amaranth72> |
| Component: | events | Assignee: | (disabled) Jørgen Tjernø <jorgen> |
| Status: | RESOLVED FIXED | QA Contact: | (disabled) Jørgen Tjernø <jorgen> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Mac OS X 10.8 | ||
|
Description
Alex Szpakowski
2013-06-04 17:14:07 UTC
This should be fixed in http://hg.libsdl.org/SDL/rev/f7805b13b485 - no windowID for the time being, but SDL_GetKeyboardFocus can be used to figure out what window the user PROBABLY intended it for. :) The old behavior of receiving all events can be returned by setting SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to "1". |