1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Input - Fixed NativeInputProvider preventing input in the WPF windows

This commit is contained in:
SpoinkyNL 2020-11-22 22:21:21 +01:00
parent 84918f2d5b
commit 6ee5cbd09c

View File

@ -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);
}