mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:02:44 +00:00 
			
		
		
		
	 26a9d662f4
			
		
	
	
		26a9d662f4
		
	
	
	
	
		
			
			It was silly for the WindowServer to have to know anything about the format of PS/2 mouse packets. This patch also enables use of the middle mouse button.
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			92 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			92 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| struct MousePacket {
 | |
|     int dx { 0 };
 | |
|     int dy { 0 };
 | |
|     byte buttons;
 | |
| };
 |