0.2.0 • Published 3 years ago

android-shell-input v0.2.0

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

android-shell-input

Send keyboad input through adb

oclif Version Downloads/week License

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",
  }
...

Special thanks

@hubert