May-11-2018, 05:44 PM
It's just as you describe it. Read the input with pyinput and send the raw data to the slaves. They get it and pass it to pyautogui methods which are doing the movement of the mouse and generate the keystrokes. You can serialize the data as json for example. simplejson or ujason are faster libraries in lots of the cases.