public RawInput(IntPtr parentHandle, bool captureOnlyInForeground) { AssignHandle(parentHandle); //_keyboardDriver = new RawKeyboard(parentHandle, captureOnlyInForeground); //_keyboardDriver.EnumerateDevices(); _touchDriver = new RawTouch(parentHandle, captureOnlyInForeground, Win32.TouchDevice); //_touchDriver.EnumerateDevices(); // _devNotifyHandle = RegisterForDeviceNotifications(parentHandle); }