Method TouchDown
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
TouchDown(int, int, int, int)
Usage: TouchDown -> TouchMove -> TouchUp.
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).
public MaaJob TouchDown(int contact, int x, int y, int pressure)Parameters
contactint-
The contact id.
xint-
The horizontal coordinate of the point.
yint-
The vertical coordinate of the point.
pressureint-
The pressure.
Returns
- MaaJob
-
A touch down MaaFramework.Binding.MaaJob.
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaControllerPostTouchDown(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32).