diff options
author | Loïc Hoguin <[email protected]> | 2015-10-20 15:58:50 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-10-20 15:58:50 +0200 |
commit | cdaf2699bcb6aa0db3440b1d5906f3031e50b2ac (patch) | |
tree | f2fb92be90aa98d320471ff338703eef1bb218af /README.md | |
parent | 8f19fb094712dd6a871136c8522e0cf87fb3025e (diff) | |
download | esdl2-cdaf2699bcb6aa0db3440b1d5906f3031e50b2ac.tar.gz esdl2-cdaf2699bcb6aa0db3440b1d5906f3031e50b2ac.tar.bz2 esdl2-cdaf2699bcb6aa0db3440b1d5906f3031e50b2ac.zip |
Add sdl_keyboard with 3 text input related functions
The following functions were added:
* sdl_keyboard:start_text_input()
* sdl_keyboard:stop_text_input()
* sdl_keyboard:is_text_input_active()
Calling sdl_keyboard:stop_text_input() at the beginning of the
program allows not receiving unwanted textinput events.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -198,7 +198,20 @@ The following tasks remain to be done: * SDL_RegisterEvents() * http://hg.libsdl.org/SDL/file/default/include/SDL_keyboard.h - * We need to implement everything. + * We need to implement the following functions: + * SDL_GetKeyboardFocus() + * SDL_GetKeyboardState() + * SDL_GetModState() + * SDL_SetModState() + * SDL_GetKeyFromScancode() + * SDL_GetScancodeFromKey() + * SDL_GetScancodeName() + * SDL_GetScancodeFromName() + * SDL_GetKeyName() + * SDL_GetKeyFromName() + * SDL_SetTextInputRect() + * SDL_HasScreenKeyboardSupport() + * SDL_IsScreenKeyboardShown() * http://hg.libsdl.org/SDL/file/default/include/SDL_keycode.h * We probably should make it easy to identify keycodes and scancodes. |