Update Famicom controllers to a more user friendly name.

(cherry picked from commit 2f13731d23)
This commit is contained in:
Bitwolf 2026-03-13 22:30:58 -07:00 committed by Sam Lantinga
parent e8eba4a406
commit 386be0070b

View file

@ -1458,11 +1458,11 @@ static void UpdateDeviceIdentity(SDL_HIDAPI_Device *device)
device->type = SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_PRO;
break;
case k_eSwitchDeviceInfoControllerType_HVCLeft:
HIDAPI_SetDeviceName(device, "Nintendo HVC Controller (1)");
HIDAPI_SetDeviceName(device, "Nintendo Family Computer Controller (1)");
device->type = SDL_GAMEPAD_TYPE_STANDARD;
break;
case k_eSwitchDeviceInfoControllerType_HVCRight:
HIDAPI_SetDeviceName(device, "Nintendo HVC Controller (2)");
HIDAPI_SetDeviceName(device, "Nintendo Family Computer Controller (2)");
device->type = SDL_GAMEPAD_TYPE_STANDARD;
break;
case k_eSwitchDeviceInfoControllerType_NESLeft: