| 354 | } |
| 355 | |
| 356 | KeyModifierMask 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 | |
| 364 | void KeyMap::collectButtons(const ModifierToKeys &mods, ButtonToKeyMap &keys) |
| 365 | { |
nothing calls this directly
no outgoing calls
no test coverage detected