Skip to content

Add GameControllerType functionality and bump to SDL 2.30.5 #1420

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 8 commits into
base: master
Choose a base branch
from

Conversation

naumazeredo
Copy link

  • Add GameControllerType from SDL_GameControllerType
  • Add GameControllerSubsystem::type_for_index (SDL_GameControllerTypeForIndex) and GameController::r#type (SDL_GameControllerGetType. Annoyed to use r#type).
  • Update event.rs to have missing DisplayEvent::Moved (required for the SDL version bump)
  • Small updates to the Event documentation

@antonilol antonilol linked an issue Mar 24, 2025 that may be closed by this pull request
@@ -409,6 +409,7 @@ pub enum DisplayEvent {
Orientation(Orientation),
Connected,
Disconnected,
Moved,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a changelog entry (with **BREAKING CHANGE**) for this breaking change?

@antonilol antonilol requested a review from jagprog5 March 24, 2025 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mistake in comment on mouse_y behaviour
2 participants