Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Hello everyone. I have a simple question that's been keeping me stumped lately:
How is it possible to invalidate a keyread while the previous keyevent is still in effect?
Example of problem: Someone presses 'a' on the keyboard 7 times. In effect, this would mean that the key-handling event will be carried out 7 times in a row. If these key-handling events take a while, the program will be continuing these events for a long period of time. What I would like to do is to invalidate all keyreads until a keyhandling event is finished.
Thanks in advance.
0 · ·