device_two_finger_tap
Two-finger tap at (x,y) on an Android device — zooms OUT one step in Maps and is the accessibility/secondary gesture in several apps. Both fingers land either side of the point and lift without moving. Coordinates are PHYSICAL pixels.Pass input="hid" to require the virtual touchscreen: the gesture then reaches the app as real kernel input and fails loudly instead of silently falling back to injected input. That strict path used to be device_uhid_two_finger_tap, which stays callable under its old name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Tap centre X | |
| y | Yes | Tap centre Y | |
| gap | No | Pixels between the two contacts (default: 120) | |
| udid | Yes | Device serial number (UDID) | |
| input | No | Input path. 'auto' (default) prefers the virtual touchscreen and falls back to injected input. 'hid' requires the virtual touchscreen and fails if the device does not provide one — use it when the gesture must be real kernel input or must fail loudly. |