Use SDL_EventType and fix event name in comment
This commit is contained in:
1 parent
c40e9cc634
commit
5f763083fc
1 file changed
+1
-1
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user