#include "compositor.h"
-struct udev_seat {
- struct weston_seat base;
- struct wl_list devices_list;
- struct wl_listener output_create_listener;
-};
-
struct udev_input {
struct libinput *libinput;
struct wl_event_source *libinput_source;
int suspended;
};
+struct udev_seat {
+ struct weston_seat base;
+ struct udev_input input;
+ struct wl_list devices_list;
+ struct wl_listener output_create_listener;
+};
+
int
udev_input_enable(struct udev_input *input);
void
udev_input_destroy(struct udev_input *input);
struct udev_seat *
-udev_seat_get_named(struct udev_input *u,
+udev_seat_get_named(struct weston_compositor *c,
const char *seat_name);
+int udev_seat_link_output(struct udev_seat *seat,
+ struct weston_output *output);
+
#endif