For making an assistive device, does iOS 13 enable control of a cursor using code? Curious if it's possible to control a cursor on an iPad, for example to allow someone who can't touch the screen to be able to generate movement commands some other way, and have those commands sent to the iPad to move and click the cursor.

I heard iOS 13 has AssistiveTouch and allows things like a Bluetooth mouse, which gets toward what I'm asking about.

As an example, it would be great to use Python to send messages to the iPad to move the cursor, or use Python to emulate a Bluetooth mouse essentially. Anyone know if this is possible?
You can use a Bluetooth mouse with iOS 13 by opening Settings > Accessibility > Switch Control > Switches, and then from there add the Bluetooth device. This allows you to control a cursor on screen.

You can also do on-screen navigation using other third party hardware in form of "ordinary" Switch Control equipment. In addition it is possible to use the camera to control navigation - moving your head to the left or to the right choosing diretion.

You can use Python on seperate hardware to emulate a Bluetooth mouse - this would make it possible to control the cursor from Python.

All the above have to do with system wide cursor control. There's also the option of developing your own app. If you do this, you can control the cursor within the app any way you like - this could for example be over the network controlled by Python. This is essentially the way that for example Citrix managed to have a controllable cursor on pre-iOS 13.