Vixen
02b45cc4
csharp
public enum TouchControl

A 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)

  • None

    No control.

  • Press

    Whether the finger is down. Reads as its pressure where the screen reports one.

  • DeltaX

    Horizontal motion this frame, in logical points.

  • DeltaY

    Vertical motion this frame, in logical points.

  • PositionX

    The finger's horizontal position within the window, in logical points.

  • PositionY

    The 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