mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

Feature Request: Allow binding with wildcats, ascii or unicode ranges.

Open vakarelov opened this issue 6 years ago • 1 comments

It will be great if a callback can be bound to a whole range of characters. I use mousetrap to translate key input to an internal event system, so in many cases the key is processed down the line. This also will allow better support for international keyboards. Currently, I generate an array of aschii characters for binding, if I do that for an arbitrary international key input, this will lead to an unnecessarily large table.

vakarelov avatar Jan 24 '18 20:01 vakarelov

This is a very good feature suggestion

adarshmadrecha avatar Feb 10 '18 19:02 adarshmadrecha