Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Graphikos

The ig.ua.touchDevice user agent flag in Impact 1.22 built in Ejecta 1.3 seems to fail on iPad running iOS 6.0.1. My guess is Ejecta isn't emulating the function that impact is looking for to consider it a touch device.

When it fails it doesn't initialize the touch events making things pretty useless. A workaround is to force ig.ua.touchDevice = true; before binding buttons.

1 decade ago by dominic

Yep, sorry. It's fixed in the current dev version on github.

If you don't want to update (newest dev version is XCode5 only), just add this to the Ejecta.js file:

// Set touch event properties for feature detection
window.ontouchstart = window.ontouchend = window.ontouchmove = null;
Page 1 of 1
« first « previous next › last »