I tried it like that:
Code: Select all
if(event.sysKeys & CEGUI::Shift) {
// do sth. because shift was down when the mouse event was fired
}
but it does not work (the if statement is always true). The debugger tells me that the value of sysKeys is
Code: Select all
sysKeys 3435973836 unsigned int
when no button/key is pressed.
Any idea?