add missing `reserved` field to struct SDL_JoyBallEvent,

Fixes https://github.com/libsdl-org/SDL/issues/9327
main
Ozkan Sezer 2024-03-21 20:10:50 +03:00
parent 70b0d33106
commit 888cc29df6
1 changed files with 1 additions and 0 deletions

View File

@ -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 */