src/video/android/SDL_androidtouch.c
changeset 12404 eb60e952b13f
parent 11811 5d94cb6b24d3
child 12494 6053ab61996a
     1.1 --- a/src/video/android/SDL_androidtouch.c	Wed Nov 07 07:52:39 2018 -0800
     1.2 +++ b/src/video/android/SDL_androidtouch.c	Sat Nov 10 16:15:48 2018 -0400
     1.3 @@ -72,7 +72,7 @@
     1.4  
     1.5      if (0 < number) {
     1.6          for (i = 0; i < number; ++i) {
     1.7 -            SDL_AddTouch((SDL_TouchID) ids[i], ""); /* no error handling */
     1.8 +            SDL_AddTouch((SDL_TouchID) ids[i], SDL_TOUCH_DEVICE_DIRECT, ""); /* no error handling */
     1.9          }
    1.10          SDL_free(ids);
    1.11      }
    1.12 @@ -97,7 +97,7 @@
    1.13      }
    1.14  
    1.15      touchDeviceId = (SDL_TouchID)touch_device_id_in;
    1.16 -    if (SDL_AddTouch(touchDeviceId, "") < 0) {
    1.17 +    if (SDL_AddTouch(touchDeviceId, SDL_TOUCH_DEVICE_DIRECT, "") < 0) {
    1.18          SDL_Log("error: can't add touch %s, %d", __FILE__, __LINE__);
    1.19      }
    1.20