diff --git a/src/evdev-fallback.h b/src/evdev-fallback.h index 49c06c2c..514db96e 100644 --- a/src/evdev-fallback.h +++ b/src/evdev-fallback.h @@ -45,6 +45,22 @@ enum debounce_state { DEBOUNCE_STATE_DISABLED = 999, }; +enum mt_slot_state { + SLOT_STATE_NONE, + SLOT_STATE_BEGIN, + SLOT_STATE_UPDATE, + SLOT_STATE_END, +}; + +struct mt_slot { + bool dirty; + enum mt_slot_state state; + int32_t seat_slot; + struct device_coords point; + struct device_coords hysteresis_center; + bool is_palm; +}; + struct fallback_dispatch { struct evdev_dispatch base; struct evdev_device *device; diff --git a/src/evdev.h b/src/evdev.h index de706f02..347086a1 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -157,21 +157,6 @@ enum evdev_debounce_state { DEBOUNCE_ACTIVE, }; -enum mt_slot_state { - SLOT_STATE_NONE, - SLOT_STATE_BEGIN, - SLOT_STATE_UPDATE, - SLOT_STATE_END, -}; - -struct mt_slot { - bool dirty; - enum mt_slot_state state; - int32_t seat_slot; - struct device_coords point; - struct device_coords hysteresis_center; -}; - struct evdev_device { struct libinput_device base;