| 41 | } |
| 42 | |
| 43 | unsigned int KeyMap::Find(int key, int modifiers) const { |
| 44 | std::map<KeyModifiers, unsigned int>::const_iterator it = kmap.find(KeyModifiers(key, modifiers)); |
| 45 | return (it == kmap.end()) ? 0 : it->second; |
| 46 | } |
| 47 | |
| 48 | const std::map<KeyModifiers, unsigned int> &KeyMap::GetKeyMap() const { |
| 49 | return kmap; |
no test coverage detected