mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
keyboard: Note that enabling text input can also enable an IME
An active IME can potentially eat key events, particularly dead keys and parts of a compose sequence, so note this behavior in the documentation.
This commit is contained in:
@@ -322,7 +322,8 @@ extern SDL_DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name);
|
|||||||
*
|
*
|
||||||
* Text input events are not received by default.
|
* Text input events are not received by default.
|
||||||
*
|
*
|
||||||
* On some platforms using this function shows the screen keyboard.
|
* On some platforms using this function shows the screen keyboard and/or activates
|
||||||
|
* an IME, which can prevent some key press events from being passed through.
|
||||||
*
|
*
|
||||||
* \param window the window to enable text input.
|
* \param window the window to enable text input.
|
||||||
* \returns true on success or false on failure; call SDL_GetError() for more
|
* \returns true on success or false on failure; call SDL_GetError() for more
|
||||||
@@ -391,7 +392,8 @@ typedef enum SDL_Capitalization
|
|||||||
*
|
*
|
||||||
* Text input events are not received by default.
|
* Text input events are not received by default.
|
||||||
*
|
*
|
||||||
* On some platforms using this function shows the screen keyboard.
|
* On some platforms using this function shows the screen keyboard and/or activates
|
||||||
|
* an IME, which can prevent some key press events from being passed through.
|
||||||
*
|
*
|
||||||
* These are the supported properties:
|
* These are the supported properties:
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user