removed monitor support due to it being too buggy
This commit is contained in:
parent
8ea7559bef
commit
e1791d8e9c
|
@ -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…
Reference in a new issue