SDL_GetGamepadSensorDataRate

Get the data rate (number of events per second) of a gamepad sensor.

extern (C) nothrow @nogc extern
float
SDL_GetGamepadSensorDataRate

Parameters

gamepad SDL_Gamepad*

the gamepad to query.

type SDL_SensorType

the type of sensor to query.

Return Value

Type: float

the data rate, or 0.0f if the data rate is not available.

Meta