From 7ab91ff0551d8a5c798ac259d5dc2aa3857e95e4 Mon Sep 17 00:00:00 2001 From: Craig Carnell <1188869+cscd98@users.noreply.github.com> Date: Fri, 26 Sep 2025 21:20:50 +0100 Subject: [PATCH 1/2] Update hidapi submodule to v0.15.0 --- Externals/hidapi/hidapi-src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Externals/hidapi/hidapi-src b/Externals/hidapi/hidapi-src index 7011fa98af..d6b2a97460 160000 --- a/Externals/hidapi/hidapi-src +++ b/Externals/hidapi/hidapi-src @@ -1 +1 @@ -Subproject commit 7011fa98af2dde00c298105735e470de800288c7 +Subproject commit d6b2a974608dec3b76fb1e36c189f22b9cf3650c From fc1c060bb40c52eb0f5a1e4ff2775d25fa4e7ce0 Mon Sep 17 00:00:00 2001 From: Craig Carnell <1188869+cscd98@users.noreply.github.com> Date: Fri, 26 Sep 2025 21:34:43 +0100 Subject: [PATCH 2/2] Use hidapi-src/windows on MINGW as well as MSVC --- Externals/hidapi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Externals/hidapi/CMakeLists.txt b/Externals/hidapi/CMakeLists.txt index 210643caf0..df41e10c6d 100644 --- a/Externals/hidapi/CMakeLists.txt +++ b/Externals/hidapi/CMakeLists.txt @@ -6,7 +6,7 @@ target_include_directories(hidapi PUBLIC hidapi-src/hidapi) if(APPLE) target_sources(hidapi PRIVATE hidapi-src/mac/hid.c) -elseif(MSVC) +elseif(WIN32) target_sources(hidapi PRIVATE hidapi-src/windows/hid.c) else() find_package(LIBUDEV)