MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / IsNavInputDown

Function IsNavInputDown

examples/ThirdPartyLibs/imgui/imgui.cpp:2842–2845  ·  view source on GitHub ↗

Equivalent of IsKeyDown() for NavInputs[]

Source from the content-addressed store, hash-verified

2840
2841// Equivalent of IsKeyDown() for NavInputs[]
2842static bool IsNavInputDown(ImGuiNavInput n)
2843{
2844 return GImGui->IO.NavInputs[n] > 0.0f;
2845}
2846
2847// Equivalent of IsKeyPressed() for NavInputs[]
2848static bool IsNavInputPressed(ImGuiNavInput n, ImGuiInputReadMode mode)

Callers 4

GetNavInputAmount2dMethod · 0.85
NavUpdateWindowingMethod · 0.85
NavUpdateMethod · 0.85
SliderBehaviorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected