sample
This commit is contained in:
		
							parent
							
								
									6c27b1ec7b
								
							
						
					
					
						commit
						552550676b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								main.py
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -6,7 +6,7 @@ import sys
 | 
			
		|||
import libevdev
 | 
			
		||||
#from libevdev import ecodes
 | 
			
		||||
MULTICAST_TTL = 4
 | 
			
		||||
def send(socket,x,y):
 | 
			
		||||
def send(sock,x,y):
 | 
			
		||||
 | 
			
		||||
    packet = struct.pack('<HH', x,y)
 | 
			
		||||
                        
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue