3 ms·
Examples where key down is used as an input event? Basically anything that requires text input from OS-native text input fields to IDEs, word processors, sprea
by hnlmorg 26d ago
Examples where key down is used as an input event?
Basically anything that requires text input from OS-native text input fields to IDEs, word processors, spreadsheets, web browsers, terminal emulators and so on and so forth.
- chrismorgan 26d agoKey UP! (I confess I’m getting frustrated at the ridiculously large fraction of messages in this thread that have somehow completely misunderstood things.)
- hnlmorg 26d agoYour message was ambiguous to me. But I will admit that I was also quite hungover so it’s possible that the error was mine. In answer to your question: I’ve only really used keyup for either one time events (like keyboard shortcuts for UI elements) and for ending the status of repeated events (eg movement in games, dragging UI elements, etc). I think if you were to search for key up events in GitHub, most of references might likely be games and other visual interactions rather than text entry.