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.