From 888cc29df66e5d0480c17def8f8cb1939e36e0fc Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 21 Mar 2024 20:10:50 +0300 Subject: [PATCH] add missing `reserved` field to struct SDL_JoyBallEvent, Fixes https://github.com/libsdl-org/SDL/issues/9327 --- include/SDL3/SDL_events.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h index 581af3010..6e076e3f9 100644 --- a/include/SDL3/SDL_events.h +++ b/include/SDL3/SDL_events.h @@ -343,6 +343,7 @@ typedef struct SDL_MouseMotionEvent typedef struct SDL_JoyBallEvent { Uint32 type; /**< ::SDL_JOYBALLMOTION */ + Uint32 reserved; Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */ SDL_JoystickID which; /**< The joystick instance id */ Uint8 ball; /**< The joystick trackball index */