Просмотр исходного кода

Don't modify the driver signature on the web

Nintorch 1 день назад
Родитель
Сommit
95dafa2bcd
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      src/joystick/emscripten/SDL_sysjoystick.c

+ 0 - 4
src/joystick/emscripten/SDL_sysjoystick.c

@@ -182,10 +182,6 @@ static EM_BOOL Emscripten_JoyStickConnected(int eventType, const EmscriptenGamep
         item->guid.data[15] = os_id;
     }
 
-    if (is_xinput) {
-        item->guid.data[14] = 'x'; // See SDL_IsJoystickXInput
-    }
-
     item->mapping = SDL_strdup(gamepadEvent->mapping);
     if (!item->mapping) {
         SDL_free(item->name);