Call python functions via WebSocket

It’s holiday season and I have some spare time to continue Autopilot development.

As I was implementing the chain element for the vJoy Controller device I noticed that I need some sort of secret path to push data from the python modules to the Web UI. One use case is the configuration of the viewport. Currently you have four input fields and you have to guess the right coordinates. With the so-called web functions I can request the screen image and draw a nice rectangle to visualize the configured viewport as you change values.

I will look how useful or broken-by-design they are. Stay tuned.