| 1002 | } |
| 1003 | |
| 1004 | int32_t KeyMap::getNumModifiers(KeyModifierMask state) |
| 1005 | { |
| 1006 | int32_t n = 0; |
| 1007 | for (; state != 0; state >>= 1) { |
| 1008 | if ((state & 1) != 0) { |
| 1009 | ++n; |
| 1010 | } |
| 1011 | } |
| 1012 | return n; |
| 1013 | } |
| 1014 | |
| 1015 | bool KeyMap::isDeadKey(KeyID key) |
| 1016 | { |
nothing calls this directly
no outgoing calls
no test coverage detected