What I want to do:
An AI program on a host machine, reading inputs from a camera sensing the screen of the target machine and outputting controls to the target machine via USB connection--programming the host machine's USB host as a USB peripheral connected to the target machine.
What I want to do step by step: (is it possible to implement the steps below?)
- Have a host machine A and a target machine B.
- Connect A and B with a USB 3.0 Type-A male-male cable.
- The USB connection shows up as an HID keyboard device on B.
- Write code to simulate key presses on A that sends to B.
(Eg. callingpress('F')
on a program running on A would typeF
to B's input) - It shouldn't require any program installed on B.
What I already searched:
USB 3.0 Host to host connection is possible: https://superuser.com/questions/795053/how-do-i-connect-two-computers-using-usb-3-0
USB 2.0 Host to host connection is impossible: https://superuser.com/questions/99274/how-to-connect-two-computers-with-usb
Similar questions asked without the assumption that USB 3.0 Host to Host connection is possible: