How do you programmatically trigger input touch event?

See this thread