On Fri, 17 Oct 2003 22:32:36 +0200 Tilman Sauerbeck <[EMAIL PROTECTED]>
babbled:

> Carsten Haitzler <[EMAIL PROTECTED]> [2003-06-01 13:46]:
> > > Honestly, i'd like to make it clear. If i scroll wheel forward (xev 
> > > shows 5th button press), usually things go to it's top.
> > 
> > to date allmy experiences have been button 4 = up, button 5 = down. it's
> > pretty arbitary. 1 = going up, -1 = going down.
> 
> Agreed, that's what it *should be* like.
> 
> But the current code looks like this:
> 
> if      (xevent->xbutton.button == 4) e->z = -1;
> else if (xevent->xbutton.button == 5) e->z = 1;
> 
> Is there any good reason to keep it this way? Looks like it's a typo
> anyway.

it also matches screen co-ordinates... down increases y (ie +1) up decreases y
(-1).... it's fairly arbitary... :)


-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君                         [EMAIL PROTECTED]
Mobile Phone: +61 (0)413 451 899    Home Phone: 02 9698 8615


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to