summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-03-11 14:50:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-03-11 17:41:27 +1000
commit040dfeba6886b8e910fb6b347c283e60fe24a147 (patch)
treeec0de92ac806b20b30a5ae5cfa05fcf5ebefa984
parent66240dc329683f0141c1e11590ea2c3d8ca25788 (diff)
eventcomm: fix wrong event code for SYN_REPORT
This was supposed to emulate a SYN_REPORT event so that the upper layers process what's in the queue. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
-rw-r--r--src/eventcomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index fb4181e..82f620d 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -526,7 +526,7 @@ SynapticsReadEvent(InputInfoPtr pInfo, struct input_event *ev)
proto_data->read_flag == LIBEVDEV_READ_FLAG_NORMAL) {
proto_data->read_flag = LIBEVDEV_READ_FLAG_SYNC;
ev->type = EV_SYN;
- ev->code = SYN_DROPPED;
+ ev->code = SYN_REPORT;
ev->value = 0;
ev->time = last_event_time;
} else if (ev->type == EV_SYN)