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#
Raw Normal View History

2022-11-03 20:55:22 +09:00
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
}
}