Inheritance
System.Object
Touchscreen
 
public class Touchscreen : Pointer, IInputStateCallbackReceiver
 
Properties
  
Array of currently active touches.
Declaration
public ReadOnlyArray<TouchControl> activeTouches { get; }
 
Property Value
Declaration
public ReadOnlyArray<TouchControl> allTouchControls { get; }
 
Property Value
The touchscreen that was added or updated last or null if there is no
touchscreen connected to the system.
Declaration
public static Touchscreen current { get; }
 
Property Value
Declaration
public TouchControl primaryTouch { get; }
 
Property Value
Methods
  
Declaration
protected override void FinishSetup(InputDeviceBuilder builder)
 
Parameters
Overrides
Declaration
public override void MakeCurrent()
 
Overrides
Declaration
protected override void OnRemoved()
 
Overrides
Explicit Interface Implementations
  
Declaration
void IInputStateCallbackReceiver.OnBeforeWriteNewState(void *oldStatePtr, void *newStatePtr)
 
Parameters
| Type | Name | Description | 
| System.Void* | oldStatePtr |  | 
| System.Void* | newStatePtr |  | 
Implements
Declaration
bool IInputStateCallbackReceiver.OnCarryStateForward(void *statePtr)
 
Parameters
| Type | Name | Description | 
| System.Void* | statePtr |  | 
Returns
| Type | Description | 
| System.Boolean |  | 
Implements
Declaration
bool IInputStateCallbackReceiver.OnReceiveStateWithDifferentFormat(void *statePtr, FourCC stateFormat, uint stateSize, ref uint offsetToStoreAt)
 
Parameters
| Type | Name | Description | 
| System.Void* | statePtr |  | 
| FourCC | stateFormat |  | 
| System.UInt32 | stateSize |  | 
| System.UInt32 | offsetToStoreAt |  | 
Returns
| Type | Description | 
| System.Boolean |  | 
Implements
Extension Methods