static KeyboardInputHook() { hookProc = new Win32.WindowHook.HookProc(KeyboardHook); hookProcPtr = Marshal.GetFunctionPointerForDelegate(hookProc); }
static MouseInputHook() { hookProc = new Win32.WindowHook.HookProc(MouseHook); hookProcPtr = Marshal.GetFunctionPointerForDelegate(hookProc); MouseInputPerformance = Performance.CreatePerformance("_MouseInput"); }