Merge pull request #1245 from Jan200101/PR/touch-event

add touch events
This commit is contained in:
Guldoman
2022-12-21 00:13:52 +01:00
committed by GitHub
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