| 86 | } |
| 87 | |
| 88 | void QtKeypadBridge::kEvent(QString text, int key, bool repeat) { |
| 89 | quint32 keys = kKeyMap[key & ~Qt::KeypadModifier]; |
| 90 | if (!keys && text.length() == 1) { |
| 91 | keys = kTextMap[text[0]]; |
| 92 | } |
| 93 | sendKeys(keys >> 16, keys, repeat); |
| 94 | } |
| 95 | |
| 96 | void QtKeypadBridge::releaseAll() { |
| 97 | for (KeyCode code : pressed) { |
nothing calls this directly
no outgoing calls
no test coverage detected