Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> writes:

> On Thu, 22 Sep 2005 15:16:21 +0200 Martin Geisler <[EMAIL PROTECTED]>
> babbled:
>
>> I don't know that much about X, but I've always thought that the
>> mouse wheel functioned like a couple of extra buttons [...]
>
> i know how the x level works

Oh, I would never question that! :-)

> - yes its buttons 4 & 5 (or 6 & 7) but in ecore_x we filter out
> events for buttons 4-7 and turn them into special wheel events as
> frankly they are very special buttons - you always get a button down
> INSTANTLY followed by an up - the wheel button 4 and 5 will never
> STAY down - in fact the button up event is entirely useless in this
> regard, so ecore_x splits it off early on into ficticious wheel
> events, mimickign the real world more closely.  thnus e needs to
> handle these specially as a result. they are considered special
> events in their own right in ecore_x.

Thanks a lot for the explaination, it makes sense now!

-- 
Martin Geisler                                     GnuPG Key: 0x7E45DD38

PHP EXIF Library      |  PHP Weather             |  PHP Shell
http://pel.sf.net/    |  http://phpweather.net/  |  http://mgeisler.net/
Read/write EXIF data  |  Show current weather    |  A shell in a browser

Attachment: pgpljEJkLR6DJ.pgp
Description: PGP signature

Reply via email to