From 614d4dbe44349c8478326a39bfa44bb19cc161c0 Mon Sep 17 00:00:00 2001 From: geecab Date: Sat, 23 Mar 2024 17:22:51 +0000 Subject: [PATCH] Fix undesirable deadzone when using analog Joysticks on Windows (#1538). --- src/win/wjoydxnu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/wjoydxnu.cpp b/src/win/wjoydxnu.cpp index c13c050a47..edef4163b6 100644 --- a/src/win/wjoydxnu.cpp +++ b/src/win/wjoydxnu.cpp @@ -850,7 +850,7 @@ static BOOL CALLBACK joystick_enum_callback(LPCDIDEVICEINSTANCE lpddi, LPVOID pv }, /* the data */ - 2000, // dwData + 0, // dwData }; DIPROPDWORD property_buffersize =