pub unsafe extern "C" fn SDL_GameControllerGetSensorDataRate(
    gamecontroller: *mut SDL_GameController,
    type_: SDL_SensorType
) -> f32
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.