diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2017-07-28 16:48:38 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2017-07-28 16:48:38 -0500 |
commit | 33439865de327c5bac1c9a531070514e63fe3a04 (patch) | |
tree | ec870c0a41c709f722443dbc0869a51e1be66c11 /src/lib/elput/elput_private.h | |
parent | 2b16fc4278adfdf471c5ea488c08daeb96400a9a (diff) | |
download | efl-33439865de327c5bac1c9a531070514e63fe3a04.tar.gz |
elput: Fix synthetic relative motion events based on abs events
libinput won't actually give us this info, and logs an error instead.
We can't synthesize based on pointer position due to pointer
warping.
So we must track abs reports and use previous abs reports to
synthesize rel events.
Diffstat (limited to 'src/lib/elput/elput_private.h')
-rw-r--r-- | src/lib/elput/elput_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elput/elput_private.h b/src/lib/elput/elput_private.h index 709871c368..f5bc425182 100644 --- a/src/lib/elput/elput_private.h +++ b/src/lib/elput/elput_private.h @@ -231,6 +231,8 @@ struct _Elput_Device uint32_t ow, oh; + double absx, absy; + const char *path; const char *output_name; struct libinput_device *device; |