Function SDL_GameControllerGetSensorDataRate
pub unsafe extern "C" fn SDL_GameControllerGetSensorDataRate(
gamecontroller: *mut _SDL_GameController,
type_: SDL_SensorType,
) -> f32
Available on crate feature
dep_sdl2
only.Expand description
Get the data rate (number of events per second) of a game controller sensor.
\param gamecontroller The controller to query \param type The type of sensor to query \return the data rate, or 0.0f if the data rate is not available.
\since This function is available since SDL 2.0.16.