InputSingleton.isKeyPressed

Returns true if you are pressing the key. You can pass KEY_*, which are pre-defined constants listed in @GlobalScope.

struct InputSingleton
@nogc nothrow const
bool
isKeyPressed
(
in long scancode
)

Meta