Hello, I only need to capture mouse button inputs. All events are captured and dispatched when using the following :
WindowsInput.Capture.Global.MouseAsync(true);
The issue I have with mouse move events being captured is that it triggers a ton of events and a lot of memory allocations.
Example after a few seconds of moving the mouse :

The 2 spikes are memory allocations due to moving the mouse, after I stop moving the mouse.
Stack trace of relevant memory allocations (over a few seconds) :

I believe it would be nice to have a way to disable the capture of mouse move events as it adds a ton of overhead.
Hello, I only need to capture mouse button inputs. All events are captured and dispatched when using the following :
WindowsInput.Capture.Global.MouseAsync(true);The issue I have with mouse move events being captured is that it triggers a ton of events and a lot of memory allocations.
Example after a few seconds of moving the mouse :

The 2 spikes are memory allocations due to moving the mouse, after I stop moving the mouse.
Stack trace of relevant memory allocations (over a few seconds) :

I believe it would be nice to have a way to disable the capture of mouse move events as it adds a ton of overhead.