include/SDL_hints.h
changeset 11831 c3446901fc1c
parent 11811 5d94cb6b24d3
child 11841 fe303e78ea49
     1.1 --- a/include/SDL_hints.h	Tue Jan 16 21:29:32 2018 +0100
     1.2 +++ b/include/SDL_hints.h	Wed Jan 17 17:24:15 2018 -0800
     1.3 @@ -356,6 +356,16 @@
     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 Android / iOS built-in
    1.18   *  accelerometer should be listed as a joystick device, rather than listing
    1.19   *  actual joysticks only.