From 332667f37b6619e6465fe503079253e220d3ffc8 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 22 Dec 2020 02:01:34 -0500 Subject: [PATCH] Fix return type for GameControllerGetSensorData --- src/SDL2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL2.cs b/src/SDL2.cs index d685649..54e4277 100644 --- a/src/SDL2.cs +++ b/src/SDL2.cs @@ -6971,7 +6971,7 @@ namespace SDL2 * Only available in 2.0.14 or higher. */ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern SDL_bool SDL_GameControllerGetSensorData( + public static extern int SDL_GameControllerGetSensorData( IntPtr gamecontroller, SDL_SensorType type, IntPtr data,