input_keyevent
Send Android key events to control phone buttons like HOME, BACK, and POWER remotely.
Instructions
Send a key event to the phone.
Args: keycode: Android keycode name or number. Common ones: - '3' or 'KEYCODE_HOME' = Home button - '4' or 'KEYCODE_BACK' = Back button - '26' or 'KEYCODE_POWER' = Power button - '24' = Volume Up, '25' = Volume Down - '66' or 'KEYCODE_ENTER' = Enter/Confirm - '67' or 'KEYCODE_DEL' = Backspace/Delete - '61' or 'KEYCODE_TAB' = Tab - '82' or 'KEYCODE_MENU' = Menu - '187' or 'KEYCODE_APP_SWITCH' = Recent apps - '279' or 'KEYCODE_PASTE' = Paste - '84' or 'KEYCODE_SEARCH' = Search
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keycode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |