Input - Fixed NativeInputProvider preventing input in the WPF windows

This commit is contained in:
SpoinkyNL committed 2020-11-22 22:21:21 +01:00
1 parent 84918f2d5b
commit 6ee5cbd09c
1 file changed
+1 -1
@@ -25,7 +25,7 @@ namespace Artemis.UI.InputProviders
_sponge = new SpongeWindow();
_sponge.WndProcCalled += SpongeOnWndProcCalled;
RawInputDevice.RegisterDevice(HidUsageAndPage.Keyboard, RawInputDeviceFlags.ExInputSink | RawInputDeviceFlags.NoLegacy, _sponge.Handle);
RawInputDevice.RegisterDevice(HidUsageAndPage.Keyboard, RawInputDeviceFlags.InputSink, _sponge.Handle);
RawInputDevice.RegisterDevice(HidUsageAndPage.Mouse, RawInputDeviceFlags.InputSink, _sponge.Handle);
}