Clear the buffer
Get the sequence of actions within the time window (oldest first)
OptionalwindowMs: numberCheck if a specific sequence was input within the window
OptionalwindowMs: numberRecord an action press
Check if an action was pressed within the time window
OptionalwindowMs: number
Input buffer for fighting-game-style input with timing windows. Records recent action presses with timestamps for sequence detection.