mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Input - Fixed NativeInputProvider preventing input in the WPF windows
This commit is contained in:
1 parent
84918f2d5b
commit
6ee5cbd09c
1 file changed
+1
-1
@@ -25,7 +25,7 @@ namespace Artemis.UI.InputProviders
|
|||||||
_sponge = new SpongeWindow();
|
_sponge = new SpongeWindow();
|
||||||
_sponge.WndProcCalled += SpongeOnWndProcCalled;
|
_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);
|
RawInputDevice.RegisterDevice(HidUsageAndPage.Mouse, RawInputDeviceFlags.InputSink, _sponge.Handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user