https://github.com/kwhat/libuiohook/pull/113/files
Libuiohook has added an option to use unix timestamp instead of mach_absolute_time (https://developer.apple.com/documentation/kernel/1462446-mach_absolute_time) for event.time
I think it would be useful to switch to use it.