-- ##################################
-- monitor_test
-- version 0.1
-- http://hevohevo.hatenablog.com/
r_mon=peripheral.wrap("right")
while true do
local event, side, x, y = os.pullEvent("monitor_touch")
r_mon.clear()
if event == "monitor_touch" then
r_mon.setCursorPos(1,1)
r_mon.write(string.format("%s / %s / (%d, %d)", event, side, x, y))
end
end