jaywcjlove / hotkeys-js

➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
https://jaywcjlove.github.io/hotkeys-js
MIT License
6.57k stars 405 forks source link

The trigger method is missing the event object and needs to handle getPressedKeyCodes() in this case #481

Open banli17 opened 4 months ago

banli17 commented 4 months ago

The trigger method is missing the event object and needs to handle getPressedKeyCodes() in this case and isPressed() etc...