as the title says, I am looking for a way to catch all key presses to use them in a plugin I am currently working on.
I want to make a plugin that repeats a (user given) command a (also user given) amount of times. After pressing the shortcut for my plugin the user would enter a number and then another keybinding. My program would then catch all key presses, convert the digits to a number and call the command (associated with the keybinding).
Thanks in advance,