Forrest logo
back to context overview

input

List of commands for input:

  • input:tldr:2a672 input: Send an event code for a single character to an Android device.
    $ input keyevent ${event_code}
    try on your machine
    explain this command
  • input:tldr:a4eec input: Send a text to an Android device (`%s` represents spaces).
    $ input text "${text}"
    try on your machine
    explain this command
  • input:tldr:c0592 input: Send a single tap to an Android device.
    $ input tap ${x_position} ${y_position}
    try on your machine
    explain this command
  • input:tldr:d39af input: Send a swipe gesture to an Android device.
    $ input swipe ${x_start} ${y_start} ${x_end} ${y_end} ${duration_in_ms}
    try on your machine
    explain this command
back to context overview