mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

Customizable sequence timeout

Open DmitryShashkov opened this issue 4 years ago • 0 comments

Hi!

First of all, let me thank you for creating such a great lib! Keep up the good work!

Now, to my request. When registering sequences, Mousetrap gives user 1 second of time to press the next button, and this value is hardcoded. What I propose, is to make this setting customizable. So that you cound write in your code:

Mousetrap.resetSequenceTimeout = 2000;

Currently I need such an option in my project, and I believe it would be helpful for many other people as well.

DmitryShashkov avatar Feb 04 '20 14:02 DmitryShashkov