Skip to content

Commit

Permalink
testcontroller: update the controller name when it's opened as a gamepad
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 5, 2024
1 parent ebafe62 commit a520f1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/testcontroller.c
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,7 @@ static void HandleGamepadAdded(SDL_JoystickID id, bool verbose)
}

HandleGamepadRemapped(id);
SetController(id);
}

static void HandleGamepadRemoved(SDL_JoystickID id)
Expand Down

0 comments on commit a520f1e

Please sign in to comment.