touch: provide coordinates of releases

This commit is contained in:
Lephe 2025-04-13 17:34:47 +02:00
parent 46f1fb99d9
commit 696b0ca9c0
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -192,6 +192,8 @@ static key_event_t make_event(struct _touch_addots const *dots)
if(dots->touches != 1) {
if(prev_type != KEYEV_TOUCH_UP && prev_type != KEYEV_NONE)
evt.type = KEYEV_TOUCH_UP;
evt.x = prev_x;
evt.y = prev_y;
}
else {
if(prev_type == KEYEV_TOUCH_UP || prev_type == KEYEV_NONE)