Add wayland udev rules file.

This commit is contained in:
Kristian Høgsberg 2008-12-31 16:24:16 -05:00
parent 81ce09a6c4
commit ff52fbaaf8
2 changed files with 9 additions and 0 deletions

8
70-wayland.rules Normal file
View file

@ -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"

View file

@ -53,6 +53,7 @@ install : $(libs)
install $(libs) @libdir@ install $(libs) @libdir@
install wayland-server.pc wayland.pc @libdir@/pkgconfig install wayland-server.pc wayland.pc @libdir@/pkgconfig
install wayland-client.h @includedir@ install wayland-client.h @includedir@
install 70-wayland.rules ${sysconfdir}/udev/rules.d
clean : clean :
rm -f $(clients) $(compositors) *.o *.so rm -f $(clients) $(compositors) *.o *.so