io_clear

Clears all keyboard and mouse states.

Syntax:

io_clear();


Returns: N/A


Description

This function will clear the current keyboard and mouse states, requiring the relevant keys/buttons to be unpressed and repressed before they will trigger relevant events again.


Example:

io_clear();

This will clear all keyboard and mouse states.


Back: Keyboard Input
Next: keyboard_check
© Copyright YoYo Games Ltd. 2015 All Rights Reserved