Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
108.53k stars 10.45k forks source link

[Discussion] Questions About Issue #87 #536

Closed ItsJustTee closed 4 years ago

ItsJustTee commented 5 years ago

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 commented 5 years ago

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).

ItsJustTee commented 5 years ago

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 commented 5 years ago

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

ItsJustTee commented 5 years ago

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 commented 5 years ago

--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?

ItsJustTee commented 5 years ago

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

rom1v commented 5 years ago

Which message?

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

ItsJustTee commented 5 years ago

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

rom1v commented 5 years ago

it printed out that message

The message that says unknown event

You never posted that message.

Could you copy exactly the output you get?

ItsJustTee commented 5 years ago

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

rom1v commented 5 years ago

when executing the --raw-key-event ?

https://github.com/Genymobile/scrcpy/issues/536#issuecomment-493094151

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

ItsJustTee commented 5 years ago

Do you mean the Ctrl + G thing?

rom1v commented 4 years ago

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

Oh, it's probably #269.