src/video/windows/SDL_windowsevents.c
changeset 12404 eb60e952b13f
parent 12382 03d0bddca61b
child 12503 806492103856
     1.1 --- a/src/video/windows/SDL_windowsevents.c	Wed Nov 07 07:52:39 2018 -0800
     1.2 +++ b/src/video/windows/SDL_windowsevents.c	Sat Nov 10 16:15:48 2018 -0400
     1.3 @@ -932,7 +932,11 @@
     1.4                      PTOUCHINPUT input = &inputs[i];
     1.5  
     1.6                      const SDL_TouchID touchId = (SDL_TouchID)((size_t)input->hSource);
     1.7 -                    if (SDL_AddTouch(touchId, "") < 0) {
     1.8 +
     1.9 +                    /* TODO: Can we use GetRawInputDeviceInfo and HID info to
    1.10 +                       determine if this is a direct or indirect touch device?
    1.11 +                     */
    1.12 +                    if (SDL_AddTouch(touchId, SDL_TOUCH_DEVICE_DIRECT, "") < 0) {
    1.13                          continue;
    1.14                      }
    1.15