Mon 14 Oct 23:06:38 CEST 2024
This commit is contained in:
		
							parent
							
								
									faaa3b1473
								
							
						
					
					
						commit
						2bc059dacb
					
				
							
								
								
									
										21
									
								
								kernel/mouse.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								kernel/mouse.h
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | ||||||
|  | /*
 | ||||||
|  | Copyright (C) 2016-2019 The University of Notre Dame | ||||||
|  | This software is distributed under the GNU General Public License. | ||||||
|  | See the file LICENSE for details. | ||||||
|  | */ | ||||||
|  | 
 | ||||||
|  | #ifndef MOUSE_H | ||||||
|  | #define MOUSE_H | ||||||
|  | 
 | ||||||
|  | #include "kernel/types.h" | ||||||
|  | 
 | ||||||
|  | struct mouse_state { | ||||||
|  | 	uint8_t buttons; | ||||||
|  | 	uint16_t x; | ||||||
|  | 	uint16_t y; | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | void mouse_read( struct mouse_state *s ); | ||||||
|  | void mouse_init(); | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user