Get the data rate (number of events per second) of a game controller sensor.
Defined in SDL_gamecontroller.h
gamecontroller | The controller to query |
type | The type of sensor to query |
Return the data rate, or 0.0f if the data rate is not available.
This function is available since SDL 2.0.16.