fix: use two numbers to send current time

develop
ChocoSwi 2022-12-01 16:08:37 +09:00
parent cbab70c84e
commit 5f37f51b51
1 changed files with 6 additions and 2 deletions

View File

@ -11,9 +11,13 @@ namespace SkyHook
public struct SkyHookEvent public struct SkyHookEvent
{ {
/// <summary> /// <summary>
/// When the key's state was updated. /// When the key's state was updated(sec).
/// </summary> /// </summary>
public readonly ulong Time; public readonly ulong TimeSec;
/// <summary>
/// When the key's state was updated(nsec).
/// </summary>
public readonly uint TimeNsec;
/// <summary> /// <summary>
/// Whether the key is pressed or released. /// Whether the key is pressed or released.
/// </summary> /// </summary>