9 years ago by Joncom
Is it just me or are the
bindTouch
, touchStart
, and touchEnd
functions in "input.js" not used at all? This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
bindTouch
, touchStart
, and touchEnd
functions in "input.js" not used at all? touchstart
, touchend
, and touchmove
events still get bound in the initMouse
function. bindTouch
binds touch to a certain element. (And uses touchStart
and touchEnd
to do that)ig.input.bindtouch("#div", "jump")
to link it up to an action.