jaywcjlove / hotkeys-js

➷ A robust Javascript library for capturing keyboard input. It has no dependencies.

Home Page:https://jaywcjlove.github.io/hotkeys-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can Supported Keys be customized?

kiwiflydream opened this issue · comments

commented

The official documentation describes it as follows:

The following special keys can be used for shortcuts: backspace, tab, clear, enter, return, esc, escape, space, up, down, left, right, home, end, pageup, pagedown, del, delete, f1 through f19, num_0 through num_9, num_multiply, num_add, num_enter, num_subtract, num_decimal, num_divide.

However, in use, these are far from sufficient, for example, <, @, /, etc. are often used. Can we come up with a configuration where we can specify the supported keys.

Thank you!🫡