Version: v4.3.0
use-keys
#
AboutA hook which allows to setup callbacks when a combination of keys are pressed at the same time.
An important difference between useKey
and useKeys
is that useKey
checks if EITHER of the keys in the list is pressed, while useKeys
checks if ALL of the keys in the list are active.
#
Installation#
Importing the hook#
Usage#
Join Bhargav's discord serverYou can click on the floating discord icon at the bottom right of the screen and talk to us in our server.