From 75ec0d6e4e74233ba8b381b45a15ac0db82294e2 Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Mon, 4 Apr 2011 19:34:49 +0200 Subject: Also send EV_KEY through utouch-frame To support semi-mt devices, buttons need to be scanned for touch count information. This patch adds EV_KEY to the set of event types sent through utouch-frame. Signed-off-by: Chase Douglas Signed-off-by: Henrik Rydberg --- src/grail-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grail-api.c b/src/grail-api.c index 9fa58a2..c189ee9 100644 --- a/src/grail-api.c +++ b/src/grail-api.c @@ -230,7 +230,7 @@ static void grail_pump_mtdev(struct grail *ge, const struct input_event *ev) evbuf_put(&impl->evbuf, ev); - if (ev->type == EV_SYN || ev->type == EV_ABS) { + if (ev->type == EV_SYN || ev->type == EV_ABS || ev->type == EV_KEY) { frame = utouch_frame_pump_mtdev(impl->fh, ev); if (frame) report_frame(ge, frame, ev); -- cgit v1.2.3