diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-04 13:07:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-08-11 19:56:16 +1000 |
commit | 4182e514030b81b1b99b640fe75bf96750c85090 (patch) | |
tree | bca021f1e3531bd758d324ddfc43bf0abc4fc9ca /src/evdev.h | |
parent | ad031733f25e064ecfe8a449d1a5035da1a421de (diff) |
evdev: move the mt struct into the evdev dispatch struct
This is only used by the fallback dispatch method, not by any of the others.
Anything dispatch-specific should go into that struct.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/evdev.h b/src/evdev.h index f73b88b..79193c9 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -153,13 +153,6 @@ struct evdev_device { struct device_coords dimensions; } abs; - struct { - int slot; - struct mt_slot *slots; - size_t slots_len; - bool want_hysteresis; - struct device_coords hysteresis_margin; - } mt; struct mtdev *mtdev; struct device_coords rel; @@ -301,6 +294,14 @@ struct evdev_dispatch { struct libinput_device_config_send_events config; enum libinput_config_send_events_mode current_mode; } sendevents; + + struct { + int slot; + struct mt_slot *slots; + size_t slots_len; + bool want_hysteresis; + struct device_coords hysteresis_margin; + } mt; }; struct evdev_device * |