• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Convert kernel AbsoluteTime to a NSDate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert kernel AbsoluteTime to a NSDate


  • Subject: Re: Convert kernel AbsoluteTime to a NSDate
  • From: Matt Burnett <email@hidden>
  • Date: Tue, 25 Mar 2008 04:32:20 -0500

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@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


  • Follow-Ups:
    • Re: Convert kernel AbsoluteTime to a NSDate
      • From: David Duncan <email@hidden>
    • Re: Convert kernel AbsoluteTime to a NSDate
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Convert kernel AbsoluteTime to a NSDate (From: Matt Burnett <email@hidden>)
 >Re: Convert kernel AbsoluteTime to a NSDate (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: CoreAudio / AudioUnit
  • Next by Date: Re: Convert kernel AbsoluteTime to a NSDate
  • Previous by thread: Re: Convert kernel AbsoluteTime to a NSDate
  • Next by thread: Re: Convert kernel AbsoluteTime to a NSDate
  • Index(es):
    • Date
    • Thread