include/SDL_hints.h
changeset 11845 cf80a56f6d8d
parent 11841 fe303e78ea49
child 11876 dfde5d3f9781
     1.1 --- a/include/SDL_hints.h	Tue Feb 06 15:03:35 2018 -0800
     1.2 +++ b/include/SDL_hints.h	Tue Feb 06 15:03:38 2018 -0800
     1.3 @@ -356,16 +356,6 @@
     1.4  #define SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"
     1.5  
     1.6  /**
     1.7 - * \brief  A variable controlling whether the Apple TV remote swipes are
     1.8 - *         translated into arrow key events
     1.9 - *
    1.10 - *  This variable can be set to the following values:
    1.11 - *    "0"       - Swipes are not translated into arrow key events
    1.12 - *    "1"       - Swipes are translated into arrow key events (the default)
    1.13 - */
    1.14 -#define SDL_HINT_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS "SDL_APPLE_TV_REMOTE_SWIPES_AS_ARROW_KEYS"
    1.15 -
    1.16 -/**
    1.17   * \brief  A variable controlling whether the home indicator bar on iPhone X
    1.18   *         should be hidden.
    1.19   *
    1.20 @@ -378,16 +368,25 @@
    1.21  
    1.22  /**
    1.23   *  \brief  A variable controlling whether the Android / iOS built-in
    1.24 - *  accelerometer should be listed as a joystick device, rather than listing
    1.25 - *  actual joysticks only.
    1.26 + *  accelerometer should be listed as a joystick device.
    1.27   *
    1.28   *  This variable can be set to the following values:
    1.29 - *    "0"       - List only real joysticks and accept input from them
    1.30 - *    "1"       - List real joysticks along with the accelerometer as if it were a 3 axis joystick (the default).
    1.31 + *    "0"       - The accelerometer is not listed as a joystick
    1.32 + *    "1"       - The accelerometer is available as a 3 axis joystick (the default).
    1.33   */
    1.34  #define SDL_HINT_ACCELEROMETER_AS_JOYSTICK "SDL_ACCELEROMETER_AS_JOYSTICK"
    1.35  
    1.36  /**
    1.37 + *  \brief  A variable controlling whether the Android / iOS remotes
    1.38 + *  should be listed as joystick devices, instead of sending keyboard events.
    1.39 + *
    1.40 + *  This variable can be set to the following values:
    1.41 + *    "0"       - Remotes send enter/escape/arrow key events
    1.42 + *    "1"       - Remotes are available as 2 axis, 2 button joysticks (the default).
    1.43 + */
    1.44 +#define SDL_HINT_TV_REMOTE_AS_JOYSTICK "SDL_TV_REMOTE_AS_JOYSTICK"
    1.45 +
    1.46 +/**
    1.47   *  \brief  A variable that lets you disable the detection and use of Xinput gamepad devices
    1.48   *
    1.49   *  The variable can be set to the following values: