mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-22 18:45:26 +00:00
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…
Reference in a new issue