Commit 02021ae753474d8e09bcb23afe5ec724f16d11e2

Mathieu Eyraud 2021-11-27T13:17:04

Return capabitlities from RawInput joystick

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/joystick/windows/SDL_rawinputjoystick.c b/src/joystick/windows/SDL_rawinputjoystick.c
index 8e014fc..701b1bd 100644
--- a/src/joystick/windows/SDL_rawinputjoystick.c
+++ b/src/joystick/windows/SDL_rawinputjoystick.c
@@ -1308,7 +1308,7 @@ RAWINPUT_JoystickGetCapabilities(SDL_Joystick *joystick)
     }
 #endif
 
-    return 0;
+    return result;
 }
 
 static int