Carsten Haitzler (The Rasterman) wrote: >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... :) > >
You know, as often as this question comes up, it should be in the FAQ ;) -b -=-=- ... "Married, eight children. Prefer frequent travel." * TagZilla 0.049
smime.p7s
Description: S/MIME Cryptographic Signature
