DarkBASIC Professional Help File

DX11 IS KEY RELEASED

Returns whether the given key was just released.
Keys correspond to the DIK_XXX constants available in the DX11Defines.dba include file.

Syntax

    Return Boolean = DX11 IS KEY RELEASED(key)

Parameters

    key

> Integer
> The key identifier to check the state of (see the DIK_XXX constants for valid values).

Returns

The state of the key; true if it was just released or false if it is either held down or it is not, but have not yet been pressed since the last call to this function.

See also

INPUT Functions Menu
DX11 Function Categories