include/SDL_hints.h
changeset 12688 cc45bcb16ef2
parent 12641 64597a7e8771
child 12689 d581caf613cd
     1.1 --- a/include/SDL_hints.h	Thu Apr 04 15:19:00 2019 +0200
     1.2 +++ b/include/SDL_hints.h	Thu Apr 04 16:51:50 2019 +0200
     1.3 @@ -316,6 +316,18 @@
     1.4  #define SDL_HINT_TOUCH_MOUSE_EVENTS    "SDL_TOUCH_MOUSE_EVENTS"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling whether mouse events should generate synthetic touch events
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0"       - Mouse events will not generate touch events
    1.11 + *    "1"       - Mouse events will generate touch events
    1.12 + *
    1.13 + *  By default SDL will *not* generate touch events for mouse events
    1.14 + */
    1.15 +
    1.16 +#define SDL_HINT_MOUSE_TOUCH_EVENTS    "SDL_MOUSE_TOUCH_EVENTS"
    1.17 +
    1.18 +/**
    1.19   *  \brief Minimize your SDL_Window if it loses key focus when in fullscreen mode. Defaults to true.
    1.20   *
    1.21   */