src/events/SDL_mouse.c
changeset 12695 0c4d04572622
parent 12692 69f24f4ef99e
child 12698 0cc2592ed0f4
equal deleted inserted replaced
12694:c9410703cbdd 12695:0c4d04572622
   112 {
   112 {
   113     SDL_Mouse *mouse = (SDL_Mouse *)userdata;
   113     SDL_Mouse *mouse = (SDL_Mouse *)userdata;
   114 
   114 
   115     if (hint == NULL || *hint == '\0') {
   115     if (hint == NULL || *hint == '\0') {
   116         /* Default */
   116         /* Default */
   117 #if defined(__ANDROID__)
   117 #if defined(__ANDROID__) || (defined(__IPHONEOS__) && !defined(__TVOS__))
   118         mouse->mouse_touch_events = SDL_TRUE;
   118         mouse->mouse_touch_events = SDL_TRUE;
   119 #else
   119 #else
   120         mouse->mouse_touch_events = SDL_FALSE;
   120         mouse->mouse_touch_events = SDL_FALSE;
   121 #endif
   121 #endif
   122     } else if (*hint == '1' || SDL_strcasecmp(hint, "true") == 0) {
   122     } else if (*hint == '1' || SDL_strcasecmp(hint, "true") == 0) {