summaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 10b0e58..b240615 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -265,6 +265,10 @@ struct evdev_dispatch_interface {
* was sent */
void (*post_added)(struct evdev_device *device,
struct evdev_dispatch *dispatch);
+
+ void (*toggle_touch)(struct evdev_dispatch *dispatch,
+ struct evdev_device *device,
+ bool enable);
};
struct evdev_dispatch {
@@ -308,6 +312,10 @@ struct fallback_dispatch {
unsigned long hw_key_mask[NLONGS(KEY_CNT)];
enum evdev_event_type pending_event;
+
+ /* true if we're reading events (i.e. not suspended) but we're
+ ignoring them */
+ bool ignore_events;
};
struct evdev_device *