FLUSHKEYS

Top  Previous  Next

Syntax

FLUSHKEYS

Description

Flushes the DirectInput keyboard buffer and internal key buffer.

Parameters

None

Return value

None

Remarks

Use before calling WAITKEY  if you want to be sure no keys have been pressed before hand.

See Also: WAITKEY

Example usage

FLUSHKEYS
WAITKEY