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?
Mouse Args Missing Delta
Moderators: CEGUI MVP, CEGUI Team
-
- Quite a regular
- Posts: 74
- Joined: Mon Apr 28, 2008 23:21
- Location: Australia
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 7 guests