Original Post
My current project just polls the keyboard and mouse for input, unbuffered, and I think this is giving me problems, or maybe there is a way around my problem, I'm not sure. See, when I hit a button, the keyboard is polled so fast that yes, the program can tell that the button has been hit, but it does so repeatedly, which is not exactly what I want. How do I make it so that I get what I want done, but not repeatedly, which is not what I want? Case in point, I have debug info being printed to the screen, if I press 'F1', it is supposed to go away (or I planned it that way), but instead it flickers on and off and on and off and on and off... Do I use buffered input? Or is there some method to use instead? Thanks!