Re: some notes on wheel events

* Anne van Kesteren wrote:
>wheelDeltaX is a multiple of 120 (positive means rotated to the right,  
>negative means rotated to the left). UIEvent.detail is wheelDeltaX divided  
>by 120.
>
>wheelDeltaY is a multiple of 120 (positive means rotated away from user or  
>to the right, negative means rotated towards user or to the left).  
>UIEvent.detail is wheelDeltaY divided by 120.
>
>wheelDeltaZ is a multiple of 120 (...). UIEvent.detail is wheelDeltaZ  
>divided by 120.

I am not sure UIEvent.detail makes sense like that, I thought we wanted
to avoid http://en.wikipedia.org/wiki/Straferunning style problems, so
if you "wheel" top-right, you get both wheelDeltaX and wheelDeltaY, and
UIEvent.detail can't be as specified above if that is indeed the case.

>XXX: i18n?
>XXX: wheelDeltaY -> wheelDelta?
>XXX: Array for "any" number of wheels.
>XXX: MouseEvent.relatedNode?

relatedNode should probably be the node that is beeing "wheel'd" over.
I am not sure what you mean by "i18n" above. I don't think we need the
array you mention, and for "wheelDelta" well, that's for the group to
decide.

>XXX: do we want initMouseWheelEvent() and such?

I think so.

>Note: Future versions might introduce a mousewheelx and mousewheelz event  
>given there's a need for them.

There is?
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Wednesday, 21 June 2006 19:05:02 UTC