mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-19 17:43:35 -04:00
@@ -226,7 +226,8 @@ void DistributedInputHandler::NotifyHardWare(int iCnt)
|
||||
if (this->m_listener != nullptr) {
|
||||
std::string hdInfo;
|
||||
StructTransJson(mEventBuffer[iCnt].deviceInfo, hdInfo);
|
||||
this->m_listener->PluginHardware(mEventBuffer[iCnt].deviceInfo.descriptor, hdInfo);
|
||||
std::string subtype = "input";
|
||||
this->m_listener->PluginHardware(mEventBuffer[iCnt].deviceInfo.descriptor, hdInfo, subtype);
|
||||
}
|
||||
break;
|
||||
case DeviceType::DEVICE_REMOVED:
|
||||
|
||||
Reference in New Issue
Block a user