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 3240

Summary: No events are being generated by the joystick driver for PSP
Product: SDL Reporter: Littlefighter19
Component: joystickAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.4   
Hardware: Other   
OS: Other   

Description Littlefighter19 2016-01-16 16:36:18 UTC
I'm trying to use SDL 2.0.4 for PSP.
Initializing the Joystick subsystem works fine.
It also reports correctly information about how many buttons etc. are available
However no events are generated.
The only event that occurs is event 512 which I read is being generated when the Window gets focused.
This problem was already present in older version (2.0.3).
The only changes I made to the SDL source were disabling dynapi and adding src/thread/generic/SDL_systls.o to the Makefile as it would result in missing symbols.
Comment 1 Littlefighter19 2016-01-16 16:51:07 UTC
Seems to be similar to #3184.
Using SDL_SetHint (SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
It appears to work.

*** This bug has been marked as a duplicate of bug 3184 ***