From 5f763083fc4c68609475a2f081e0aa8b16978547 Mon Sep 17 00:00:00 2001 From: Susko3 Date: Mon, 1 Apr 2024 19:19:10 +0200 Subject: [PATCH] Use SDL_EventType and fix event name in comment --- include/SDL3/SDL_events.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h index 4c96cbe15..cc376aa3c 100644 --- a/include/SDL3/SDL_events.h +++ b/include/SDL3/SDL_events.h @@ -420,7 +420,7 @@ typedef struct SDL_JoyAxisEvent */ typedef struct SDL_JoyBallEvent { - Uint32 type; /**< ::SDL_JOYBALLMOTION */ + SDL_EventType type; /**< ::SDL_EVENT_JOYSTICK_BALL_MOTION */ Uint32 reserved; Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */ SDL_JoystickID which; /**< The joystick instance id */