wire up new-style car.* handlers
Dependencies
- [2]
R5QXEHUIsomebody stop me
Change contents
- file addition: 0157-on.touch_move[2.2]
on.touch_move = function(id, x,y, dx,dy, pressure)if car.touchmoved thencall_protected(car.touchmoved, id, x,y, dx,dy, pressure)endif car.touch_move thencall_protected(car.touch_move, id, x,y, dx,dy, pressure)endend - file addition: 0156-on.touch_release[2.2]
on.touch_release = function(id, x,y, dx,dy, pressure)if car.touchreleased thencall_protected(car.touchreleased, id, x,y, dx,dy, pressure)endif car.touch_release thencall_protected(car.touch_release, id, x,y, dx,dy, pressure)endend - file addition: 0155-on.touch_press[2.2]
on.touch_press = function(id, x,y, dx,dy, pressure)if car.touchpressed thencall_protected(car.touchpressed, id, x,y, dx,dy, pressure)endif car.touch_press thencall_protected(car.touch_press, id, x,y, dx,dy, pressure)endend