[whatwg] Event handlers - Pointer Devices

This kind of discussion should happen in W3C WebApps WG, using
DOM mailing list (www-dom at w3.org).

There as been some discussion about this subject and I hope
there would be a draft spec somewhat soon.
(This all may depend on patent nonsense.)


-Olli


On 2/26/10 12:37 AM, dpenkler at gmail.com wrote:
> This is a timely call for interest.
> Additionally I would like to sollicit thoughts on the ideal level of
> abstraction such event API's should provide.
>
> Some random examples for illustration.
>
> Low level: TouchDown(...) onTouchMove() onTouchUp() with each reporting
> and tracking pressure and position of multiple fingers so that "gesture
> recognition" can be done in the script
>
> Mid Level: onTap(), onDoubleTap(), onLongTouch(), onDrag(),
> onPinch()....position but no pressure reported
>
> High Level: onRotate(), onScroll(), onResize()....gesture reported
>
> The complexity and number of problems to overcome to produce a clean API
> is much greater for higher levels of abstraction.
>
> On a related note it would be useful for tablets and smartphones to also
> handle other sensors such as accelerometers.... onShake(),
> onOrientationChange()
> I believe Palm has done some stuff to support this. At a lower level you
> can get raw accelerometer data too.
>
> -dave
>
>
> On Feb 25, 2010 10:00pm, Charles Pritchard <chuck at jumis.com> wrote:
>  > Hi All;
>  >
>  >
>  >
>  > I'd like to know if there's room or any work has been done to set aside a
>  >
>  > standard for an extended set of pointer-device events.
>  >
>  >
>  >
>  > With touch screens and touch sensitivity becoming quite main-stream,
>  >
>  > I'd like to see this popular functionality supported by the HTML 5
> standard.
>  >
>  >
>  >
>  > We see, in the iPhone, an ontouchstart and ongesturestart, and company.
>  >
>  > Gesture is a nice way of saying multiple inputs, and it works well.
>  >
>  >
>  >
>  >
>  >
>  > While many people would like to wrap the ontouch events into onmouse
>  >
>  > events -- they do have some different semantics. And, I believe
>  >
>  > that ontouch would be a good place to add in pressure sensitivity
> indexes.
>  >
>  >
>  >
>  > So, I thought I'd solicit feedback here.
>  >
>  >
>  >
>  > I'd like a common API to support touch screens
>  >
>  > and pressure/angle sensitive touch devices.
>  >
>  >
>  >
>  > I believe that both Apple and Wacom have thrown their hats into the
> ring, and we can easily
>  >
>  > integrate their achievements.
>  >
>  >
>  >
>  >
>  >
>  > -Charles
>  >
>  >
>  >
>  >
>  >
>  >
>  >

Received on Friday, 26 February 2010 02:23:04 UTC