Getting access to the touch data

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MrFaul

Is there a way to get the MotionEvent.PointerCoords that Andriod provides for the touch (and similar) events?

This would really helpful for a game idea I have but it requires the ability to register fat touch events (like i.e. a palm swipe)

I don’t know if other platforms provide this information too, but I would be happy if we get at least a ellipse with size and rotation.

:bust_in_silhouette: Reply From: eons

I think there is no options for that, you can open an issue requesting this data to be added to InputEventScreenTouch and/or InputEventScreenDrag.

If you are opening an issue, try to be detailed and explain the usefulness of the feature and how you think it should work, so any contributor can pick it up and try to make it.

ps: Not sure if this “extension” can be added as a module too.

:bust_in_silhouette: Reply From: erpsoft

Touch data means Its a motion event. Its provide the android. Touch data is really helpful for accessing the data fast. pos system price in UAE