Esempio n. 1
0
        public RawMouseInput(IntPtr parentHandle, bool captureOnlyInForeground)
        {
            AssignHandle(parentHandle);

            _mouseDriver = new RawMouse(parentHandle, captureOnlyInForeground);
            _mouseDriver.EnumerateDevices();
            _devNotifyHandle = RegisterForDeviceNotifications(parentHandle);
        }