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?
EventRecord event;
modifierKeyState = ((event.modifiers) >> 8) & 0xFF;
but how do I tie the event instance to what the actual modifier key state is?