mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-17 16:58:13 +00:00
Removed SDL_SensorGetDataWithTimestamp() and SDL_GameControllerGetSensorDataWithTimestamp()
If you care about timestamps you'll also want to catch all of the sensor events instead of just polling the current state. For example, Nintendo Switch controllers generate 3 sensor events with distinct values for each polling interval.
This commit is contained in:
@@ -676,7 +676,6 @@ SDL3_0.0.0 {
|
||||
SDL_SensorGetNonPortableType;
|
||||
SDL_SensorGetInstanceID;
|
||||
SDL_SensorGetData;
|
||||
SDL_SensorGetDataWithTimestamp;
|
||||
SDL_SensorClose;
|
||||
SDL_SensorUpdate;
|
||||
SDL_SetHintWithPriority;
|
||||
@@ -816,7 +815,6 @@ SDL3_0.0.0 {
|
||||
SDL_GameControllerIsSensorEnabled;
|
||||
SDL_GameControllerGetSensorDataRate;
|
||||
SDL_GameControllerGetSensorData;
|
||||
SDL_GameControllerGetSensorDataWithTimestamp;
|
||||
SDL_GameControllerRumble;
|
||||
SDL_GameControllerRumbleTriggers;
|
||||
SDL_GameControllerHasLED;
|
||||
|
Reference in New Issue
Block a user