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

how do you use the branched version? #585

Closed
Ciel-MC opened this issue Jun 12, 2019 · 24 comments
Closed

how do you use the branched version? #585

Ciel-MC opened this issue Jun 12, 2019 · 24 comments
Labels

Comments

@Ciel-MC
Copy link

Ciel-MC commented Jun 12, 2019

as the title says, only the original win64 version works, others are totally different

@rom1v
Copy link
Collaborator

rom1v commented Jun 12, 2019

Sorry, I don't understand your question.

Which "branched" version? Which "others"? How different?

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 12, 2019

like the scrcpy-FPS, how do I launch it?

@rom1v
Copy link
Collaborator

rom1v commented Jun 12, 2019

scrcpy-FPS

If you want to print framerate logs in the console, press Ctrl+i to enable/disable the fps counter.

(not sure it answers your question).

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 12, 2019

I mean there isn't a executable file in the folder... how do I launch scrcpy

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 12, 2019

BTW fraps seem to also work with scrcpy

@rom1v
Copy link
Collaborator

rom1v commented Jun 12, 2019

how do I launch scrcpy

For Windows, just download scrcpy-win64-v1.9.zip, extract it, and run scrcpy.exe.

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 12, 2019

yes but it doesn't print FPS
or one more example: rawkeyevents, it passes key straight to the phone, but there's a branch on github, how do I make scrcpy.exe pass the raw key to the phone?

@rom1v
Copy link
Collaborator

rom1v commented Jun 12, 2019

yes but it doesn't print FPS

If you press Ctrl+i while scrcpy is running, it will print the framerate every second in the console.

or one more example: rawkeyevents, it passes key straight to the phone, but there's a branch on github, how do I make scrcpy.exe pass the raw key to the phone?

Oh, maybe you are confused by the github interface.

Branches are git branches, and are used for development purpose. Ignore that and just take the release if you're an end-user.

If you really want to test branches (but some are just here for backup purpose and are obsolete), git checkout it and build the app from sources (see BUILD.md).

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 12, 2019

is there a way to fully play PUBG on my computer by controlling my phone? since it seems like only wasd is working

@rom1v
Copy link
Collaborator

rom1v commented Jun 12, 2019

since it seems like only wasd is working

(I don't have the game) What does not work?

You could be interested in discussions in #87 and #269.

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 12, 2019

I can't use my mouse, plz get PUBG, it's free(just to improve the quality for gaming)

@rom1v rom1v added the question label Jun 14, 2019
@rom1v
Copy link
Collaborator

rom1v commented Jun 14, 2019

just to improve the quality for gaming

Yes, some improvements have to be made in this area…
When I have time.

@rom1v rom1v closed this as completed Jun 14, 2019
@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 14, 2019

Then how do I trigger the passthrough of raw key events? CTRL + ?

@rom1v
Copy link
Collaborator

rom1v commented Jun 14, 2019

Then how do I trigger the passthrough of raw key events?

What I called "raw key events" is just injecting key events instead of text to fix #87. "Raw key events" are already used for letters.

What is your problem with keys? What do you observe in PUBG?

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 14, 2019

I can only to WASD, not any other operations

@rom1v
Copy link
Collaborator

rom1v commented Jun 14, 2019

What keys do you press for "other operations"?

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 14, 2019

like tab to open inventory, Q&E to lean... all of that, since if you plug a keyboard onto ur phone, PUBG allows these movements

@rom1v
Copy link
Collaborator

rom1v commented Jun 14, 2019

OK, that's weird:

  • TAB is mapped
  • Q and E are letters, and are forwarded as is, like W, A, S, D (unless Q&E refers to something else)

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 14, 2019

can you make the phone think it's connected to an actual keyboard?

@rom1v
Copy link
Collaborator

rom1v commented Jun 14, 2019

See #279.

The problem is that, contrary to what happens with an actual keyboard, the USB connection is reversed: the computer is the host and the device is the slave. Some Android device implement HID over AOA (over USB), to be able to reverse the roles. (and in practice, like #14, it would only work on Linux)

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 14, 2019

so basically it makes it a real keyboard if i use the linux version? I have ubuntu :)

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 14, 2019

or do I have to do settings

@rom1v
Copy link
Collaborator

rom1v commented Jun 14, 2019

Please read #279. HID over AOA is not implemented in scrcpy.

@Ciel-MC
Copy link
Author

Ciel-MC commented Jun 14, 2019

sadness :( why not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants