Skip to content

Remapping Coordinates From an Input Source

Valentin Simonov edited this page Nov 4, 2014 · 3 revisions

Every Input Source has a CoordinatesRemapper property which allows you to add an object implementing ICoordinatesRemapper interface to change touch positions before they go into the system.

A Coordinates Remapper must define one method: Vector2 Remap(Vector2 input), which remaps incoming coordinates to whatever you feel necessary.

This way you will be able to change coordinates on the fly if your input device and display device are not aligned properly. This happens from time to time when you work with projection walls and touch frames or foils.

You can’t perform that action at this time.