Fix return type for GameControllerGetSensorData

This commit is contained in:
Ethan Lee 2020-12-22 02:01:34 -05:00 committed by GitHub
parent 4eab64f274
commit 332667f37b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,