Genymobile / Genymobile/scrcpy

Developer Advice: Simulate multitouch with key or mouse

Open
#3,931 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

Hi, I'm a game developer and my QA teammate uses scrcpy to test our games in multiple remote phones with different specs. This is working nice so far, but we just have one issue: In this game (which is in a develop version) you can open the "cheat console" with a **3-finger touch**, this is an important feature for the QA team because it helps them to quickly test their cases.

The PC doesn't have a touch screen (I read that multitouch is possible with it), so what we'd like is to assign some key or key-mouse combination to achieve this. I know this is a very specific feature, so I was thinking I can implement it myself locally (without making a PR) but first I want to know if that implementation is possible, and if it's possible I would like an advice on which files I would need to modify.

Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing scrcpy's existing keyboard, mouse, and touch-input handling to determine whether a key or key-mouse combination can generate a three-finger gesture. Define the desired binding and verify it on a non-touch PC with a remote Android phone; done means the cheat console opens reliably for the QA scenario.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.