diff --git a/rhythmblock.lua b/rhythmblock.lua index f7fb93a..cc8e3ae 100644 --- a/rhythmblock.lua +++ b/rhythmblock.lua @@ -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