mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-11 14:28:39 +00:00
@@ -209,7 +209,9 @@ static void PSP_JoystickUpdate(SDL_Joystick *joystick)
|
||||
static unsigned char old_x = 0, old_y = 0;
|
||||
Uint64 timestamp = SDL_GetTicksNS();
|
||||
|
||||
if(sceCtrlPeekBufferPositive(&pad, 1) <= 0) return;
|
||||
if (sceCtrlPeekBufferPositive(&pad, 1) <= 0) {
|
||||
return;
|
||||
}
|
||||
buttons = pad.Buttons;
|
||||
x = pad.Lx;
|
||||
y = pad.Ly;
|
||||
|
||||
Reference in New Issue
Block a user