mirror of
https://gitee.com/openharmony/accessibility
synced 2024-11-23 15:01:17 +00:00
!1416 多模输入报点数据缓存,无障碍修改mock
Merge pull request !1416 from qianchuang/master
This commit is contained in:
commit
58b802bc4b
@ -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);
|
||||
|
@ -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_;
|
||||
|
@ -176,6 +176,11 @@ void PointerEvent::SetSourceType(int32_t sourceType)
|
||||
sourceType_ = sourceType;
|
||||
}
|
||||
|
||||
std::string PointerEvent::ToString()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
int32_t PointerEvent::GetPointerAction() const
|
||||
{
|
||||
return pointerAction_;
|
||||
|
Loading…
Reference in New Issue
Block a user