Skip to content

Compile _sdl2.controller and _sdl2.touch with SDL3 #3427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

damusss
Copy link
Member

@damusss damusss commented May 11, 2025

I have started working on compiling pygame._sdl2 with SDL3. This PR is draft because I'd like to port touch and audio, I'm creating it early to get feedback and opinions, especially for the following submodules:

  • We don't have to port video, right? I mean, it's being ported as pygame.render which hopefully is already sdl3 compatible. No reason porting obsolete code to SDL3
  • Same thing for window. pygame.window is already ported, there's not reason to port this too, since it's also outdated.
    Do you agree?
    (also I want to see what the checks have to say about my changes)

EDIT: I compiled and ported controller and touch. I have made small edits to prepare audio, which I will do in the next PR, so this one is easier to approve.

@damusss damusss requested a review from Starbuck5 May 11, 2025 17:39
@damusss damusss added render/_sdl2 pygame._render or former pygame._sdl2 sdl3 labels May 11, 2025
@damusss damusss marked this pull request as ready for review May 18, 2025 09:19
@damusss damusss requested a review from a team as a code owner May 18, 2025 09:19
@damusss damusss changed the title Start compiling _sdl2 with SDL3 Compile _sdl2.controller and _sdl2.touch with SDL3 May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
render/_sdl2 pygame._render or former pygame._sdl2 sdl3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant