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 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 ;)
But can someone point me to DirectFB or PicoGUI or GTK+ where 4th button has 1 as a direction and 5th has -1 direction? 4 < 5, afair :)
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.
------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
