io_clear()

From ENIGMA
Jump to navigation Jump to search

Description

Clears the state of all keyboard/mouse/joystrick input devices. Basically needed when you want to handle input events manually or one at a time (eg. a console or terminal like Command Prompt).

Parameters

Parameter Description
none There are no parameters for this function.

Return Values

void: This function does not return anything.

Example Call

// demonstrates clearing all input
io_clear();