mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-21 05:45:23 -04:00
!112 fix:add plugin subtype input
Merge pull request !112 from chen0088/master
This commit is contained in:
@@ -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