Hay, I'm wondering what peoples thoughts are solving my problem.
I want to develop a system that records a series of button presses.
These act like a "combo" on many platform games.
Say i press the keys L,O,P very quickly, that would preform a certain action.
These 'combos' are going to be stored in an array like int[LKEYCODE, OKEYCODE, PKEYCODE].
However I want to these to only match if the time between each key press is < 0.5 seconds.
How would one go about creating something like this?