Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- event, side, xPos, yPos = os.pullEvent("monitor_touch")
- print(event .. " => Side: " .. tostring(side) .. ", " ..
- "X: " .. tostring(xPos) .. ", " ..
- "Y: " .. tostring(yPos))
- --print(xPos)
- --print(yPos)
- --print(side)
- --print(event)
- end
Add Comment
Please, Sign In to add comment