#ifndef _UDEV_SEAT_H_
#define _UDEV_SEAT_H_
-#include <libudev.h>
+#include "config.h"
-#include "compositor.h"
+#include <libudev.h>
+#include "libinput-private.h"
struct udev_seat {
- struct weston_seat base;
- struct wl_list devices_list;
+ struct libinput_seat base;
+};
+
+struct udev_input {
+ 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_seat_enable(struct udev_seat *seat, struct udev *udev);
-void udev_seat_disable(struct udev_seat *seat);
-struct udev_seat *udev_seat_create(struct weston_compositor *c,
- struct udev *udev,
- const char *seat_id);
-void udev_seat_destroy(struct udev_seat *seat);
-
#endif