README.iOS
changeset 8340 e470405f3ae9
parent 8314 24f2de48557b
parent 6654 2ecfb25be1e2
equal deleted inserted replaced
8339:aee5d42068ac 8340:e470405f3ae9
    79 Notes -- Keyboard
    79 Notes -- Keyboard
    80 ==============================================================================
    80 ==============================================================================
    81 
    81 
    82 The SDL keyboard API has been extended to support on-screen keyboards:
    82 The SDL keyboard API has been extended to support on-screen keyboards:
    83 
    83 
    84 int SDL_ShowScreenKeyboard(SDL_Window * window) 
    84 void SDL_StartTextInput()
    85 	-- reveals the onscreen keyboard.  Returns 0 on success and -1 on error.
    85 	-- enables text events and reveals the onscreen keyboard.
    86 int SDL_HideScreenKeyboard(SDL_Window * window) 
    86 void SDL_StopTextInput()
    87 	-- hides the onscreen keyboard.  Returns 0 on success and -1 on error.
    87 	-- disables text events and hides the onscreen keyboard.
    88 SDL_bool SDL_IsScreenKeyboardShown(SDL_Window * window) 
    88 SDL_bool SDL_IsTextInputActive()
    89 	-- returns whether or not the onscreen keyboard is currently visible.
    89 	-- returns whether or not text events are enabled (and the onscreen keyboard is visible)
    90 int SDL_ToggleScreenKeyboard(SDL_Window * window) 	
       
    91 	-- toggles the visibility of the onscreen keyboard.  Returns 0 on success and -1 on error.
       
    92 
    90 
    93 ==============================================================================
    91 ==============================================================================
    94 Notes -- Reading and Writing files
    92 Notes -- Reading and Writing files
    95 ==============================================================================
    93 ==============================================================================
    96 
    94