Re: [E-devel] mouse wheel z-value

2003-10-19 Thread Ben Ford
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 pres

Re: [E-devel] mouse wheel z-value

2003-10-19 Thread The Rasterman
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. > >

Re: [E-devel] mouse wheel z-value

2003-10-18 Thread Tilman Sauerbeck
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 u

Re: [E-devel] mouse wheel z-value

2003-06-01 Thread Valdis . Kletnieks
On Sun, 01 Jun 2003 07:48:28 +0600, Yuri <[EMAIL PROTECTED]> said: > > Better still: > > > > h=(ee->z<0)?((h++ == 24)?0:h):((h-- == -1)?23:h); > > h=(ee->z<0)?((++h == 24)?0:h):((--h == -1)?23:h); actually ;) http://www.ioccc.org ;) pgp0.pgp Description: PGP signature

Re: [E-devel] mouse wheel z-value

2003-06-01 Thread Ibukun Olumuyiwa
On Sun 01 Jun 2003, Yuri wrote: > > I'd like to know why 4th button means z=1 and 5th z=-1 and not > otherwise :) It seems to me a little bit alogic. > >>> > >>> > >>>1 = up, -1 = down... :) i guess :) it's a bit arbitary :) > >>> > >> > >>piece of my code: > >> > >>if (ee->z < 0){ >

Re: [E-devel] mouse wheel z-value

2003-06-01 Thread The Rasterman
On Sun, 01 Jun 2003 07:48:28 +0600 Yuri <[EMAIL PROTECTED]> babbled: > > I'd like to know why 4th button means z=1 and 5th z=-1 and not otherwise > :) It seems to me a little bit alogic. > >>> > >>> > >>>1 = up, -1 = down... :) i guess :) it's a bit arbitary :) > >>> > >> > >>piece o

Re: [E-devel] mouse wheel z-value

2003-06-01 Thread Yuri
I'd like to know why 4th button means z=1 and 5th z=-1 and not otherwise :) It seems to me a little bit alogic. 1 = up, -1 = down... :) i guess :) it's a bit arbitary :) piece of my code: if (ee->z < 0){ h++; if(h == 24) h = 0; } else { h--; if(h == -1) h = 23; } Better stil

Re: [E-devel] mouse wheel z-value

2003-05-31 Thread Ibukun Olumuyiwa
On Fri 30 May 2003, Yuri wrote: > >> > >>I'd like to know why 4th button means z=1 and 5th z=-1 and not otherwise > >>:) It seems to me a little bit alogic. > > > > > >1 = up, -1 = down... :) i guess :) it's a bit arbitary :) > > > > piece of my code: > > if (ee->z < 0){ > h++; > if(

Re: [E-devel] mouse wheel z-value

2003-05-31 Thread Yuri
I'd like to know why 4th button means z=1 and 5th z=-1 and not otherwise :) It seems to me a little bit alogic. 1 = up, -1 = down... :) i guess :) it's a bit arbitary :) piece of my code: if (ee->z < 0){ h++; if(h == 24) h = 0; } else { h--; if(h == -1) h = 23; } Oh, i just

Re: [E-devel] mouse wheel z-value

2003-05-30 Thread The Rasterman
On Fri, 30 May 2003 07:09:38 +0600 Yuri <[EMAIL PROTECTED]> babbled: > > > Hi there, > > I'd like to know why 4th button means z=1 and 5th z=-1 and not otherwise > :) It seems to me a little bit alogic. 1 = up, -1 = down... :) i guess :) it's a bit arbitary :) -- --- Codito,

[E-devel] mouse wheel z-value

2003-05-30 Thread Yuri
Hi there, I'd like to know why 4th button means z=1 and 5th z=-1 and not otherwise :) It seems to me a little bit alogic. Yuri --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/a