Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrcpy without video #753

Closed
104m4tt0 opened this issue Aug 27, 2019 · 6 comments
Closed

scrcpy without video #753

104m4tt0 opened this issue Aug 27, 2019 · 6 comments

Comments

@104m4tt0
Copy link

Hi,
Thanks for your project because it's wonderfoul and solve a lot of problem ..
i would like to know if is it possible to exclude video virtualization and keep the control on android device.
Thanks for your patience.

bye bye

antonio

@rom1v
Copy link
Collaborator

rom1v commented Aug 27, 2019

Technically (i.e. if you modify the code), it's possible, but in scrcpy, if you disable video (--no-display), you can't click to control the device (or press any key because there is no window to intercept them).

@104m4tt0
Copy link
Author

So isn't possible to ctrl input on android display without a windows display.
I would consider to modify the code to make like an input ctrl remotely, exactly reverse mode of android pc ctrl app.
Do you think will be possible ?

@104m4tt0
Copy link
Author

I mean like deskdock .. i don't know how but is possibe to share keyboard and mouse and clipboard without mirroring.

@herrenP
Copy link

herrenP commented Nov 7, 2019

So isn't possible to ctrl input on android display without a windows display.
I would consider to modify the code to make like an input ctrl remotely, exactly reverse mode of android pc ctrl app.
Do you think will be possible ?

This is possible directly using ADB but maybe you already knew that.

•100% ➜ adb shell input 
Usage: input [<source>] <command> [<arg>...]

The sources are: 
      dpad
      keyboard
      mouse
      touchpad
      gamepad
      touchnavigation
      joystick
      touchscreen
      stylus
      trackball

The commands and default sources are:
      text <string> (Default: touchscreen)
      keyevent [--longpress] <key code number or name> ... (Default: keyboard)
      tap <x> <y> (Default: touchscreen)
      swipe <x1> <y1> <x2> <y2> [duration(ms)] (Default: touchscreen)
      draganddrop <x1> <y1> <x2> <y2> [duration(ms)] (Default: touchscreen)
      press (Default: trackball)
      roll <dx> <dy> (Default: trackball)

@rom1v
Copy link
Collaborator

rom1v commented Nov 7, 2019

@104m4tt0 #87 (comment)
@herrenP it would be slow (#231)

@herrenP
Copy link

herrenP commented Nov 7, 2019

@104m4tt0 #87 (comment)
@herrenP it would be slow (#231)

Ah, cool stuff! Nice thinking. :)

@rom1v rom1v closed this as completed May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants