diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 1b1af42a..da963ddd 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -345,23 +345,6 @@ SDL_AppResult SDL_AppInit(void** appstate, int argc, char** argv) // Get reference to window *appstate = g_isle->GetWindowHandle(); - // Currently, SDL doesn't send SDL_EVENT_MOUSE_ADDED at startup (unlike for gamepads) - // This will probably be fixed in the future: https://github.com/libsdl-org/SDL/issues/12815 - { - int count; - SDL_MouseID* mice = SDL_GetMice(&count); - - if (mice) { - for (int i = 0; i < count; i++) { - if (InputManager()) { - InputManager()->AddMouse(mice[i]); - } - } - - SDL_free(mice); - } - } - #ifdef __EMSCRIPTEN__ SDL_AddEventWatch( [](void* userdata, SDL_Event* event) -> bool {