fix: use two numbers to send current time
parent
cbab70c84e
commit
5f37f51b51
|
@ -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>
|
||||||
|
|
Reference in New Issue