add plugin subtype

Signed-off-by: chen0088 <chenmenghuan6@huawei.com>
This commit is contained in:
chen0088
2023-11-30 20:58:24 +08:00
parent e05ec0fb71
commit a2b865aa5a
@@ -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: