Apologies if this is discussed already somewhere…
I’m looking for programmatic (macro/plugin/command context, whatever) access to the previous key pressed. Specifically, what I mean is that I would like to bind a key to a function that can tell what key triggered the function to be called, as well as which key was pressed previously.
For example, I would like to run some code when the key is pressed, and then if it’s pressed again immediately after, run different code.
Thanks