soffes / HotKey

Simple global shortcuts in macOS
MIT License
921 stars 82 forks source link

How might I make the user press the shortcut twice before running the keyDownHandler? #38

Open ScottBauer411 opened 1 year ago

ScottBauer411 commented 1 year ago

I want the make the user press the shortcut (i.e. command + t) twice (instead of just pressing it only once) before running the code in the keyDownHandler.

How might I go about setting something like this up using hotkey?