diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-03-11 14:50:01 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-03-11 17:41:27 +1000 |
commit | 040dfeba6886b8e910fb6b347c283e60fe24a147 (patch) | |
tree | ec0de92ac806b20b30a5ae5cfa05fcf5ebefa984 | |
parent | 66240dc329683f0141c1e11590ea2c3d8ca25788 (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.c | 2 |
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) |