mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2025-03-06 22:19:31 +00:00
modify debug code
Signed-off-by: zhaolinglan <zhaolinglan@huawei.com>
This commit is contained in:
parent
8bcb463a78
commit
c068b9a92d
@ -54,7 +54,11 @@ private:
|
||||
void InputEventCallback::OnInputEvent(std::shared_ptr<MMI::KeyEvent> keyEvent) const
|
||||
{
|
||||
IMSA_HILOGI("InputEventCallback::OnInputEvent");
|
||||
IMSA_HILOGI("KeyCode: %{public}d, KeyAction: %{public}d", keyEvent->GetKeyCode(), keyEvent->GetKeyAction());
|
||||
auto pressKeys = keyEvent->GetPressedKeys();
|
||||
for (const auto &key : pressKeys) {
|
||||
IMSA_HILOGI("pressedkey: %{public}d", key);
|
||||
}
|
||||
auto it = keyMap_.find(pressKeys);
|
||||
if (it == keyMap_.end()) {
|
||||
IMSA_HILOGD("keyEvent undefined");
|
||||
|
Loading…
x
Reference in New Issue
Block a user