if (!e_seat_touch_check(res)) continue;
TRACE_INPUT_BEGIN(e_seat_touch_send_downup);
+ ELOGF("Touch", "%s (id: %d, time: %d, x:%d, y:%d)", NULL, pressed ? "Down" : "Up", idx, timestamp, x, y);
if (pressed)
- {
- ELOGF("Touch", "Down (id: %d, time: %d, x:%d, y:%d)", NULL, idx, timestamp, x, y);
- wl_touch_send_down(res, serial, timestamp, surface, idx, wl_fixed_from_int(x), wl_fixed_from_int(y));
- }
+ wl_touch_send_down(res, serial, timestamp, surface, idx, wl_fixed_from_int(x), wl_fixed_from_int(y));
else
- {
- ELOGF("Touch", "Up (id: %d, time: %d, x:%d, y:%d)", NULL, idx, timestamp, x, y);
- wl_touch_send_up(res, serial, timestamp, idx);
- }
+ wl_touch_send_up(res, serial, timestamp, idx);
+
TRACE_INPUT_END();
}
return;