From 726166309c9cb583afd0e25318f4efb83b1b5308 Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 27 Aug 2022 10:58:20 +0800 Subject: [PATCH 1/2] fix inspector bug Signed-off-by: peter Change-Id: I90f24b227a04a39824a7d5bf95d14cac02230f5a --- glfw/src/win32_joystick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/src/win32_joystick.c b/glfw/src/win32_joystick.c index 49f3b871..b4868501 100644 --- a/glfw/src/win32_joystick.c +++ b/glfw/src/win32_joystick.c @@ -667,8 +667,8 @@ void _glfwInitJoysticksWin32(void) "DI: Failed to create interface"); } } - - _glfwDetectJoystickConnectionWin32(); + // The initialization takes a long time on a specific computer + // _glfwDetectJoystickConnectionWin32(); } // Close all opened joystick handles -- Gitee From 158eb243bbb678e5890e1efe56b4726a71ae87a2 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 28 Sep 2022 10:21:46 +0800 Subject: [PATCH 2/2] The initialization takes a long time on a specific computer Signed-off-by: peter Change-Id: I9fd78460c940294a16982d0a0c22fa44fde67623 --- glfw/src/win32_joystick.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/glfw/src/win32_joystick.c b/glfw/src/win32_joystick.c index b4868501..efa81331 100644 --- a/glfw/src/win32_joystick.c +++ b/glfw/src/win32_joystick.c @@ -667,8 +667,7 @@ void _glfwInitJoysticksWin32(void) "DI: Failed to create interface"); } } - // The initialization takes a long time on a specific computer - // _glfwDetectJoystickConnectionWin32(); +// The initialization takes a long time on a specific computer _glfwDetectJoystickConnectionWin32(); } // Close all opened joystick handles -- Gitee