mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-20 21:41:02 -04:00
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user