Click or drag to resize

IInputSource Interface

An object which represents an input source.

Namespace:  TouchScript.InputSources
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public interface IInputSource : INTERNAL_IInputSource

The IInputSource type exposes the following members.

Properties
  NameDescription
Public propertyCoordinatesRemapper
Gets or sets current coordinates remapper.
Top
Methods
  NameDescription
Public methodCancelPointer
Cancels the pointer.
Public methodINTERNAL_DiscardPointer
Used by TouchManagerInstance to return a pointer to input source. DO NOT CALL IT DIRECTLY FROM YOUR CODE!
(Inherited from INTERNAL_IInputSource.)
Public methodUpdateInput
This method is called by ITouchManager to synchronously update the input.
Public methodUpdateResolution
Forces the input to update its state when resolution changes.
Top
Remarks

In TouchScript all pointer points (Pointer) come from input sources.

If you want to feed pointers to the library the best way to do it is to create a custom input source.

See Also