On 7/17/2013 2:59 PM, Mounir Lamouri wrote:
Is there any future-proof plans to solve this issue? I can see at least
two reasonable use cases for Gaia to be able to handle non-touch
devices: Firefox OS on Desktop and Firefox OS on tablets with a docking
station.

When Pointer Events are implemented in Gecko (bug 822898), they will provide the easiest way to write code once that works with both touch and mouse input. Unfortunately that is a long ways off for b2g developers.

For now, either apps must be written with both Touch Event and Mouse Event support, or they must use shims that abstract away the differences, or our platform must have such a shim built in when we ship on hardware with mouse support. (The latter option is the one it we're using for b2g desktop builds and the simulator.)

Whether they use Pointer Events or Touch+Mouse Events, I do think that apps (including our system apps) should be written to work with both touch and non-touch input -- after all, if these are truly web apps then they should be browser- and hardware-agnostic.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to