From 6ee5cbd09c5a232db9795620e98e19600ddd258b Mon Sep 17 00:00:00 2001 From: SpoinkyNL Date: Sun, 22 Nov 2020 22:21:21 +0100 Subject: [PATCH] Input - Fixed NativeInputProvider preventing input in the WPF windows --- src/Artemis.UI/InputProviders/NativeWindowInputProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Artemis.UI/InputProviders/NativeWindowInputProvider.cs b/src/Artemis.UI/InputProviders/NativeWindowInputProvider.cs index 11412fe59..8d8c79264 100644 --- a/src/Artemis.UI/InputProviders/NativeWindowInputProvider.cs +++ b/src/Artemis.UI/InputProviders/NativeWindowInputProvider.cs @@ -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); }