Open mreinstein opened 9 years ago
I'm wondering if there's a way to do something like
listener.captureNextCombo(function(combo){ console.log ('captured combo:', combo); });
which would print something like:
captured combo: cmd-s
the use case is building the key binding system for a game and capturing the key sequence to bind to that action.
There isn't currently any way to do that with Keypress. Sorry :(
I'm wondering if there's a way to do something like
which would print something like: