summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-04-04 19:34:49 +0200
committerHenrik Rydberg <rydberg@euromail.se>2011-04-04 19:46:11 +0200
commit75ec0d6e4e74233ba8b381b45a15ac0db82294e2 (patch)
tree84f6c152df1e498d60f477640b9fd532254f98ab
parentc9f0f2b856bf8f4b464da7d0938300b11edc2a93 (diff)
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 <chase.douglas@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--src/grail-api.c2
1 files changed, 1 insertions, 1 deletions
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)
230 230
231 evbuf_put(&impl->evbuf, ev); 231 evbuf_put(&impl->evbuf, ev);
232 232
233 if (ev->type == EV_SYN || ev->type == EV_ABS) { 233 if (ev->type == EV_SYN || ev->type == EV_ABS || ev->type == EV_KEY) {
234 frame = utouch_frame_pump_mtdev(impl->fh, ev); 234 frame = utouch_frame_pump_mtdev(impl->fh, ev);
235 if (frame) 235 if (frame)
236 report_frame(ge, frame, ev); 236 report_frame(ge, frame, ev);