We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 709

Summary: Joystick subsystem does not generate events if video subsystem is not initialized.
Product: SDL Reporter: Hendrik van der Heijden <hvdh>
Component: joystickAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED WONTFIX QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2 Keywords: target-1.2.14
Version: 1.2.13   
Hardware: x86   
OS: Windows (XP)   

Description Hendrik van der Heijden 2009-02-27 09:17:39 UTC
In a project, i use SDL just for platform independent joystick input.

I can open my gamepad just fine, but there are no joystick events
if I use 
  SDL_Init(SDL_INIT_JOYSTICK);
instead of
  SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_VIDEO);
.
Comment 1 Ryan C. Gordon 2009-09-13 16:33:05 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 2 Sam Lantinga 2009-09-21 02:40:24 UTC
The events are tied to the video system for historical reasons.  This is planned to be fixed in SDL 1.3.