mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-15 08:13:13 +00:00
PSP: send initial SDL_JOYDEVICEADDED event
(cherry picked from commit 5d80179954)
This commit is contained in:
committed by
Sam Lantinga
parent
80d36aba5b
commit
59b0a1dc65
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user