mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
Update Famicom controllers to a more user friendly name.
(cherry picked from commit 2f13731d23)
This commit is contained in:
parent
e8eba4a406
commit
386be0070b
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue