Thanks for your reply, but im not sure if this is going to help me. It seems like the most i could get from that would be the value which IOHIKeyboard is presently supplying. The following message also says that it is essentially impossible to do what I want from the kernel.
http://lists.apple.com/archives/darwin-kernel/2005/Jul/msg00124.html

I really need to get it in to a NSDate. At the very least, do you (or anyone else) know what the reference time is which IOHIKeyboard is using? It doesnt seem to be 1970.

On Mar 25, 2008, at 4:13 AM, John C. Randolph wrote:


On Mar 25, 2008, at 1:23 AM, Matt Burnett wrote:
I have a KEXT which hooks in to IOHIKeyboard->_keyboardEventAction. How can i convert the AbsoluteTime (UnsignedWide) I receive to a NSDate? Thanks!

Try searching for "Using Mach Absolute Time Functions" in the Kernel programming guide.

-jcr


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to