wire up touch handlers
Dependencies
- [2]
RHARLLIQMerge text0 - [3]
THJX6RCJMerge text0 - [*]
N2NUGNN4include a brief reference enabling many useful apps - [*]
OTIBCAUJlove2d scaffold - [*]
LXFHXL2NMerge text.love - [*]
5OVKHVY6nice way to make on.* handlers more discoverable - [*]
WZZGVKSGa few more renames
Change contents
- edit in reference.md at line 90
* `on.touch_press(x,y, dx,dy, pressure)` -- called when you touch amulti-touch screen. Provides in `x` and `y` the point on the screen at whichthe touch occurred.(Based on [LÖVE](https://love2d.org/wiki/love.touchpressed).) - edit in reference.md at line 96
* `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 ona multi-touch screen. Provides the same arguments as `on.touch_press()`above, with `dx` and `dy` containing the amount moved since the previouscall to `touch_move`.(Based on [LÖVE](https://love2d.org/wiki/love.touchmoved).) - edit in main.lua at line 201
endfunction App.touchpressed(x,y, dx,dy, pressure)if Mode == 'error' then return endCursor_time = 0 -- ensure cursor is visible immediately after it movesif on.touch_press then on.touch_press(x,y, dx,dy, pressure) endendfunction App.touchreleased(x,y, dx,dy, pressure)if Mode == 'error' then return endCursor_time = 0 -- ensure cursor is visible immediately after it movesif on.touch_release then on.touch_release(x,y, dx,dy, pressure) endendfunction App.touchmoved(x,y, dx,dy, pressure)if on.touch_move then on.touch_move(x,y, dx,dy, pressure) end - edit in 0001-on at line 16[2.449][9.444]
-- on.touch_press (see love.touchpressed)-- on.touch_release (see love.touchreleased)-- on.touch_move (see love.touchmoved)