From c572c95594f979b138bcb3c7eaa0efb2b676ce89 Mon Sep 17 00:00:00 2001 From: hwzhangchuang Date: Fri, 8 Dec 2023 22:33:20 +0800 Subject: [PATCH] add Signed-off-by: hwzhangchuang --- utils/include/dinput_utils_tool.h | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/include/dinput_utils_tool.h b/utils/include/dinput_utils_tool.h index 15ab0ad..8d0df4f 100644 --- a/utils/include/dinput_utils_tool.h +++ b/utils/include/dinput_utils_tool.h @@ -58,6 +58,7 @@ int OpenInputDeviceFdByPath(const std::string &devicePath); std::string ConvertErrNo(); void ScanInputDevicesPath(const std::string &dirName, std::vector &vecInputDevPath); +void WriteEventToDevice(const int fd, const input_event &event); /** * If we pressed the sink keyboard while mouse pass throuth from source to sink, we need reset the virtual keyboard * key states at the source side.