Genymobile / Genymobile/scrcpy

Input (screen presses) via command line?

Open
#579 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C
Stars
150k
Forks
13.8k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

Hello,

It's not listed as a feature but please can you tell me if it's possible to register touches via the command line. By this I mean in specific locations, not just the home or back button for example.

I understand this to be a feature of ADB using the following command, however I was just curious if it's possible since the following code feels a little sluggish:

adb.exe -s XXXXXXXX shell input tap 350 1000

Alternatively if that's not a feature and you have an idea on how I can speed this up, I'd be super intrigued to hear.

Many thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue asks whether scrcpy can register screen touches at specific coordinates from the command line, comparing this with adb.exe shell input tap 350 1000. No file, test, or entry point is named; start by locating command-line input handling and the Android control path, then determine whether arbitrary taps are supported and what would define an improvement over the reported sluggishness.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
cli, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.