MCPcopy Create free account
hub / github.com/bluescan/tacentview / FindModKey

Method FindModKey

Src/InputBindings.cpp:428–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426
427
428bool Bindings::InputMap::FindModKey(int& key, uint32& mods, Operation op)
429{
430 for (int k = 0; k <= GLFW_KEY_LAST; k++)
431 {
432 uint32 m;
433 if (KeyTable[k].FindOperationMods(m, op))
434 {
435 key = k;
436 mods = m;
437 return true;
438 }
439 }
440
441 return false;
442}
443
444
445void Bindings::InputMap::Read(tExpression expr)

Callers

nothing calls this directly

Calls 1

FindOperationModsMethod · 0.80

Tested by

no test coverage detected