add touch events

This commit is contained in:
Jan200101
2022-12-20 09:30:58 +01:00
parent 5ab8dc0275
commit b137d77183
2 changed files with 43 additions and 2 deletions
+5
View File
@@ -46,6 +46,11 @@ system = {}
--- * "mousemoved" -> x, y, relative_x, relative_y
--- * "mousewheel" -> y, x
---
---Touch events:
--- * "touchpressed" -> x, y, finger_id
--- * "touchreleased" -> x, y, finger_id
--- * "touchmoved" -> x, y, distance_x, distance_y, finger_id
---
---@return string type
---@return any? arg1
---@return any? arg2