IsKeyDownID

EXPERIMENTAL HighLevel: Input Access functions w/ support for Key/Input Ownership Important: legacy IsKeyPressed(ImGuiKey, bool repeat=true) _DEFAULTS_ to repeat, new IsKeyPressed() requires _EXPLICIT_ ImGuiInputFlags_Repeat flag. Expected to be later promoted to public API, the prototypes are designed to replace existing ones (since owner_id can default to Any == 0) Specifying a value for 'ImGuiID owner' will test that EITHER the key is NOT owned (UNLESS locked), EITHER the key is owned by 'owner'. Legacy functions use ImGuiKeyOwner_Any meaning that they typically ignore ownership, unless a call to SetKeyOwner() explicitly used ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease. Binding generators may want to ignore those for now, or suffix them with Ex() until we decide if this gets moved into public API.

pure @nogc nothrow @trusted
bool
IsKeyDownID
(
ImGuiKey key
,
ImGuiID owner_id
)

Meta