MouseEventArgs::sysKeys ... 0 ?

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

agamemnus
Just can't stay away
Just can't stay away
Posts: 185
Joined: Sun Mar 14, 2010 04:21

MouseEventArgs::sysKeys ... 0 ?

Postby agamemnus » Sun May 16, 2010 04:53

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;
}

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: MouseEventArgs::sysKeys ... 0 ?

Postby CrazyEddie » Sun May 16, 2010 07:39

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.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 18 guests