senzhk / ADBKeyBoard

Android Virtual Keyboard Input via ADB (Useful for Test Automation)
GNU General Public License v2.0
1.22k stars 299 forks source link

how can send alt +v or other win+v #47

Closed xxdoc closed 2 years ago

xxdoc commented 2 years ago

To send Ctrl+Space adb shell am broadcast -a ADB_INPUT_MCODE --eia mcode '4096,62'

what is 4096?

senzhk commented 2 years ago

https://developer.android.com/reference/android/view/KeyEvent

You should able to find it in here, with keyword 4096

xxdoc commented 2 years ago

how can send alt +v or other win+v