Quoting Sourath Roy:
>    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??

You are talking about the raw input events. Mice usually send relative
movements on both axis.

>    - Is there a way to get axisabs instead? Any settings?

Either you have a window which receives cursor movements or you have to
implement your own cursor like behaviour. Simply have two variables, one
for x and one for y. Add the relative coordinates to them and make sure
they stay within a certain limit.

>    - 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 a non-horizontal/vertical movement, yes.

-- 
Best regards,
  Denis Oliver Kropp
 
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to