Use SDL_EventType and fix event name in comment

main
Susko3 2024-04-01 19:19:10 +02:00 committed by Sam Lantinga
parent c40e9cc634
commit 5f763083fc
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ typedef struct SDL_JoyAxisEvent
*/ */
typedef struct SDL_JoyBallEvent typedef struct SDL_JoyBallEvent
{ {
Uint32 type; /**< ::SDL_JOYBALLMOTION */ SDL_EventType type; /**< ::SDL_EVENT_JOYSTICK_BALL_MOTION */
Uint32 reserved; Uint32 reserved;
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */ Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
SDL_JoystickID which; /**< The joystick instance id */ SDL_JoystickID which; /**< The joystick instance id */