Commit e55c54e2 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

fallback: move the mt slot state struct/enum here



Not needed by the more generic evdev header
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 8b1141ac
......@@ -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;
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment