mirror of
				https://fem.mint.lgbt/m/Rhythmblock.git
				synced 2024-08-14 20:27:11 +00:00 
			
		
		
		
	removed monitor support due to it being too buggy
This commit is contained in:
		
							parent
							
								
									8ea7559bef
								
							
						
					
					
						commit
						e1791d8e9c
					
				
					 1 changed files with 0 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -129,17 +129,6 @@ while true do
 | 
			
		|||
		term.clear()
 | 
			
		||||
                ejectDisc()
 | 
			
		||||
        end
 | 
			
		||||
    elseif event == "monitor_touch" then
 | 
			
		||||
	if eventData[3] >= centerWidth - 4 and eventData[4] >= centerHeight - 4 and eventData[3] <= centerWidth + 4 and eventData[4] <= centerHeight + 2 then
 | 
			
		||||
                if playing == true then
 | 
			
		||||
                        stopDisc()
 | 
			
		||||
                else
 | 
			
		||||
                        playDisc()
 | 
			
		||||
                end
 | 
			
		||||
        elseif eventData[3] >= centerWidth - 2 and eventData[4] >= centerHeight + 4 and eventData[3] <= centerWidth + 2 and eventData[4] <= centerHeight + 4 then
 | 
			
		||||
		term.clear()
 | 
			
		||||
                ejectDisc()
 | 
			
		||||
        end
 | 
			
		||||
    elseif event == "key_up" then
 | 
			
		||||
	local name = keys.getName(eventData[2]) or "unknown key"
 | 
			
		||||
    	if name == "space" then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue