Fix return type for GameControllerGetSensorData
This commit is contained in:
parent
4eab64f274
commit
332667f37b
@ -6971,7 +6971,7 @@ namespace SDL2
|
|||||||
* Only available in 2.0.14 or higher.
|
* Only available in 2.0.14 or higher.
|
||||||
*/
|
*/
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern SDL_bool SDL_GameControllerGetSensorData(
|
public static extern int SDL_GameControllerGetSensorData(
|
||||||
IntPtr gamecontroller,
|
IntPtr gamecontroller,
|
||||||
SDL_SensorType type,
|
SDL_SensorType type,
|
||||||
IntPtr data,
|
IntPtr data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user