diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-09-20 10:50:19 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-09-21 12:27:46 +1000 |
commit | 77890ecc8f39a3a3ba5016a941cf073d541fffbd (patch) | |
tree | a138a18b9d0abbaa02e8cced3bcbdff5a673fb17 /src/evdev-tablet.h | |
parent | 0c6b5c045b4c3799fae6ab210c27726be1105a6a (diff) | |
download | libinput-77890ecc8f39a3a3ba5016a941cf073d541fffbd.tar.gz |
tablet: always enable the no-proximity-out quirk on HUION tablets
And instead disable it when we do get a proximity out.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'src/evdev-tablet.h')
-rw-r--r-- | src/evdev-tablet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evdev-tablet.h b/src/evdev-tablet.h index ba05e88c..bf5a3dc1 100644 --- a/src/evdev-tablet.h +++ b/src/evdev-tablet.h @@ -89,6 +89,9 @@ struct tablet_dispatch { struct libinput_timer prox_out_timer; bool proximity_out_forced; uint64_t last_event_time; + + /* true while injecting BTN_TOOL_PEN events */ + bool proximity_out_in_progress; } quirks; }; |