mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-20 04:56:07 +00:00
PSP: send initial SDL_JOYDEVICEADDED event
(cherry picked from commit 5d80179954)
This commit is contained in:
parent
80d36aba5b
commit
59b0a1dc65
1 changed files with 3 additions and 0 deletions
|
|
@ -96,6 +96,9 @@ static int PSP_JoystickInit(void)
|
|||
analog_map[127 - i] = -1 * analog_map[i + 128];
|
||||
}
|
||||
|
||||
/* Fire off a joystick add event */
|
||||
SDL_PrivateJoystickAdded(0);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue