Why not release a interface for this program?
CXTouch may match your requirement , supports Windows, Linux and MacOS
GUIscrcpy on https://github.com/srevinsaju/guiscrcpy, a GUI version for scrcpy is almost ready, with live interaction with screen (like home button, back button etc.)
Most helpful comment
GUIscrcpy on https://github.com/srevinsaju/guiscrcpy, a GUI version for scrcpy is almost ready, with live interaction with screen (like home button, back button etc.)