You could just ask the user to do it manually once (and record and remember and replay that touch event). Basically just read the touchscreen input event between faking the USB connect and unplug (assuming the user will tap connect when nothing happens) and write it back to it next time.
|