mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-19 17:43:35 -04:00
Description:Anony deviceId
Match-id-ca8e8033607d56b3af0cb604329889f56ea6365d
This commit is contained in:
@@ -54,8 +54,8 @@ DistributedInputHandler::~DistributedInputHandler()
|
||||
|
||||
void DistributedInputHandler::StructTransJson(const InputDevice& pBuf, std::string& strDescriptor)
|
||||
{
|
||||
DHLOGI("[%s] %d, %d, %d, %d, %s.\n",
|
||||
(pBuf.name).c_str(), pBuf.bus, pBuf.vendor, pBuf.product, pBuf.version, (pBuf.descriptor).c_str());
|
||||
DHLOGI("[%s] %d, %d, %d, %d, %s.\n", (pBuf.name).c_str(), pBuf.bus, pBuf.vendor, pBuf.product, pBuf.version,
|
||||
GetAnonyString(pBuf.descriptor).c_str());
|
||||
nlohmann::json tmpJson;
|
||||
tmpJson["name"] = pBuf.name;
|
||||
tmpJson["location"] = pBuf.location;
|
||||
|
||||
Reference in New Issue
Block a user