!1416 多模输入报点数据缓存,无障碍修改mock

Merge pull request !1416 from qianchuang/master
This commit is contained in:
openharmony_ci 2024-09-18 04:37:58 +00:00 committed by Gitee
commit 58b802bc4b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 15 additions and 0 deletions

View File

@ -47,6 +47,11 @@ InputEvent::~InputEvent()
void InputEvent::Reset()
{}
std::string InputEvent::ToString()
{
return "";
}
std::shared_ptr<InputEvent> InputEvent::Create()
{
return std::make_shared<InputEvent>(InputEvent::EVENT_TYPE_BASE);

View File

@ -119,6 +119,11 @@ void KeyEvent::AddKeyItem(const KeyItem& keyItem)
keys_.push_back(keyItem);
}
std::string KeyEvent::ToString()
{
return "";
}
int32_t KeyEvent::GetKeyCode() const
{
return keyCode_;

View File

@ -176,6 +176,11 @@ void PointerEvent::SetSourceType(int32_t sourceType)
sourceType_ = sourceType;
}
std::string PointerEvent::ToString()
{
return "";
}
int32_t PointerEvent::GetPointerAction() const
{
return pointerAction_;