mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 08:27:05 +00:00
Fix SDL_GameController API for PSP (#3)
- Add missing mapping - Make sure the only window has the keyboard focus (so no `SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS` is needed)
This commit is contained in:
committed by
Sam Lantinga
parent
da0f76de6d
commit
6f6382f8d0
@@ -214,6 +214,7 @@ PSP_CreateWindow(_THIS, SDL_Window * window)
|
||||
/* Setup driver data for this window */
|
||||
window->driverdata = wdata;
|
||||
|
||||
SDL_SetKeyboardFocus(window);
|
||||
|
||||
/* Window has been successfully created */
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user