iohook
iohook copied to clipboard
Is there a possibility to interrupt a keydown event?
In my project, I want to cancel the event on specific key presses. So that if the user presses "x" for example, it would not write that "x" to the console.
I was wondering if there is a possibility to catch these events and cancel them so that the character is not written to the console.
Or does anyone know how that could work in any other way?