public BaseMouseHook(IActiveApplicationMonitor activeApplicationMonitor, TimeSpan movingStoppedInterval) { MovingStoppedInterval = movingStoppedInterval; ActiveApplicationMonitor = activeApplicationMonitor; CurrentMouseX = 0; CurrentMouseY = 0; PreviousMouseX = 0; PreviousMouseY = 0; LastClickX = 0; LastClickY = 0; MotionStartX = 0; MotionStartY = 0; }
public WindowsKeyboardHook(IActiveApplicationMonitor activeApplicationMonitor) : base(activeApplicationMonitor) { _hKeyboardHook = IntPtr.Zero; _keyboardHookProcedure = null; }
public BaseKeyboardHook(IActiveApplicationMonitor activeApplicationMonitor) { ActiveApplicationMonitor = activeApplicationMonitor; InterceptKeys = new SynchronizedList <Key>(); }
public WindowsMouseHook(IActiveApplicationMonitor activeApplicationMonitor, TimeSpan movingStoppedInterval) : base(activeApplicationMonitor, movingStoppedInterval) { _hMouseHook = IntPtr.Zero; }
public WindowsMouseHook(IActiveApplicationMonitor activeApplicationMonitor) : this(activeApplicationMonitor, DefaultMovingStoppedInterval) { }