当前位置:   article > 正文

adb shell cmd input_安卓7.0 adb shell input draganddrop 出错

安卓7.0 adb shell input draganddrop 出错

1 需求


2 语法

  1. Usage: input [<source>] [-d DISPLAY_ID] <command> [<arg>...]
  2. The sources are:
  3. dpad
  4. keyboard
  5. mouse
  6. touchpad
  7. gamepad
  8. touchnavigation
  9. joystick
  10. touchscreen
  11. stylus
  12. trackball
  13. -d: specify the display ID.
  14. (Default: -1 for key event, 0 for motion event if not specified.)
  15. The commands and default sources are:
  16. text <string> (Default: touchscreen)
  17. keyevent [--longpress|--doubletap] <key code number or name> ... (Default: keyboard)
  18. tap <x> <y> (Default: touchscreen)
  19. swipe <x1> <y1> <x2> <y2> [duration(ms)] (Default: touchscreen)
  20. draganddrop <x1> <y1> <x2> <y2> [duration(ms)] (Default: touchscreen)
  21. press (Default: trackball)
  22. roll <dx> <dy> (Default: trackball)
  23. motionevent <DOWN|UP|MOVE|CANCEL> <x> <y> (Default: touchscreen)
  24. keycombination <key code 1> <key code 2> ... (Default: keyboard)

3 示例


4 参考资料

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号