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

problem with click #4988

Closed
2 tasks done
Tr43212 opened this issue Jun 15, 2024 · 4 comments
Closed
2 tasks done

problem with click #4988

Tr43212 opened this issue Jun 15, 2024 · 4 comments

Comments

@Tr43212
Copy link

Tr43212 commented Jun 15, 2024

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Windows 8.1 Pro (build 9600.20778) 64-bit
  • scrcpy version: v2.4
  • installation method: Windows release
  • device model: Xiaomi Redmi Note 8 Pro (begiona)
  • Android version: 11

Describe the bug
Hello. Right-click and middle-click didn't work on my device. Left-click and mouse-scroll are just working fine. I enabled USB debugging, but it's still not working.

@Tr43212
Copy link
Author

Tr43212 commented Jun 15, 2024

P/S: Right-click in OTG works, but in UHID doesn't work.

@rom1v
Copy link
Collaborator

rom1v commented Jun 15, 2024

By default, right click is a shortcut for BACK and middle click a shortcut for HOME.

To forward the clicks instead, use scrcpy --forward-all-clicks.

https://github.com/Genymobile/scrcpy/blob/master/doc/control.md#right-click-and-middle-click

@Tr43212
Copy link
Author

Tr43212 commented Jun 25, 2024

Thanks you so much, it's working now.

@Tr43212 Tr43212 closed this as completed Jun 25, 2024
@rom1v
Copy link
Collaborator

rom1v commented Jun 25, 2024

Please also test #5022 😉

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

2 participants