Open chrisspiegl opened 3 years ago
This may be mostly a feature request.
I like how this library does the keyboard capturing but I do not need the part of it that does the mouse tracking.
Expectation would be to either have options or dedicated start functions for different modes.
start
ioHook.start() starts listening for just about everything.
ioHook.start()
Implementation of something like:
ioHook.start({ keyboardEvents: true, mouseEvents: false, })
My assumption is that this would use less CPU power.
I am aware that I can selectively listen for events but I assume that the capturing and firing of the unnecessary events could be reduced.
Thank you for your consideration 🌸
Will definitely add this once I get to features.
Expected Behavior
This may be mostly a feature request.
I like how this library does the keyboard capturing but I do not need the part of it that does the mouse tracking.
Expectation would be to either have options or dedicated
start
functions for different modes.Current Behavior
ioHook.start()
starts listening for just about everything.Possible Solution
Implementation of something like:
My assumption is that this would use less CPU power.
I am aware that I can selectively listen for events but I assume that the capturing and firing of the unnecessary events could be reduced.
Thank you for your consideration 🌸