Skip to content

Conversation

@Pesa
Copy link
Contributor

@Pesa Pesa commented Dec 3, 2025

This helped me troubleshoot an issue with gamecontrollerdb.txt mappings. It's admittedly a pretty niche use case (and purely an SDL problem), so feel free to reject the PR.

While at it, use the correct type (SDL_JoystickID) for the joystick ID.

if (!gamepad && !joystick)
{
ERROR_LOG("Failed to open controller {}", index);
if (gamepad)
Copy link
Owner

@stenzek stenzek Dec 3, 2025

Choose a reason for hiding this comment

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

Why was this removed?

Edit, nevermind, didn't look above it.

@stenzek stenzek merged commit b42f26f into stenzek:master Dec 3, 2025
9 checks passed
@Pesa Pesa deleted the sdl-guid branch December 3, 2025 06:08
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.

2 participants