This question was moved to the Windows section, but I think there was a misunderstanding as I'm making a C++ program using Dev-C++.
I'd like to be able to tell when the user has held down the key for double or triple the time of a normal keypress. For instance, tapping 'T' causes the gun to fire single shots, but holding 'T' down will cause a more powerful shot to occur after 1 second or half a second of holding down 'T'.
Thank you for your help.