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

Method getCommandModifiers

src/lib/deskflow/KeyMap.cpp:356–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356KeyModifierMask KeyMap::getCommandModifiers() const
357{
358 // we currently treat ctrl, alt, meta and super as command modifiers.
359 // some platforms may have a more limited set (OS X only needs Alt)
360 // but this works anyway.
361 return KeyModifierControl | KeyModifierAlt | KeyModifierAltGr | KeyModifierMeta | KeyModifierSuper;
362}
363
364void KeyMap::collectButtons(const ModifierToKeys &mods, ButtonToKeyMap &keys)
365{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected