Scrcpy: Show touch

Created on 11 Mar 2018  路  25Comments  路  Source: Genymobile/scrcpy

In developer options, there is an option "show taps", that whenever you touch the screen, a white circle appears.
For some reason, it doesn't appear when using this app.
Please let us have it.
It can be useful for screenshots and screen-video capture.

feature request showtaps

Most helpful comment

Please re-consider

All 25 comments

For some reason, it doesn't appear when using this app.

Yes, injecting events does not display the circle. It is probably triggered at lower level. Nothing we can do IMO. So I'm closing.

Feel free to reopen if there is a technical solution.

Please re-consider

In developer options, there is an option "show taps", that whenever you touch the screen, a white circle appears.

At least, I added an option to enable _show touches_ while _scrcpy_ is running: https://github.com/Genymobile/scrcpy/issues/96.

I have 1.1, and I don't see "touches" of the mouse. Only when I touch the screen myself (with the finger).

I have 1.1, and I don't see "touches" of the mouse. Only when I touch the screen myself (with the finger).

  1. It only enable the _show touches_ option in developer settings (so you will only see physical touches, not mouse clicks, technically it is probably implemented in some code that event injection does not trigger).
  2. it's implemented in dev (not released yet).
  3. The application must be started with scrcpy --show-touches.

Well I have it enabled anyway in the settings of the OS...
But what I wrote here, is that I'd like to see the touches indications (and maybe even customize them and have new ones, like the links of material design I've shown) on the PC app itself.

Yes, I got it.

I just notified that I added an option to automatically enable/disable the setting in developers options, because it is somehow related.

I didn't say I implemented what you requested (that's why I left the issue open).

I see.
Say, is it possible to somehow be notified of new versions of this tool?
Maybe a specific website URL that I can monitor via this website:
https://www.changedetection.com/login.html
?
I just think it's such a nice tool. I wish it would have been a part of the IDE itself.

Say, is it possible to somehow be notified of new versions of this tool?

I don't know, maybe: https://github.com/Genymobile/scrcpy/releases.atom

In the future, I hope it will be packaged in distributions (it is already packaged for Arch Linux and Homebrew for MacOS, so the update is automatic).

I use Windows...
And the website url you've provided is blocked, because it has "robots.txt" file.
:(

I use Windows...

Sorry for you :trollface:

And the website url you've provided is blocked, because it has "robots.txt" file.

The URL is an rss/atom feed, you can use any feed reader.

Haha. I like Linux only for development (and I hate the UX of MacOS), and I used it a very long time ago.
But for the past years I got Windows at the office.

About rss/atom, ok.

I've now registered to this for the Atom/Rss of github:
https://ifttt.com/applets/400948p-get-notifications-about-github-releases

I hope it works.

I've noticed this is possible now:

image

But when I try it , I still don't see it:

image

@rom1v Isn't it a new feature? If not, why mention it?
I can see v1.2 was out just some hours ago:

image

Isn't it a new feature? If not, why mention it?

The feature was implemented 2 months ago in the dev branch, but it was after the last release v1.1. This is the first time it is released.

Well it doesn't work for me.
In fact it disabled the touch indication I had before

It enables it on start, and disable it on stop. If you let it enabled, just don't use the option.

When you touch the screen with your finger, it should show touches.

@rom1v I've removed the flag. Still can't see the touches using the mouse.
See video:

ice_video_20180529-094117.zip

Also, almost sure it's because of this app: On first run, the mouse couldn't get to reach the taskbar of the Windows OS itself. Instead it gets hidden. On next runs, it didn't happen.
Weird thing is that I didn't see it on a different PC, so not 100% sure it's because of this.

I've removed the flag. Still can't see the touches using the mouse.

I'm not sure you understand what the feature does.

From scrcpy --help:

    -t, --show-touches
        Enable "show touches" on start, disable on quit.
        It only shows physical touches (not clicks from scrcpy).

So:

  • if you don't pass the flag, it does not change the "show touches" option (if it was enabled, it stays enabled)
  • if you pass the flag, it enable it on start, and disable it on quit
  • the "show touches" option only display physical touches

ice_video_20180529-094117.zip

_(don't zip videos :wink:)_

On first run, the mouse couldn't get to reach the taskbar of the Windows OS itself. Instead it gets hidden. On next runs, it didn't happen.

Weird.

So it doesn't show touches for the PC app. Only touches on the phone itself.
Please add feature to show mouse "touches".
Now that I re-read what I wrote here (sorry I forgot about it), it's the same as I wrote originally on this thread.

About uploading videos, Github doesn't allow to upload them directly. It can only allow specific files types.

+1

This feature will be very useful in automation. Without this, it's really hard to get touch position from video or picture. But it's not an easy job I think :(

minitouch is an available option (maybe).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BloodPHamtOm picture BloodPHamtOm  路  3Comments

cutoseo picture cutoseo  路  4Comments

qymspace picture qymspace  路  3Comments

targor picture targor  路  3Comments

swamikamal picture swamikamal  路  3Comments