Renamed *FromInstanceID() to *FromID()

This commit is contained in:
Sam Lantinga 2024-07-14 12:06:35 -07:00
parent cad9e6ea20
commit d154b37b41
29 changed files with 62 additions and 62 deletions

View file

@ -2562,7 +2562,7 @@ static SDL_bool HIDAPI_DriverSwitch_UpdateDevice(SDL_HIDAPI_Device *device)
Uint64 now = SDL_GetTicks();
if (device->num_joysticks > 0) {
joystick = SDL_GetJoystickFromInstanceID(device->joysticks[0]);
joystick = SDL_GetJoystickFromID(device->joysticks[0]);
}
while ((size = ReadInput(ctx)) > 0) {