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

[Discussion] Questions About Issue #87 #536

Closed
ghost opened this issue May 16, 2019 · 13 comments
Closed

[Discussion] Questions About Issue #87 #536

ghost opened this issue May 16, 2019 · 13 comments

Comments

@ghost
Copy link

ghost commented May 16, 2019

So i took the time to read through the whole of issue #87 and from my understanding, the ability to use the mouse and keyboard in a shooter game on mobile is not implemented yet ?

@rom1v
Copy link
Collaborator

rom1v commented May 16, 2019

The keyboard should work, isn't it?

The mouse events are forwarded (when you click for example), but currently it is not possible to "capture" the mouse, and you need this to play FPS games (#269).

@ghost
Copy link
Author

ghost commented May 16, 2019

I have tried to test this but when executing the instructions on issue #87 it does not seem to work like a bluetooth mouse and keyboard should work

@rom1v
Copy link
Collaborator

rom1v commented May 16, 2019

Does it work outside your game (in your SMS application for example)?

@ghost
Copy link
Author

ghost commented May 16, 2019

Yes but when i launch a game to supports mouse and keyboard, it does not, i have tried to execute ".\scrcpy --raw-key-events" , it says : "unknown option -- raw-key-events"

@rom1v
Copy link
Collaborator

rom1v commented May 16, 2019

--raw-key-events was an experiment implemented on a separate branch: https://github.com/Genymobile/scrcpy/commits/rawkeyevents

But it should work correctly without that option now, doesn't it?

@ghost
Copy link
Author

ghost commented May 16, 2019

Nope, i executed that in Powershell and it printed out that message

@rom1v
Copy link
Collaborator

rom1v commented May 16, 2019

Which message?

Do not pass --raw-key-events, it does not exist.

@ghost
Copy link
Author

ghost commented May 16, 2019

The message that says unknown event , i have tried Ctrl + G and it gives the same results

@rom1v
Copy link
Collaborator

rom1v commented May 16, 2019

it printed out that message

The message that says unknown event

You never posted that message.

Could you copy exactly the output you get?

@ghost
Copy link
Author

ghost commented May 16, 2019

Alright, when executing the --raw-key-event ?

@rom1v
Copy link
Collaborator

rom1v commented May 16, 2019

when executing the --raw-key-event ?

#536 (comment)

Do not pass --raw-key-events, it does not exist.

@ghost
Copy link
Author

ghost commented May 16, 2019

Do you mean the Ctrl + G thing?

@rom1v
Copy link
Collaborator

rom1v commented Apr 11, 2020

the ability to use the mouse and keyboard in a shooter game on mobile

Oh, it's probably #269.

@rom1v rom1v closed this as completed Apr 11, 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

1 participant