use-key-hook
use-key-hook copied to clipboard
modifier keys
The case:
I need to handle Delete
key or key combination Command+Escape
, how do I configure that with detectKeys
?
@droganov I think that's a great feature recommendation, thanks for raising it here. The multiple keypress feature is not yet in the library, I will start on this and update you once this library has got the feature. Thanks
I wrote a similar lib that supports this: https://github.com/bobinrinder/react-keyboard-input-hook