Skip to content

Commit

Permalink
Port event.c to SDL3
Browse files Browse the repository at this point in the history
  • Loading branch information
ankith26 committed Nov 9, 2024
1 parent 6e24c38 commit 4622f42
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 25 deletions.
4 changes: 4 additions & 0 deletions src_c/_pygame.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,10 @@ typedef enum {
PGPOST_CONTROLLERTOUCHPADMOTION,
PGPOST_CONTROLLERTOUCHPADUP,
PGPOST_CONTROLLERSENSORUPDATE,
#if !SDL_VERSION_ATLEAST(3, 0, 0)
PGPOST_DOLLARGESTURE,
PGPOST_DOLLARRECORD,
#endif
PGPOST_DROPFILE,
PGPOST_DROPTEXT,
PGPOST_DROPBEGIN,
Expand All @@ -334,7 +336,9 @@ typedef enum {
PGPOST_MOUSEBUTTONDOWN,
PGPOST_MOUSEBUTTONUP,
PGPOST_MOUSEWHEEL,
#if !SDL_VERSION_ATLEAST(3, 0, 0)
PGPOST_MULTIGESTURE,
#endif
PGPOST_NOEVENT,
PGPOST_QUIT,
PGPOST_RENDER_TARGETS_RESET,
Expand Down
Loading

0 comments on commit 4622f42

Please sign in to comment.