include/SDL_hints.h
changeset 11182 27ed95cf83d6
parent 11079 08bbd51693d6
child 11201 813a8510bd0c
     1.1 --- a/include/SDL_hints.h	Wed Aug 02 17:45:15 2017 -0700
     1.2 +++ b/include/SDL_hints.h	Thu Aug 03 09:48:44 2017 -0700
     1.3 @@ -276,6 +276,17 @@
     1.4  #define SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH "SDL_MOUSE_FOCUS_CLICKTHROUGH"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling whether touch events should generate synthetic mouse events
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0"       - Touch events will not generate mouse events
    1.11 + *    "1"       - Touch events will generate mouse events
    1.12 + *
    1.13 + *  By default SDL will generate mouse events for touch events
    1.14 + */
    1.15 +#define SDL_HINT_TOUCH_MOUSE_EVENTS    "SDL_TOUCH_MOUSE_EVENTS"
    1.16 +
    1.17 +/**
    1.18   *  \brief Minimize your SDL_Window if it loses key focus when in fullscreen mode. Defaults to true.
    1.19   *
    1.20   */