I have no idea how events like on.touchpressed were working until now. This still seems useful to add on.touch_press.
7EJUTFDQWBND3YBVQLWKNZQEYVIRRK4PTCRN2S2OUGKASXE3BWYAC
RHARLLIQPGKVXNYQSIAZWILUI6F3CWMZ3ABJVI52IC3RBRSWPR5AC
THJX6RCJEMADQ3O6UOXA5DMGVGHMVKZHG4U7IUEV5E75FC3XRHXQC
N2NUGNN4E37TNLC6JZE4H4HKJZPNVBV4VYTLXW57AP5BOU4ZK7LQC
LXFHXL2NSH7KLRNNN66OPNSU4DXZ6UU2CUPXUHCFEISDB6BY7KDAC
OTIBCAUJ3KDQJLVDN3A536DLZGNRYMGJLORZVR3WLCGXGO6UGO6AC
WZZGVKSGCAEPDTHCT4IKNNAWDHUEATGOAT4FBLQUPF64CSJSNVJQC
5OVKHVY6TJK53NCEUGSFBMHDENBJ25IEZNBWCI6QRCRLRKG5K7NAC
* `on.touch_release(x,y, dx,dy, pressure)` -- called when you release a touch.
Provides the same arguments as `on.touch_press()` above.
(Based on [LÖVE](https://love2d.org/wiki/love.touchreleased).)
* `on.touch_move(x,y, dx,dy, pressure)` -- called when you move any finger on
a multi-touch screen. Provides the same arguments as `on.touch_press()`
above, with `dx` and `dy` containing the amount moved since the previous
call to `touch_move`.
(Based on [LÖVE](https://love2d.org/wiki/love.touchmoved).)
end
function App.touchpressed(x,y, dx,dy, pressure)
if Mode == 'error' then return end
Cursor_time = 0 -- ensure cursor is visible immediately after it moves
if on.touch_press then on.touch_press(x,y, dx,dy, pressure) end
end
function App.touchreleased(x,y, dx,dy, pressure)
if Mode == 'error' then return end
Cursor_time = 0 -- ensure cursor is visible immediately after it moves
if on.touch_release then on.touch_release(x,y, dx,dy, pressure) end
end
function App.touchmoved(x,y, dx,dy, pressure)
if on.touch_move then on.touch_move(x,y, dx,dy, pressure) end