Press M8 buttons
press_buttonsPress one or more Dirtywave M8 buttons simultaneously, including modifier combinations, for a set duration and repeat count to control the device over USB.
Instructions
Press one or more M8 buttons simultaneously for a short duration (default 50ms), then release, optionally several times. Use arrays to combine modifier-style inputs; names match the M8 hardware labels. E.g. ["shift","right"] for SHIFT+RIGHT (move to the next screen), ["edit","up"] with repeat 3 to raise a hex value by 0x30.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"buttons": "<buttons>"
},
"name": "press_buttons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repeat | No | ||
| buttons | Yes | Buttons to press simultaneously | |
| duration_ms | No |