Add wayland udev rules file.

dev
Kristian Høgsberg 16 years ago
parent 81ce09a6c4
commit ff52fbaaf8
  1. 8
      70-wayland.rules
  2. 1
      Makefile.in

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

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

Loading…
Cancel
Save