KeyboardReleased()

Syntax

Result = KeyboardReleased(KeyID)

Description

Returns 1 if the specified key has been pushed and released, else it returns 0. This command is very useful for switch key check, like a 'Pause' key in a game (one time the game is paused, next time it will continue). The command ExamineKeyboard() must be called before this command to update the keyboard state. For a full list of KeyID values, look at KeyboardPushed().

Supported OS

Windows, AmigaOS, Linux

Keyboard - Index