FlushMouse

This function clears the state of all mouse buttons. The button state will not change again until the user presses a button. You can use this to clear previous button presses when switching to a game menu or after a long loading sequence.

Syntax