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
941 stars 156 forks source link

Port joystick and scrap to SDL3 #3208

Open ankith26 opened 3 weeks ago

ankith26 commented 3 weeks ago

This PR ports joystick and scrap to SDL3.

Porting scrap turned out to be surprisingly trivial, but it makes sense given that we are using like 3 functions of the SDL API, and the rest are custom implementations. EDIT: There was some windows specific code that I initially missed when I made this comment, but that should hopefully be ported now as well.