From a2b865aa5aca833060b3cd0b126e3667ba8dcb5f Mon Sep 17 00:00:00 2001 From: chen0088 Date: Thu, 30 Nov 2023 20:58:24 +0800 Subject: [PATCH] add plugin subtype Signed-off-by: chen0088 --- inputdevicehandler/src/distributed_input_handler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inputdevicehandler/src/distributed_input_handler.cpp b/inputdevicehandler/src/distributed_input_handler.cpp index 6972463..ab3da20 100644 --- a/inputdevicehandler/src/distributed_input_handler.cpp +++ b/inputdevicehandler/src/distributed_input_handler.cpp @@ -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: