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

Gamepads: cannot use LT/RT or L2/R2 #5559

Closed
tuevudeptrai opened this issue Nov 28, 2024 · 6 comments
Closed

Gamepads: cannot use LT/RT or L2/R2 #5559

tuevudeptrai opened this issue Nov 28, 2024 · 6 comments

Comments

@tuevudeptrai
Copy link

btw I've saw someone have this problem, ask in nov or sum but I don't know anything about what you guys have been saying cause my knowlegde in technology is very poorly, so please help me.

Window 10

Scrcpy version 3.0
installation method: through the release
Device model: Xiaomi mi 10 (tho I don't think this is important)
Android version: 13

IDK if this is a bug, but I can't us L2/R2 or LT/RT (I've using UHID, AOA idk why but I can't use that it keep saying )

ERROR: Could not find any USB device

I use a general controller and then use reWasd to mapping key use it like a DS4 or Xbox controller. (this is where I think the AOA have problem because the AOA don't support wireless gamepad, but I've disable reWasd and try again but it keep saying it again)

Althought I've wanderring in like 3-4 days in reddit and search every Github (almost) I've come across the LHLaurini, Yume-Chan, and the even the #5362 Rom1v version of CRCPY, but I don't know how to install LHLaurini and Yume-chan version (I'm very sorry for my poor english and knowlegde in Technology) the #5362 Rom1v version althought I've install it, but I can't use the right joystick anymore sadly

Please help me. please fix that or help me with how to install LHLaurini version or something like that

@rom1v
Copy link
Collaborator

rom1v commented Nov 28, 2024

To summarize, scrcpy (official) uses a "generic" gamepad, which works fine in gamepad testers (#5270).

However, some games do not handle that correctly, and expects the behavior of well-known controller (they assume their behavior based on the hardcoded USB ids).

Therefore, the solution would probably be to add an option in scrcpy to simulate a real well-know controller: #5362 (comment). This is not implemented yet.

@rom1v rom1v changed the title still cannot use LT/RT or L2/R2 in scrcpy I need help Gamepads: cannot use LT/RT or L2/R2 Nov 28, 2024
@tuevudeptrai
Copy link
Author

even the generic gamepad L2/R2 still aren't working

@tuevudeptrai
Copy link
Author

and please help me with the LHLaurini Scrcpy install, I can't install it

@rom1v
Copy link
Collaborator

rom1v commented Dec 6, 2024

Please test #5623.

@rom1v
Copy link
Collaborator

rom1v commented Dec 7, 2024

Please confirm that #5623 (comment) fixes all your problems with gamepads.

@tuevudeptrai
Copy link
Author

work like a charm, thanks you, I was off for a few day sorry I haven't replied soon

@rom1v rom1v closed this as completed Dec 18, 2024
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

2 participants