| 994 | } |
| 995 | |
| 996 | KeyButton KeyState::getButton(KeyID id, int32_t group) const |
| 997 | { |
| 998 | const deskflow::KeyMap::KeyItemList *items = m_keyMap.findCompatibleKey(id, group, 0, 0); |
| 999 | if (items == nullptr) { |
| 1000 | return 0; |
| 1001 | } else { |
| 1002 | return items->back().m_button; |
| 1003 | } |
| 1004 | } |
| 1005 | |
| 1006 | void KeyState::addAliasEntries() |
| 1007 | { |
nothing calls this directly
no test coverage detected