Skip to content

Commit 82e0390

Browse files
committed
Fix one of the docs, although, I think I'm only sending button clicked..
1 parent 986bd36 commit 82e0390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/SDL3/SDL_events.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ typedef struct SDL_UserEvent
987987

988988
typedef struct SDL_MenuEvent
989989
{
990-
Uint32 type; /**< SDL_EVENT_KEY_DOWN or SDL_EVENT_KEY_UP */
990+
Uint32 type; /**< SDL_EVENT_MENU_BUTTON_CLICKED or SDL_EVENT_MENU_CHECKABLE_CLICKED */
991991
Uint32 reserved;
992992
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
993993
Uint16 user_event_type;

0 commit comments

Comments
 (0)