From b8064aae6f0bae86232e3913cdaaf01875cc0b39 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Thu, 9 Feb 2023 22:03:57 +0100 Subject: [PATCH] Update README-migration --- docs/README-migration.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/README-migration.md b/docs/README-migration.md index 6eecb10d4..5693a1504 100644 --- a/docs/README-migration.md +++ b/docs/README-migration.md @@ -391,6 +391,8 @@ The functions SDL_GetJoysticks(), SDL_GetJoystickInstanceName(), SDL_GetJoystick SDL_AttachVirtualJoystick() and SDL_AttachVirtualJoystickEx() now return the joystick instance ID instead of a device index, and return 0 if there was an error. +SDL_GetJoystickAxis() takes the state as an output parameter and returns 0 if the function succeeds or a negative error code if there was an error. + The following functions have been renamed: * SDL_JoystickAttachVirtual() => SDL_AttachVirtualJoystick() * SDL_JoystickAttachVirtualEx() => SDL_AttachVirtualJoystickEx() @@ -936,6 +938,8 @@ The following functions have been renamed: ## SDL_system.h +SDL_AndroidGetExternalStorageState() takes the state as an output parameter and returns 0 if the function succeeds or a negative error code if there was an error. + The following functions have been renamed: * SDL_RenderGetD3D11Device() => SDL_GetRenderD3D11Device() * SDL_RenderGetD3D9Device() => SDL_GetRenderD3D9Device() @@ -973,6 +977,10 @@ If you were using this macro for other things besides SDL ticks values, you can #define SDL_TICKS_PASSED(A, B) ((Sint32)((B) - (A)) <= 0) ``` +## SDL_touch.h + +SDL_GetNumTouchFingers() returns a negative error code if there was an error. + ## SDL_version.h SDL_GetRevisionNumber() has been removed from the API, it always returned 0 in SDL 2.0.