CGEventRef with function key
CGEventRef with function key
- Subject: CGEventRef with function key
- From: Joe Turner <email@hidden>
- Date: Thu, 21 Jul 2011 16:22:07 -0500
Hey,
So I've been having some issues with posting a CGEvent with a function key as a modifier (or flag). If I call CGEventSetFlags(eventDown, kCGEventFlagMaskSecondaryFn), and then post the event, all I get is the keyCode posting (as in maybe the left arrow is pressed), but the function key is not virtually pressed. As far as I can tell kCGEventFlagMaskSecondaryFn is for the function key modifier, so I'm not sure why this isn't working. Any help would be appreciated!
Thanks,
Joe Turner
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden