首页 > adb shell input <Command> 各参数的作用和用法?

adb shell input <Command> 各参数的作用和用法?

在adb shell input 有以下参数,但却不知作用和用法,查资料也只弄明白了 input keyevent 的作用和用法,其它参数有没有人来解释下?
usage: input ...
input text
input keyevent
input [touchscreen|touchpad] tap
input [touchscreen|touchpad] swipe
input trackball press
input trackball roll


text 是直接输入文本, 最后两个是针对手机上有触摸球的, 剩下两个就是触摸屏或触摸板的。

【热门文章】
【热门文章】