Page 1 of 1

Mouse Args Missing Delta

Posted: Fri May 16, 2008 02:21
by earthsruler
Alright i have noticed that if you are using injectMouseMove() with cegui your MouseEventArgs have a valid absolute and delta positions, however if you use injectMousePosition() it sets the position and then itself calls injectMouseMove(0, 0). This results in the MouseEventArgs for mouse move events not having a valid delta. It is infact 0 for X and Y.

I found this behavior strange and was curious why this design was chosen as it seem to make the mouse delta argument completely redundant purely based on your chosen way of injecting input.

Is there something Im missing?

Posted: Mon May 19, 2008 08:34
by CrazyEddie
Hi,

You are of course correct; this should be considered a bug.

I'll add it to mantis so it's not lost :)

CE.