add touch events

This commit is contained in:
Jan200101 committed 2022-12-20 09:30:58 +01:00
1 parent 5ab8dc0275
commit b137d77183
2 files changed
+43 -2

No files matched your search

+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