Fwd: Re: Let's get going on the Touch Events / Pointer Events mapping

FYI. Work by IBM re PointerEvents and TouchEvents mapping.

-------- Original Message --------
Subject: 	Re: Let's get going on the Touch Events / Pointer Events mapping
Resent-Date: 	Mon, 14 Oct 2013 15:34:52 +0000
Resent-From: 	<public-webevents@w3.org>
Date: 	Mon, 14 Oct 2013 13:17:23 +0200
From: 	ext Sebastien Pereira <spereira@dojomobile.org>
To: 	<public-webevents@w3.org>



Hi Art,

As discussed with you and Doug, here is a work IBM has done on
Pointer/Touch events mapping that could contribute to this work item:

https://docs.google.com/spreadsheet/ccc?key=0AvdBn9Kvx22qdGRnRXNPb0ZBTUl3SEkwdUdtaW9pWWc&usp=sharing

The approach: we started from common user actions: click/tap and swipe
gesture. We tested each user action on various devices/os/browsers and
wrote how touch events were generated. Then we identified patterns that
gave a pseudo code to be implemented.

With mobile enabled applications and increase of desktop touchscreens,
the javascript framework Dojo Toolkit was looking for a solution to
handle heterogeneous events (mouse, touch...). As Pointer Events are not
to be implemented right away in all supported browser by Dojo (desktop
and mobile), we worked on a shim implementation. That is where our work
could be usefull: we had to work on how to map Pointer Events with Touch
Events.

You can browse the current implementation here:
https://github.com/seb-pereira/pointer

Sebastien Pereira

On 10/11/2013 02:18 PM, Arthur Barstow wrote:
> Hi All,
>
> We agreed to produce a document regarding mapping Touch Events to/from
> Pointer Events and I'd like to get moving on this mapping.
>
> Rick - would you be willing to lead this effort? Last year you sent
> some related information to the list [1]. There could also be some
> relevant information in your Issues with Touch Events document [2], as
> well as some relevant work in various JS toolkits (e.g. see [3]). We
> can also ask the Pointer Events group for input.
>
> Since this WG's charter ends November 15, I would like the mapping doc
> to get started as soon as possible. Perhaps it would be useful to
> start with a Table of Contents and to get volunteers to contribute to
> various sections ...
>
> Regarding how to document the mapping, I don't recall us coming to an
> agreement. One option is a "Working Group Note". Another option is to
> use a wiki. An advantage of using a wiki doc is that it can be easily
> updated and evolved as we gain more experience with the integration of
> these two events.
>
> Who can commit to helping with this effort?
>
> -Thanks, AB
>
> [1]
> <http://lists.w3.org/Archives/Public/public-pointer-events/2012OctDec/0047.html>
> [2]
> <https://docs.google.com/document/d/12-HPlSIF7-ISY8TQHtuQ3IqDi-isZVI0Yzv5zwl90VU/
> [3] <http://jswiki.org/touch.html>
>
>
>

Received on Monday, 14 October 2013 23:35:53 UTC