summaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 3a613eb5..e983fb1d 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -144,6 +144,11 @@ enum evdev_debounce_state {
DEBOUNCE_ACTIVE,
};
+enum evdev_arbitration_state {
+ ARBITRATION_NOT_ACTIVE,
+ ARBITRATION_IGNORE_ALL,
+};
+
struct evdev_device {
struct libinput_device base;
@@ -301,7 +306,7 @@ struct evdev_dispatch_interface {
* enable/disable touch capabilities */
void (*toggle_touch)(struct evdev_dispatch *dispatch,
struct evdev_device *device,
- bool enable,
+ enum evdev_arbitration_state which,
uint64_t now);
/* Return the state of the given switch */