MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / SetShortcutRouting

Method SetShortcutRouting

CPPScripts/External/ImGui/imgui.cpp:9066–9147  ·  view source on GitHub ↗

Request a desired route for an input chord (key + mods). Return true if the route is available this frame. - Routes and key ownership are attributed at the beginning of next frame based on best score and mod state. (Conceptually this does a "Submit for next frame" + "Test for current frame". As such, it could be called TrySetXXX or SubmitXXX, or the Submit and Test operations should be separate.)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

ImIsPowerOfTwoFunction · 0.85
CalcRoutingScoreFunction · 0.85

Tested by

no test coverage detected