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,