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

@@ -317,7 +317,7 @@ static SDL_bool HIDAPI_DriverSteamDeck_UpdateDevice(SDL_HIDAPI_Device *device)
ValveInReport_t *pInReport = (ValveInReport_t *)data;
if (device->num_joysticks > 0) {
joystick = SDL_GetJoystickFromInstanceID(device->joysticks[0]);
joystick = SDL_GetJoystickFromID(device->joysticks[0]);
if (joystick == NULL) {
return SDL_FALSE;
}