mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Initialize keyboards from libinput
This commit is contained in:
		
							parent
							
								
									019fff06be
								
							
						
					
					
						commit
						0e75d157f5
					
				
					 12 changed files with 338 additions and 51 deletions
				
			
		| 
						 | 
				
			
			@ -15,10 +15,14 @@ struct wlr_backend_state {
 | 
			
		|||
	struct libinput *libinput;
 | 
			
		||||
	struct wl_event_source *input_event;
 | 
			
		||||
 | 
			
		||||
	list_t *devices;
 | 
			
		||||
	list_t *keyboards;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void wlr_libinput_event(struct wlr_backend_state *state,
 | 
			
		||||
		struct libinput_event *event);
 | 
			
		||||
 | 
			
		||||
struct wlr_keyboard_state {
 | 
			
		||||
	struct libinput_device *handle;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue