pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
937 stars 155 forks source link

Port event.c to SDL3 #3217

Closed ankith26 closed 3 days ago

ankith26 commented 1 week ago

event.c is now compiling on SDL3.

This PR takes our usual strategy of not changing any SDL2 codepaths, and I have been super conservative with the changes.

The thing that needs discussion here is: how are we going to handle the gesture changes? For now I have just ifdef'd out the gesture parts, but maybe we should consider vendoring in SDL_gesture? Thoughts on this, chat?