View Full Version : Modifier key state

Oct 25, 2010, 07:44 AM
Can anyone tell me how to get the modifier key state for the UCKeyTranslate function, I know I have to do the following with it.

EventRecord event;

modifierKeyState = ((event.modifiers) >> 8) & 0xFF;

but how do I tie the event instance to what the actual modifier key state is?

Oct 25, 2010, 08:15 AM
I've acquired it through the WaitNextEvent function. It was right there in the same header file.