-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
This library is phenomenal. Thank you for creating it!
I would like to subscribe to keyboard presses so that the user can press a key on the keyboard at any time and we can respond in code (with or without a UI update).
I'm attempting to follow the same strategy that you use in handleInput() here:
| private func handleInput() { |
It would be nice if the library had this built-in ("I'd be willing to submit a PR.). It would be nice if there was a way for the library user to declare which key presses they would like to subscribe to and to give handlers for each subscription.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels