Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How to enable physical keyboard and physical mouse simulation? #230

Closed
arbdevml opened this issue Oct 6, 2022 · 1 comment
Closed

How to enable physical keyboard and physical mouse simulation? #230

arbdevml opened this issue Oct 6, 2022 · 1 comment

Comments

@arbdevml
Copy link

arbdevml commented Oct 6, 2022

Hello.
First of all very big thank you for this project.
How to enable physical keyboard and physical mouse simulation?

scrcpy supported physical keyboard and physical mouse simulation

Keyboard:

scrcpy --hid-keyboard
scrcpy -K  # short version

https://github.com/Genymobile/scrcpy#physical-keyboard-simulation-hid

Mouse:

scrcpy --hid-mouse
scrcpy -M  # short version

https://github.com/Genymobile/scrcpy#physical-mouse-simulation-hid

This feature is very important to control a device using a keyboard and a mouse
because on some devices impossible to enable an additional option
Genymobile/scrcpy#70 (comment)

Thank you for your answer.

@drauggres
Copy link
Collaborator

Hi.

HID support is a part of the scrcpy client (part that runs on pc/mac). In this project I use only the scrcpy server (runs on device).
To support HID in ws-scrcpy someone will need to reimplement this for node.js.

This feature is very important to control a device using a keyboard and a mouse
because on some devices impossible to enable an additional option
Genymobile/scrcpy#70 (comment)

AFAIK this problem affects only xiaomi devices and is fixable by enabling two items in developer options.

@NetrisTV NetrisTV locked and limited conversation to collaborators Oct 6, 2022
@drauggres drauggres converted this issue into discussion #231 Oct 6, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants