Table of Contents

Method TouchDown

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

TouchDown(int, int, int, int)

Usage: TouchDown -> TouchMove -> TouchUp.

MaaJob TouchDown(int contact, int x, int y, int pressure)

Parameters

contact int

The contact id.

x int

The horizontal coordinate of the point.

y int

The vertical coordinate of the point.

pressure int

The pressure.

Returns

MaaJob

A touch down MaaFramework.Binding.MaaJob.

Remarks

For adb controller, contact means finger id (0 for first finger, 1 for second finger, etc.).

For win32 controller, contact means mouse button id (0 for left, 1 for right, 2 for middle).