sdlGetSensorProperties function sensor
Get the properties associated with a sensor.
\param sensor the SDL_Sensor object. \returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.
\since This function is available since SDL 3.2.0.
extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetSensorProperties(SDL_Sensor *sensor)
Implementation
int sdlGetSensorProperties(Pointer<SdlSensor> sensor) {
final sdlGetSensorPropertiesLookupFunction = _libSdl
.lookupFunction<
Uint32 Function(Pointer<SdlSensor> sensor),
int Function(Pointer<SdlSensor> sensor)
>('SDL_GetSensorProperties');
return sdlGetSensorPropertiesLookupFunction(sensor);
}