using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace SkyHook
{
[StructLayout(LayoutKind.Sequential)]
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
public struct SkyHookEvent
{
///
/// When the key was pressed
///
public readonly ulong Time;
///
/// The key is pressed or released
///
public readonly EventType Type;
///
/// The key number that was pressed or released
///
public readonly uint Key;
}
public enum EventType
{
KeyPressed,
KeyReleased
}
}