From ff52fbaaf87ff75bfdcb9c2766ba2f76f2d9bab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 31 Dec 2008 16:24:16 -0500 Subject: [PATCH] Add wayland udev rules file. --- 70-wayland.rules | 8 ++++++++ Makefile.in | 1 + 2 files changed, 9 insertions(+) create mode 100644 70-wayland.rules diff --git a/70-wayland.rules b/70-wayland.rules new file mode 100644 index 00000000..6aa43e94 --- /dev/null +++ b/70-wayland.rules @@ -0,0 +1,8 @@ +ACTION!="add|change", GOTO="wayland_end" + +KERNEL=="event*", ENV{ID_CLASS}=="mouse", ENV{WAYLAND_SEAT}="1" +KERNEL=="event*", ENV{ID_CLASS}=="kbd", ENV{WAYLAND_SEAT}="1" +KERNEL=="card*", ENV{WAYLAND_SEAT}="1" + +LABEL="wayland_end" + diff --git a/Makefile.in b/Makefile.in index 09cd2b7c..b3b48074 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,6 +53,7 @@ install : $(libs) install $(libs) @libdir@ install wayland-server.pc wayland.pc @libdir@/pkgconfig install wayland-client.h @includedir@ + install 70-wayland.rules ${sysconfdir}/udev/rules.d clean : rm -f $(clients) $(compositors) *.o *.so