mumu_raw_event
Emit a single raw input event (type, code, value) to a MuMu touchscreen node when built-in gesture helpers cannot express the required touch behavior.
Instructions
Emit one raw input event (type code value) to the touchscreen node.
For anything the gesture helpers do not cover. Linux input codes: EV_SYN=0, EV_KEY=1, EV_ABS=3; ABS_MT_POSITION_X=0x35, ABS_MT_POSITION_Y=0x36, ABS_MT_TRACKING_ID=0x39, BTN_TOUCH=0x14A.
Each call is its own adb shell, so successive events are ~250 ms apart. For
a tap or a gesture that is too slow — use mumu_raw_sequence to send the whole
sequence in one round trip.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mumu_raw_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| value | No | ||
| device | No | ||
| vmindex | No | ||
| event_type | No |