MouseEventArgs::sysKeys
Posted: Thu Oct 14, 2004 15:20
Maybe (Probably) the mistake is on my side (again), but I cannot get any meaningful information from this bit mask.
I tried it like that:
but it does not work (the if statement is always true). The debugger tells me that the value of sysKeys is
when no button/key is pressed.
Any idea?
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?