Get the current state of a gamepad sensor.
The number of values and interpretation of the data is sensor dependent. See SDL_sensor.h for the details for each type of sensor.
the gamepad to query.
the type of sensor to query.
a pointer filled with the current sensor state.
the number of values to write to data.
true on success or false on failure; call SDL_GetError() for more information.
See Implementation
Get the current state of a gamepad sensor.
The number of values and interpretation of the data is sensor dependent. See SDL_sensor.h for the details for each type of sensor.