IInputSource Interface |
Namespace: TouchScript.InputSources
public interface IInputSource : INTERNAL_IInputSource
The IInputSource type exposes the following members.
Name | Description | |
---|---|---|
![]() | CoordinatesRemapper |
Gets or sets current coordinates remapper.
|
Name | Description | |
---|---|---|
![]() | CancelPointer |
Cancels the pointer.
|
![]() | INTERNAL_DiscardPointer |
Used by TouchManagerInstance to return a pointer to input source.
DO NOT CALL IT DIRECTLY FROM YOUR CODE!
(Inherited from INTERNAL_IInputSource.) |
![]() | UpdateInput |
This method is called by ITouchManager to synchronously update the input.
|
![]() | UpdateResolution |
Forces the input to update its state when resolution changes.
|
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.