#ifndef _UDEV_SEAT_H_
#define _UDEV_SEAT_H_
+#include "config.h"
+
#include <libudev.h>
+#include "libinput-private.h"
-#include "compositor.h"
+struct udev_seat {
+ struct libinput_seat base;
+};
struct udev_input {
- struct weston_seat base;
- struct wl_list devices_list;
+ struct libinput base;
+ struct udev *udev;
struct udev_monitor *udev_monitor;
- struct wl_event_source *udev_monitor_source;
+ struct libinput_source *udev_monitor_source;
char *seat_id;
};
-int udev_input_enable(struct udev_input *input, struct udev *udev);
-void udev_input_disable(struct udev_input *input);
-struct udev_input *udev_input_create(struct weston_compositor *c,
- struct udev *udev,
- const char *seat_id);
-void udev_input_destroy(struct udev_input *input);
-
#endif