-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
GamePad support #5079
GamePad support #5079
Conversation
Also do some minor refactoring.
@rom1v thoughts ? |
Hi, Thank you for your work. I'm in holidays so I cannot check now. But IIRC this branch used a native library as dependency, and we wanted to avoid that. I think there was a solution for this without adding such a dependency, but could not find the issue/comment right now from my phone. Also, it seems this branch is not a proper set of individual self-contained patches (without commits fixing previous commits, etc.). Regards |
Hi, |
Hey, do you mind posting a prebuilt scrcpy on your fork or here? i cant for the love of god figure out how to build it (im on windows), i tried a lotta things on mingw64 but ended up with a build where everything but the controller worked.. |
Hello, to be honest I only tried it on linux so far. Did you follow build instructions from this repo ? I'm reading "cross"compiling the windows version from linux is the preferred method. I could do it for you but I don't have access to my computer right now. Maybe try building it inside WSL ? |
I tried to build it on WSL, i followed the instructions and now i got this:
I cloned your fork and ran "./release.sh", did i do sumn wrong? |
Looks like I messed up somewhere. I only built partially with |
#5270 released in scrcpy 2.7 🚀 |
Based on yumechan's game-controller branch from which I resolved all the merge conflicts. Made sure it compiles and actually works.
Some conflicts may still remain as some things are done in an older scrcpy, but I hope not a lot ?
Demo video: https://www.reddit.com/r/OdinHandheld/comments/1e1e4ud/three_layers_of_odin_2_gamepad_control/