18 lines
269 B
C#
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
|
||
|
}
|
||
|
}
|