On Montag, 17. Oktober 2005 18:20, Sourath Roy wrote: > Hi, > I have a few questions.. > - About the value returned in variable axisrel (element of struct > DFBInputEvent) on GetEvent. For a mouse would this be change in position > with respect to the previous position? Or would it be relative to some > axis?? > > - Is there a way to get axisabs instead? Any settings? > > - If I understand properly then for a mouse move to know the "movement", we > have to wait for 2 consecutive input events(x y axis), first one would > identify movement in X and second one along the Y. correct?
For x/y abs vs. rel mouse movement(s) the source of df_input.c of DirectFB-examples/src is a good starting point. Please have a look at function show_mose_event(). -- Stefan Lucke _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
