-
Notifications
You must be signed in to change notification settings - Fork 6
Key Press API #4
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestflesh outIssue details are incomplete and need expanding uponIssue details are incomplete and need expanding upon
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestflesh outIssue details are incomplete and need expanding uponIssue details are incomplete and need expanding upon
One of the core fundamentals of this library is going to be the ability for developers to pick up on key presses and do something with that action. I haven't completely determined how I'd like this to work though!
Here are the different things I want to be able to track:
Each of these should have the ability to specify either one or multiple keys to listen for. For example I could say when key 1 is pressed down do something, or when both keys 1, 3, and 5 are all pressed at the same time do something else.
Key hold is an interesting one and I don't believe should be exclusive from other events (in that it will still call key up after the specified time) and should be called once as soon as the time has been reached.