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

-13
View File
@@ -654,19 +654,6 @@ extern "C" {
*/
#define SDL_HINT_GDK_TEXTINPUT_TITLE "SDL_GDK_TEXTINPUT_TITLE"
/**
* A variable controlling whether grabbing input grabs the keyboard
*
* The variable can be set to the following values:
* "0" - Grab will affect only the mouse. (default)
* "1" - Grab will affect mouse and keyboard.
*
* By default SDL will not grab the keyboard so system shortcuts still work.
*
* This hint can be set anytime.
*/
#define SDL_HINT_GRAB_KEYBOARD "SDL_GRAB_KEYBOARD"
/**
* A variable to control whether SDL_hid_enumerate() enumerates all HID devices or only controllers.
*