mousetrap
mousetrap copied to clipboard
Feature Request: Allow binding with wildcats, ascii or unicode ranges.
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.
This is a very good feature suggestion