Remove legacy SDL2 input grab API

This commit is contained in:
Cameron Gutman authored and Sam Lantinga committed 2024-03-24 16:53:23 -07:00
1 parent cf3cf0e106
commit f14fb979c1
11 files changed
+21 -155

No files matched your search

+2 -2
View File
@@ -285,8 +285,8 @@ extern DECLSPEC int SDLCALL SDL_SetRelativeMouseMode(SDL_bool enabled);
* mouse while the user is dragging something, until the user releases a mouse
* button. It is not recommended that you capture the mouse for long periods
* of time, such as the entire time your app is running. For that, you should
* probably use SDL_SetRelativeMouseMode() or SDL_SetWindowGrab(), depending
* on your goals.
* probably use SDL_SetRelativeMouseMode() or SDL_SetWindowMouseGrab(),
* depending on your goals.
*
* While captured, mouse events still report coordinates relative to the
* current (foreground) window, but those coordinates may be outside the