Function InputEventKey.pressed

If true, the key's state is pressed. If false, the key's state is released.

bool pressed() nothrow @property @nogc;

void pressed (
  bool v
) nothrow @property @nogc;