csharp
public enum TouchControlA control on a touchscreen.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Every one of these is about one finger, and which finger is Index. A binding that does not say means finger zero, which is what a single-touch control — a fire button, a virtual stick — wants.
Fields and properties (6)
NoneNo control.
PressWhether the finger is down. Reads as its pressure where the screen reports one.
DeltaXHorizontal motion this frame, in logical points.
DeltaYVertical motion this frame, in logical points.
PositionXThe finger's horizontal position within the window, in logical points.
PositionYThe finger's vertical position within the window, in logical points.
Used by (5)
- InputControlVixen.Input
- InputControlPathVixen.Input
- InputControlPathTestsVixen.Input.Tests
- TouchDeviceVixen.Input
- PlatformInputTestsVixen.App.Tests