Advertisement
geremy44

Test touch screen

Mar 6th, 2021
783
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. while true do
  2.   event, side, xPos, yPos = os.pullEvent("monitor_touch")
  3.   print(event .. " => Side: " .. tostring(side) .. ", " ..
  4.     "X: " .. tostring(xPos) .. ", " ..
  5.     "Y: " .. tostring(yPos))
  6. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement