55

Mouse clicks do not work · Issue #70 · Genymobile/scrcpy · GitHub

 4 years ago
source link: https://github.com/Genymobile/scrcpy/issues/70#issuecomment-373286323
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Join GitHub today

GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.

Sign up

New issue

Mouse clicks do not work #70

Closed

Pong420 opened this issue on 15 Mar 2018 · 28 comments

Closed

Mouse clicks do not work #70

Pong420 opened this issue on 15 Mar 2018 · 28 comments

Comments

I am using Xiaomi max 2 on macOS High Sierra 10.13.3

scrcpy v1.0

dependencies:
 - SDL 2.0.8
 - libavcodec 57.107.100
 - libavformat 57.83.100
 - libavutil 55.78.100

Copy link

izayl commented on 15 Mar 2018

Xiaomi Mi 6 has the same issue

Copy link

izayl commented on 15 Mar 2018

@Pong420 Maybe this issue can fix. But I have not test it.

Copy link

Author

Pong420 commented on 15 Mar 2018

edited

@izayl It seems to not be working for me

Copy link

Collaborator

rom1v commented on 15 Mar 2018

edited

Duplicate of #18.

Already fixed on v1.1.

Copy link

izayl commented on 15 Mar 2018

@rom1v I have pull the newest code of master. But the problem still exist.

Copy link

Collaborator

rom1v commented on 15 Mar 2018

scrcpy -v

Copy link

Collaborator

rom1v commented on 15 Mar 2018

Did you compile using prebuilt server v1.1?

Copy link

Author

Pong420 commented on 15 Mar 2018

sorry, how to check prebuilt server version?

v1.1 still not work

scrcpy v1.1

dependencies:
 - SDL 2.0.8
 - libavcodec 57.107.100
 - libavformat 57.83.100
 - libavutil 55.78.100

Copy link

izayl commented on 15 Mar 2018

I find the reason of the issue,switch below option for obtain the permission of simulating Input

Copy link

Collaborator

rom1v commented on 15 Mar 2018

Did you compile everything, or downloaded the prebuilt server (the Android part)?

If you don't know, please give the result of:

mesonconf x

(from the scrcpy root directory)

Copy link

Author

Pong420 commented on 15 Mar 2018

edited

Solved, enable the permission of simulating Input work for me

Thanks all

Copy link

Collaborator

rom1v commented on 15 Mar 2018

@izayl Thank you very much! I added a question in the FAQ.

Ciao guys. Thank you so much for great work!
I'm on a vernee mix 2 (not a grat phone and probably a corner case).
I'm not able to click with left mouse. Only right. Unfortunately I can't find that option in my menu (doesn't exist at all). Is there a way for sending the option via ABD?
Using Windows (10 64bit)
I've tryed 1.0 1.1 1.2 (64bit) Vernee mix run android 7.0 security patch nov. 2017

Nokia 8 does not have that option in developer settings. My problem turned out be a slightly weird one. If I move scrcpy window from the screen it started on to a different monitor, mouse inputs become unreponsive.

Copy link

Nostalgene commented on 14 Jun 2019

edited by rom1v

the screen off mirroring function does not work with either Ctrl+
o or terminal command …it says “unrecognised option”
help please.. my phone is poco F1

Copy link

Collaborator

rom1v commented on 14 Jun 2019

the screen off mirroring function does not work with either Ctrl+o or terminal command …it says “unrecognised option”

(please do not post on an unrelated issue)

You need scrcpy v1.9.

scrcpy --version

Copy link

xx299x commented on 6 Aug 2019

Xiaomi Mi 6 has the same issue

My Xiaomi Mi 6 no problem in windows.

I want to know recording MP4's format.

Copy link

Ggot commented on 3 Jan

why my android OPPO R15 no USB debugging(Security settings) option? so I cannot click my simulating screen .

Copy link

mochadwi commented on 16 Jan

edited

thanks this happened in xiaomi smartphone, but also occurred in a few devices like Oppo @Pong420

Copy link

n-3rd23 commented on 15 Apr

thank you enabling USB debugging (security settings) worked on my phone mi 4

Copy link

mherweg commented on 26 Apr

On a Redmi 6A I get the popup "Sign in with you Mi Account" :-(

Copy link

SkyPaladin commented on 9 May

edited

I find the reason of the issue,switch below option for obtain the permission of simulating Input

No such setting exists for me on Android 8.1. Device is a Motorola Moto G5 Plus.

Copy link

Kein commented on 21 May

In MIUI you are locked behind Mi Account link in order to enable ADBinput for keyboard and mouse. To bypass that (with root):

  1. Enable USB debugging
  2. Run any terminal as root
  3. setprop persist.security.adbinput 1
  4. That's all, nothing else is required

I dont believe root-less solution is possible because MIUI permission service will block any user-app trying to do the same.

Copy link

LosEagle commented on 28 May

In MIUI you are locked behind Mi Account link in order to enable ADBinput for keyboard and mouse. To bypass that (with root):

1. Enable USB debugging

2. Run any terminal as root

3. `setprop persist.security.adbinput 1`

4. That's all, nothing else is required

I dont believe root-less solution is possible because MIUI permission service will block any user-app trying to do the same.

I'm assuming the permission service can't be safely disabled with adb, right?

Copy link

Kein commented on 28 May

No, the security core cannot be uninstalled or disabled, it is rooted deep.

how to enable this setting on Xiaomi Note 7 ?
this screen does not appear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Assignees

No one assigned

Labels
None yet
Projects

None yet

Milestone

No milestone

Linked pull requests

Successfully merging a pull request may close this issue.

None yet

16 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK