MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isKeyAlreadyInCombination

Function isKeyAlreadyInCombination

src/Core/Input/InputManager.cpp:339–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 }
338
339 bool isKeyAlreadyInCombination(InputCombination& combination, InputButton* button)
340 {
341 for (auto& [monitoredButton, _] : combination)
342 {
343 if (monitoredButton == button)
344 {
345 return true;
346 }
347 }
348 return false;
349 }
350 InputCombination InputManager::makeCombination(const std::string& code)
351 {
352 InputCombination combination;

Callers 1

makeCombinationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected