craftyjs.github.com

Crafty.touchDispatch

TouchEvents have a different structure then MouseEvents. The relevant data lives in e.changedTouches[0]. To normalize TouchEvents we catch em and dispatch a mock MouseEvent instead.

See Also