Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise TouchEvents Progammatically #2

Closed
Philzen opened this issue May 26, 2012 · 1 comment
Closed

Raise TouchEvents Progammatically #2

Philzen opened this issue May 26, 2012 · 1 comment
Labels
Milestone

Comments

@Philzen
Copy link
Owner

Philzen commented May 26, 2012

a js-function is needed that will do the whole createEvent('TouchEvent') work and then document.elementFromPoint(x, y).dispatchEvent(event); (basically this is the actual polyfill).

Information contained in the MotionEvent-Object will then need to be passed on in an efficient way to this function.

@Philzen
Copy link
Owner Author

Philzen commented Jun 18, 2012

Done. The magic happens in wmp._raiseTouch(Touch, eventtype);

@Philzen Philzen closed this as completed Jun 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant