![]() This will let you track which keys are pressed and which are not. You will need to set up a mini state machine, and bind to both key press and key release events. While pressed, if I press "o" I get a stream of presses and releases for "o" but no more events for "w". For example, on the mac I'm using at the moment if I press and hold "w" I'll get a stream of press and release events. Unfortunately, you are somewhat at the mercy of the underlying auto-repeat mechanism of your system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |