Răsfoiți Sursa

Update Famicom controllers to a more user friendly name.

(cherry picked from commit 2f13731d235ceed15c909838e0d0f6a4c5fd9a6f)
Bitwolf 2 luni în urmă
părinte
comite
386be0070b
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/joystick/hidapi/SDL_hidapi_switch.c

+ 2 - 2
src/joystick/hidapi/SDL_hidapi_switch.c

@@ -1458,11 +1458,11 @@ static void UpdateDeviceIdentity(SDL_HIDAPI_Device *device)
             device->type = SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_PRO;
             device->type = SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_PRO;
             break;
             break;
         case k_eSwitchDeviceInfoControllerType_HVCLeft:
         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;
             device->type = SDL_GAMEPAD_TYPE_STANDARD;
             break;
             break;
         case k_eSwitchDeviceInfoControllerType_HVCRight:
         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;
             device->type = SDL_GAMEPAD_TYPE_STANDARD;
             break;
             break;
         case k_eSwitchDeviceInfoControllerType_NESLeft:
         case k_eSwitchDeviceInfoControllerType_NESLeft: