Przeglądaj źródła

Update Famicom controllers to a more user friendly name.

Bitwolf 3 miesięcy temu
rodzic
commit
2f13731d23
1 zmienionych plików z 2 dodań i 2 usunięć
  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: