clearKeyboardBuffer

Removes all keys that have been pressed but that have not yet been processed by the application.

Usage

    clearKeyboardBuffer();