1
0
Fork 0
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:
mint 2021-05-07 03:15:35 -04:00
parent 8ea7559bef
commit e1791d8e9c

View file

@ -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