Hardware Events Emulation
You can use the event
command to send various events to the emulator.The usage for the command is:
event <send|types|codes|text>
The event
command supports the subcommands listed in the table below.
Subcommand
| Description |
Comments |
send <type>:<code>:<value> [...] |
Send one or more events to the Android kernel. |
You can use text names or integers for <type> and <value> . |
types |
List all <type> string aliases supported by the event subcommands. |
|
codes <type> |
List all <codes> string aliases supported by the event
subcommands for the specified <type> . |
|
event text <message> |
Simulate keypresses to send the specified string of characters as a message, |
The message must be a UTF-8 string. Unicode posts will be reverse-mapped according to the current device keyboard. Unsupported characters will be discarded silently. |