MCPcopy Create free account
hub / github.com/deskflow/deskflow / getEffectiveGroup

Method getEffectiveGroup

src/lib/deskflow/KeyMap.cpp:320–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320int32_t KeyMap::getEffectiveGroup(int32_t group, int32_t offset) const
321{
322 return (group + offset + getNumGroups()) % getNumGroups();
323}
324
325const KeyMap::KeyItemList *
326KeyMap::findCompatibleKey(KeyID id, int32_t group, KeyModifierMask required, KeyModifierMask sensitive) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected