fix automatic input

Signed-off-by: liqiao49 <liqiao49@huawei.com>
This commit is contained in:
liqiao49
2023-07-22 19:02:02 +08:00
parent 053fd46bd8
commit e56062b497
26 changed files with 685 additions and 0 deletions
@@ -185,11 +185,26 @@ void VirtualDevice::SetNetWorkId(const std::string netWorkId)
netWorkId_ = netWorkId;
}
void SetPath(const std::string path)
{
path_ = path;
}
std::string VirtualDevice::GetNetWorkId()
{
return netWorkId_;
}
std::string GetPath()
{
return path_;
}
uint16_t GetClasses()
{
return classes_;
}
void VirtualDevice::RecordEventLog(const input_event& event)
{
std::string eventType = "";