mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-19 19:10:31 +08: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:
10
WhatsNew.txt
10
WhatsNew.txt
@@ -13,16 +13,18 @@ General:
|
||||
* The preprocessor symbol __IPHONEOS__ has been renamed __IOS__
|
||||
* Removed the following functions from the API, see docs/README-migration.md for details:
|
||||
* SDL_CalculateGammaRamp()
|
||||
* SDL_CreateRGBSurface()
|
||||
* SDL_CreateRGBSurfaceFrom()
|
||||
* SDL_CreateRGBSurfaceWithFormat()
|
||||
* SDL_CreateRGBSurfaceWithFormatFrom()
|
||||
* SDL_GameControllerGetSensorDataWithTimestamp()
|
||||
* SDL_GetRevisionNumber()
|
||||
* SDL_GetWindowBrightness()
|
||||
* SDL_GetWindowGammaRamp()
|
||||
* SDL_RWFromFP()
|
||||
* SDL_SensorGetDataWithTimestamp()
|
||||
* SDL_SetWindowBrightness()
|
||||
* SDL_SetWindowGammaRamp()
|
||||
* SDL_CreateRGBSurface()
|
||||
* SDL_CreateRGBSurfaceWithFormat()
|
||||
* SDL_CreateRGBSurfaceFrom()
|
||||
* SDL_CreateRGBSurfaceWithFormatFrom()
|
||||
* Removed the following hints from the API, see docs/README-migration.md for details:
|
||||
* SDL_HINT_IDLE_TIMER_DISABLED
|
||||
* SDL_HINT_VIDEO_X11_FORCE_EGL
|
||||
|
||||
Reference in New Issue
Block a user