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

genshin impact problem #3010

Open
jhonwick6904 opened this issue Feb 9, 2022 · 13 comments
Open

genshin impact problem #3010

jhonwick6904 opened this issue Feb 9, 2022 · 13 comments

Comments

@jhonwick6904
Copy link

hey guys
first of all thxxx for the amazing application you have provided. i have trying to play genshin impact using scrcpy but i cannot control my game using keyboard so is there any way to play the game using keyboard ? i still can use the mouse for moving and attacking using left click and dragging but its quite hard and i have been able to use the keyboard for chatting in the game.

i also read #87 but it did not help me and even using the ctrl + k command but still nothing happened so is there any way so i can play the game ? once again thanks for the app i really appreciate it.

cheers

@rom1v
Copy link
Collaborator

rom1v commented Feb 9, 2022

Does it behave the same if you plug a physical keyboard (via an OTG USB cable or via bluetooth)?

If the game does not support keyboard input, then it won't work. It would require keymapping (which scrcpy does not support, see #712) to inject a touch event at a specific location when you press a key.

@jhonwick6904
Copy link
Author

is --map implemented ?

@rom1v
Copy link
Collaborator

rom1v commented Feb 9, 2022

No.

@jhonwick6904
Copy link
Author

okay i used the Bluetooth keyboard works good . but how do i use scrcpy and assign keys to a location on mobile qtscrcpy lags too much. also is there a way to apply to --map command?

@rom1v
Copy link
Collaborator

rom1v commented Feb 9, 2022

i used the Bluetooth keyboard works good

Oh, so the game supports keyboard input. It's unexpected that it does not work with scrcpy.

If you are on Linux, try scrcpy --hid-keyboard (over USB).

@rom1v
Copy link
Collaborator

rom1v commented Feb 9, 2022

but how do i use scrcpy and assign keys to a location on mobile

You can't.

also is there a way to apply to --map command?

No, it's not implemented.

@jhonwick6904
Copy link
Author

currently on windows and i am trying to find keymappers for android but there is no good keymapper if i can somehow use the keyboard and which are connected to my pc and be able to control the game i will be happy and the i can use scrcpy to cast my screen.
do you know any good keymapper which are free?

@rom1v
Copy link
Collaborator

rom1v commented Feb 9, 2022

i used the Bluetooth keyboard works good

I'm surprised that you can move with a bluetooth keyboard arrow keys, I just tested the game with --hid-keyboard I can't move that way in this game.

@jhonwick6904
Copy link
Author

thats wierd

@jhonwick6904
Copy link
Author

jhonwick6904 commented Feb 9, 2022

i am gonna make json script to use qtscrcpy and see if its working or not cause i have seen people use qtscrcpy and control the game

@jhonwick6904
Copy link
Author

works pretty darn good with qtscrcpy u just have to make a script according to ur phone close this if u want

@semarainc
Copy link

hi @jhonwick6904 , would you mind to share the json script?
im also in need for this too :D

thanks

@5vr
Copy link

5vr commented Sep 24, 2023

I'm trying to do the same thing, I've mapped my Bluetooth keyboard using Mantis Mouse Pro but I don't have a mouse. Is there some way to forward mouse input to the phone so it appears natively on the phone (like with a black cursor)? Or has someone or you built a mapper for scrcpy?

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

4 participants