Page 1 of 1

MouseEventArgs::sysKeys ... 0 ?

Posted: Sun May 16, 2010 04:53
by agamemnus
Inside a mouse clicked event handler, when I get the syskeys value, it is 0 -- even though the only way I got to the handler function was via an event click...:

u32 DLL_EXPORT CEGUIeventGetSysKeys (u32 *eventPtr) {
return ((CEGUI::MouseEventArgs*)eventPtr)->sysKeys;
}

Re: MouseEventArgs::sysKeys ... 0 ?

Posted: Sun May 16, 2010 07:39
by CrazyEddie
I fail to see the issue here.

A 'click' is a down-up sequence. If you were expecting to see the flag set for the mouse button this is a false expectation.

CE.