summaryrefslogtreecommitdiff
path: root/android-commands.h
diff options
context:
space:
mode:
authorGreg Bellows <greg.bellows@linaro.org>2014-11-17 11:18:20 -0600
committerGreg Bellows <greg.bellows@linaro.org>2014-11-19 17:08:01 -0600
commit3f5eaa428b46b5c9491ae6faa611545358f17e60 (patch)
tree262793f1c7f6e1a98fdd83ca627d157dafda8480 /android-commands.h
parentcdf616c2f67e6b1a422e861009a72ef5bd27c4c0 (diff)
android-console: Add event send command
Add the Android emulator console "event send" command and associated help messages. The "send" command is used to initiate a given event on the Android emulator instance. Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Diffstat (limited to 'android-commands.h')
-rw-r--r--android-commands.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/android-commands.h b/android-commands.h
index 25a9a3a01..30ba9e64f 100644
--- a/android-commands.h
+++ b/android-commands.h
@@ -86,6 +86,13 @@ static mon_cmd_t android_event_cmds[] = {
.help = "list all <code> aliases for a given <type>",
.mhandler.cmd = android_console_event_codes,
},
+ {
+ .name = "send",
+ .args_type = "arg:s?",
+ .params = "",
+ .help = "send a series of events to the kernel",
+ .mhandler.cmd = android_console_event_send,
+ },
{ NULL, NULL, },
};