Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F10361137
press_key.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
352 B
Referenced Files
None
Subscribers
None
press_key.sh
View Options
#!/bin/bash
# https://stackoverflow.com/questions/7789826/adb-shell-input-events
if
[
"
$1
"
=
"Enter"
]
;
then
/opt/android-sdk-linux/platform-tools/adb
shell
input
keyevent
66
elif
[
"
$1
"
=
"Backspace"
]
;
then
/opt/android-sdk-linux/platform-tools/adb
shell
input
keyevent
67
else
/opt/android-sdk-linux/platform-tools/adb
shell
input
text
"'
$1
'"
fi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Nov 8, 11:24 (16 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1034523
Default Alt Text
press_key.sh (352 B)
Attached To
Mode
R134 rentgen-android
Attached
Detach File
Event Timeline
Log In to Comment