Send neutral stick positions when disconnected rather than down-left

This commit is contained in:
Julien Bernard
2026-02-25 22:50:06 +01:00
parent afc2920a5f
commit 0e8db4fa22
2 changed files with 15 additions and 14 deletions

View File

@@ -408,7 +408,8 @@ static void ScanThreadFunc()
#if LIBUSB_API_HAS_HOTPLUG
#ifndef __FreeBSD__
s_libusb_hotplug_enabled = libusb_has_capability(LIBUSB_CAP_HAS_HOTPLUG) != 0;
// As of 28/12/2025 libusb has hotplug event capability on Linux & MacOS, but not on Windows
// As of v1.0.23-rc1 (2026/02) libusb has hotplug event capability on Linux & MacOS, but not on
// Windows
#endif
if (s_libusb_hotplug_enabled)
{