/* * @author Valentin Simonov / http://va.lent.in/ */ using UnityEngine; namespace TouchScript.InputSources { /// /// An object which changes pointer coordinates coming from an input source. /// /// /// If your input device is not fully aligned with display device you can use a remapper to carefully retarget pointer positions to "calibrate" input with image. /// public interface ICoordinatesRemapper { /// /// Remaps pointer input. /// /// Original coordinates. /// Changed coordinates. Vector2 Remap(Vector2 input); } }