X Tutup
Skip to content

[macOS] Use productCategory instead of vendorName for joypad name in SDL#110500

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
sorascode:fix-macos-joy-name
Nov 4, 2025
Merged

[macOS] Use productCategory instead of vendorName for joypad name in SDL#110500
Repiteo merged 1 commit intogodotengine:masterfrom
sorascode:fix-macos-joy-name

Conversation

@sorascode
Copy link
Contributor

This PR updates the apple sdl driver to use productCategory for the controller name instead of vendorName when available. This was already updated before the switch to sdl was made so this PR merely pulls those changes into our sdl implementation.

Please see #104894 for more details.

@sorascode sorascode requested a review from a team as a code owner September 13, 2025 20:19
@sorascode sorascode changed the title [macOS] Use productCategory instead of vendorName for joypad name [macOS] Use productCategory instead of vendorName for joypad name in sdl Sep 13, 2025
@Nintorch
Copy link
Contributor

Hm, interesting, should we also propose this change to upstream SDL?

@sorascode
Copy link
Contributor Author

Hm, interesting, should we also propose this change to upstream SDL?

I think that would be a good idea too yea

@sorascode
Copy link
Contributor Author

This has been merged into SDL itself so this pr simply updates SDL now :)

@sorascode
Copy link
Contributor Author

Is there any info on when this would be merged?

@akien-mga
Copy link
Member

I rebased the PR to adjust how the thirdparty modification is done to follow our guidelines. Should be good to go now if it was accepted upstream (I see it was merged in the dev branch so it will be available when we upgrade to 3.4.x).

@akien-mga akien-mga changed the title [macOS] Use productCategory instead of vendorName for joypad name in sdl [macOS] Use productCategory instead of vendorName for joypad name in SDL Nov 4, 2025
@akien-mga akien-mga modified the milestones: 4.x, 4.6 Nov 4, 2025
@Repiteo Repiteo merged commit e07acf0 into godotengine:master Nov 4, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 4, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup