include/SDL_hints.h
changeset 11782 98ea6e4c0d68
parent 11768 0f2fb9ec6ad6
child 11811 5d94cb6b24d3
     1.1 --- a/include/SDL_hints.h	Tue Dec 19 10:48:29 2017 -0800
     1.2 +++ b/include/SDL_hints.h	Tue Dec 19 10:57:21 2017 -0800
     1.3 @@ -721,17 +721,16 @@
     1.4  #define SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH "SDL_ANDROID_SEPARATE_MOUSE_AND_TOUCH"
     1.5  
     1.6   /**
     1.7 - * \brief A variable to control whether the return key on the soft keyboard should hide the 
     1.8 - * soft keyboard on Android.
     1.9 + * \brief A variable to control whether the return key on the soft keyboard
    1.10 + *        should hide the soft keyboard on Android and iOS.
    1.11   *
    1.12   * The variable can be set to the following values:
    1.13 - *   "0"       - The return key will be handled as a key event. This is the behaviour of 
    1.14 - *               SDL <= 2.0.3. (default)
    1.15 + *   "0"       - The return key will be handled as a key event. This is the behaviour of SDL <= 2.0.3. (default)
    1.16   *   "1"       - The return key will hide the keyboard.
    1.17   *
    1.18   * The value of this hint is used at runtime, so it can be changed at any time.
    1.19   */
    1.20 -#define SDL_HINT_ANDROID_RETURN_HIDES_IME "SDL_ANDROID_RETURN_HIDES_IME"
    1.21 +#define SDL_HINT_RETURN_KEY_HIDES_IME "SDL_RETURN_KEY_HIDES_IME"
    1.22  
    1.23  /**
    1.24   *  \brief override the binding element for keyboard inputs for Emscripten builds