android-shell-input
v0.2.0
Published
Send standard keyboad input through adb
Downloads
4
Readme
android-shell-input
Send keyboad input through adb
Usage
Install
$ npm install -g android-shell-input or yarn global add android-shell-input
Commands
$ asi (-v|--version)
0.0.1
$ asi --help [COMMAND]
USAGE
$ asi
OPTIONS
-c, --config=config path to the config file
-h, --help show CLI help
-p, --platform=amazonfire|default load one of the default platform config. Available platforms: amazonfire
-v, --version show CLI version
DESCRIPTION
Send keyboad input through adb.
You can pass in an optional JSON Config file to configure additional keys.
Format of the JSON config file:
{
"keyboard_key": "keycode"
}
example config file:
{
"h": "21",
"j": "19",
"k": "20",
"l": "22"
}
default config:
{
"backspace": "4",
"escape": "4",
"up": "19",
"down": "20",
"left": "21",
"right": "22",
"return": "23",
"`": "82",
}
...