How to simulate a touch event at a given x, y coordinate (OUYA-related usage)

I find the trackpad on the Ouya is not as easy as I would like it to be for the app I am developing, so I am trying to simulate a mouse using the left thumbstick, and would like to simulate a touch event when the O button is pressed/released.

I have the thumbstick cursor navigation working okay (not great, but without better Ouya integration, I am not sure how I can improve it).  However, I am unable to figure out a good way to send a touch event to the  non-physical displayobject at the cursor’s x/y position.

If anyone has any suggestions, I would appreciate hearing them!  I have scoured the documentation, but either my eyes are failing me (would not be surprised) or there’s no such thing.  Thanks!

Have you tried creating your own table (for simplicity let’s call this table “fakeEvent”), adding the necessary keys to this event (like fakeEvent.phase = “began”, fakeEvent.x = 100, fakeEvent.y = 200 etc…) and then calling the touch handler function with this table as a parameter - someting like “touchFunction(fakeEvent)” ?

If all works as expected this should call your touch handling function, and if the parameter passed contains the right values for the right keys you should be good to go.

Yes, but that would require creating mapped rectangles of x and y coordinates for each object that could be touched, which I am hoping to avoid.  May be the only option, though.

Have you tried creating your own table (for simplicity let’s call this table “fakeEvent”), adding the necessary keys to this event (like fakeEvent.phase = “began”, fakeEvent.x = 100, fakeEvent.y = 200 etc…) and then calling the touch handler function with this table as a parameter - someting like “touchFunction(fakeEvent)” ?

If all works as expected this should call your touch handling function, and if the parameter passed contains the right values for the right keys you should be good to go.

Yes, but that would require creating mapped rectangles of x and y coordinates for each object that could be touched, which I am hoping to avoid.  May be the only option, though.