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:
parent
84918f2d5b
commit
6ee5cbd09c
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user