Re: AbsoluteTime & IOHIKeyboard's _keyboardEventAction
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Mar 25, 2008, at 11:35 AM, Matt Burnett wrote: Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... AbsoluteTime is CPU specific. You have to use the mach clock_* functions to convert the interval to nano seconds. The epoch for the converted value will be the standard UNIX epoch (1970/1/1 00:00:00). I have a KEXT which hooks in to IOHIKeyboard's _keyboardEventAction. One of the variables it provides me is time of the event in the form of AbsoluteTime. What date or event (power on?) is this value counting up from? Thanks. This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand