diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-29 13:22:28 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2026-10-29 13:33:26 +0100 |
| commit | 838d75bce98ca5a1f90f762e80d2aa649d4e0642 (patch) | |
| tree | 06d661dd944d80632aa80a9f605a679779575dc5 /src/player.c | |
| parent | e51027a576a07ffb41b6e7d2bfc3aade6ae091d7 (diff) | |
Minor Fixes
Diffstat (limited to 'src/player.c')
| -rw-r--r-- | src/player.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index a4d7a75..06545af 100644 --- a/src/player.c +++ b/src/player.c @@ -43,7 +43,8 @@ static bool add_gamepad(struct pw_players *players, players->gamepads[i] = SDL_OpenGamepad(event->which); if (!players->gamepads[i]) { - return false; + SDL_LogWarn(0, "failed to open gamepad: %s", SDL_GetError()); + return true; } SDL_LogDebug(0, "connected gamepad for player %zu", i + 1); |
