Bug 4576: track both FingerId and TrackId

This commit is contained in:
Sylvain Becker 2019-04-04 15:19:00 +02:00
parent e39c0a1f7d
commit ab03892ddf
3 changed files with 34 additions and 41 deletions

View file

@ -270,9 +270,7 @@ SDL_EVDEV_Poll(void)
/* BTH_TOUCH event value 1 indicates there is contact with
a touchscreen or trackpad (earlist finger's current
position is sent in EV_ABS ABS_X/ABS_Y, switching to
next finger after earlist is released) however using it
for virtual mouse SDL_TOUCH_MOUSEID would differ from
other SDL backends which require a new finger touch. */
next finger after earlist is released) */
if (item->is_touchscreen && events[i].code == BTN_TOUCH) {
break;
}