mirror of https://github.com/libsdl-org/SDL
Document renamed API functions in SDL_keyboard.h
This commit is contained in:
parent
1dc119c316
commit
0901657278
|
@ -361,6 +361,13 @@ The following functions have been removed:
|
|||
* SDL_JoystickPathForIndex() - replaced with SDL_GetJoystickInstancePath()
|
||||
* SDL_NumJoysticks - replaced with SDL_GetJoysticks()
|
||||
|
||||
## SDL_keyboard.h
|
||||
|
||||
The following functions have been renamed:
|
||||
* SDL_IsScreenKeyboardShown() => SDL_ScreenKeyboardShown()
|
||||
* SDL_IsTextInputActive() => SDL_TextInputActive()
|
||||
* SDL_IsTextInputShown() => SDL_TextInputShown()
|
||||
|
||||
## SDL_keycode.h
|
||||
|
||||
The following symbols have been renamed:
|
||||
|
|
|
@ -219,6 +219,11 @@
|
|||
#define SDL_JoystickUpdate SDL_UpdateJoysticks
|
||||
#define SDL_NumJoysticks SDL_GetNumJoysticks
|
||||
|
||||
/* ##SDL_keyboard.h */
|
||||
#define SDL_IsScreenKeyboardShown SDL_ScreenKeyboardShown
|
||||
#define SDL_IsTextInputActive SDL_TextInputActive
|
||||
#define SDL_IsTextInputShown SDL_TextInputShown
|
||||
|
||||
/* ##SDL_keycode.h */
|
||||
#define KMOD_ALT SDL_KMOD_ALT
|
||||
#define KMOD_CAPS SDL_KMOD_CAPS
|
||||
|
@ -526,6 +531,11 @@
|
|||
#define SDL_JoystickSetVirtualHat SDL_JoystickSetVirtualHat_renamed_SDL_SetJoystickVirtualHat
|
||||
#define SDL_JoystickUpdate SDL_JoystickUpdate_renamed_SDL_UpdateJoysticks
|
||||
|
||||
/* ##SDL_keyboard.h */
|
||||
#define SDL_IsScreenKeyboardShown SDL_IsScreenKeyboardShown_renamed_SDL_ScreenKeyboardShown
|
||||
#define SDL_IsTextInputActive SDL_IsTextInputActive_renamed_SDL_TextInputActive
|
||||
#define SDL_IsTextInputShown SDL_IsTextInputShown_renamed_SDL_TextInputShown
|
||||
|
||||
/* ##SDL_keycode.h */
|
||||
#define KMOD_ALT KMOD_ALT_renamed_SDL_KMOD_ALT
|
||||
#define KMOD_CAPS KMOD_CAPS_renamed_SDL_KMOD_CAPS
|
||||
|
|
Loading…
Reference in New Issue