include/SDL_hints.h
changeset 11782 98ea6e4c0d68
parent 11768 0f2fb9ec6ad6
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11781:c2f3e4187c9d 11782:98ea6e4c0d68
   719  * The value of this hint is used at runtime, so it can be changed at any time.
   719  * The value of this hint is used at runtime, so it can be changed at any time.
   720  */
   720  */
   721 #define SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH "SDL_ANDROID_SEPARATE_MOUSE_AND_TOUCH"
   721 #define SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH "SDL_ANDROID_SEPARATE_MOUSE_AND_TOUCH"
   722 
   722 
   723  /**
   723  /**
   724  * \brief A variable to control whether the return key on the soft keyboard should hide the 
   724  * \brief A variable to control whether the return key on the soft keyboard
   725  * soft keyboard on Android.
   725  *        should hide the soft keyboard on Android and iOS.
   726  *
   726  *
   727  * The variable can be set to the following values:
   727  * The variable can be set to the following values:
   728  *   "0"       - The return key will be handled as a key event. This is the behaviour of 
   728  *   "0"       - The return key will be handled as a key event. This is the behaviour of SDL <= 2.0.3. (default)
   729  *               SDL <= 2.0.3. (default)
       
   730  *   "1"       - The return key will hide the keyboard.
   729  *   "1"       - The return key will hide the keyboard.
   731  *
   730  *
   732  * The value of this hint is used at runtime, so it can be changed at any time.
   731  * The value of this hint is used at runtime, so it can be changed at any time.
   733  */
   732  */
   734 #define SDL_HINT_ANDROID_RETURN_HIDES_IME "SDL_ANDROID_RETURN_HIDES_IME"
   733 #define SDL_HINT_RETURN_KEY_HIDES_IME "SDL_RETURN_KEY_HIDES_IME"
   735 
   734 
   736 /**
   735 /**
   737  *  \brief override the binding element for keyboard inputs for Emscripten builds
   736  *  \brief override the binding element for keyboard inputs for Emscripten builds
   738  *
   737  *
   739  * This hint only applies to the emscripten platform
   738  * This hint only applies to the emscripten platform