Why no touch/tilt commands in HTML5?

Monkey Archive Forums/Monkey Discussion/Why no touch/tilt commands in HTML5?

Beaker(Posted 2011) [#1]
It seems a shame that the HTML5 target doesn't incorporate tilt/touch commands.


Difference(Posted 2011) [#2]
Built-in touch for HTML5 is a big wish for me too.


Beaker(Posted 2011) [#3]
Got tilt working. Take a look here:
http://www.monkeycoder.co.nz/Community/posts.php?topic=82
Make the changes that IndiePath proposes and then change the following line:
theApp.input.OnDeviceMotion(x, y, z);
to:
app.input.OnDeviceMotion(x, y, z);



frank(Posted 2011) [#4]
Pardon my ignorance, but do this work in non-html (ios target)? Considering they seem to be quite helpful there :)


Beaker(Posted 2011) [#5]
iOS and android already have touch/tilt commands, and since v50 so does html5.

This thread is obsolete.