csharp
public sealed class TouchDeviceA touchscreen, as up to ten fingers.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public const int MaximumTouchesHow many fingers are tracked, matching TouchTracker.MaximumTouches.
public InputDeviceKind KindWhich family it belongs to.
public int DeviceIdThe id its events arrive under, or 0 for the singleton devices.
public string NameIts name, for a settings screen.
public bool IsConnectedWhether it is still there.
public int ActiveTouchesHow many fingers are down.
Methods (2)
public bool TryGetPosition(int finger, out Vector2? position)Where a finger is, if it is down.
public float ReadValue(InputControl control)Reads one of its controls.
Used by (2)
- InputDeviceSetVixen.Input
- PlatformInputTestsVixen.App.Tests