This repository has been archived on 2023-05-28. You can view files and clone it, but cannot push or open issues/pull-requests.
SkyHook-Unity/Runtime/Event.cs

18 lines
269 B
C#

using System.Runtime.InteropServices;
namespace SkyHook
{
[StructLayout(LayoutKind.Sequential)]
public struct SkyHookEvent
{
public ulong Time;
public short Type;
public uint Key;
}
public enum EventType
{
KeyPressed,
KeyReleased
}
}