mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Add wayland udev rules file.
This commit is contained in:
		
							parent
							
								
									81ce09a6c4
								
							
						
					
					
						commit
						ff52fbaaf8
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		
							
								
								
									
										8
									
								
								70-wayland.rules
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								70-wayland.rules
									
										
									
									
									
										Normal 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"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue