Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MACaveli7

macrumors newbie
Original poster
Oct 15, 2010
23
0
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?
 
I've acquired it through the WaitNextEvent function. It was right there in the same header file.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.