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;
}
MouseEventArgs::sysKeys ... 0 ?
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: MouseEventArgs::sysKeys ... 0 ?
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.
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.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 9 guests