feat: Add support of Xbox Wireless Adapter
For gamer who use Xbox Elite Controller gen1 or Xbox One Controller gen1 and 2, which don't have bluetooth connection. Or just like my TCL tv, app get wrong keystorke info when OS handle the controller input. So supporting Xbox Wireless Adapter would make us bypass those limitation and connect up to 8 controller wirelessly and natively. Driver codes mainly from https://github.com/medusalix/xow
Hi @summershrimp , are you able to compile the changes?
I have tried to compile, but I ran into an error.
Hi @bladeoner
I've successfully compiled an arm64 apk to run on my nonrooted Nvidia Shield. It works with my "Microsoft Xbox Wireless Adapter for Windows 10" (Slim dongle) and my model 1697 (2016) Xbox One Pad. Its been my daily driver for a while now.
I compiled mine in a container with the recommended Android NDK.
Summershrimp - You are a champ.
Hi @trexx, also with the latest commit?
@bladeoner commit 7960423a4b7ada4ac1aa9819912f5f765a6721c5 the current head of his branch.
@bladeoner commit 7960423a4b7ada4ac1aa9819912f5f765a6721c5 the current head of his branch.
Thank you for your response, I will do another attempt.
@trexx I am using the Github workflow pipeline I have built: https://github.com/moonlight-stream/moonlight-android/pull/1472
@bladeoner What's the error?
@summershrimp I just did a run th error can be seen in the following run: https://github.com/bladeoner/moonlight-android/actions/runs/13346159625/job/37276849440
I think it's the submodule, which is not being initialized.
@bladeoner yep, the default parameter of actions/checkout@v4 won't clone submodules. https://github.com/actions/checkout/blob/85e6279cec87321a52edac9c87bce653a07cf6c2/README.md?plain=1#L117
@summershrimp I checked out the submodule in a additional step, but I have changed it to the checkout@v4 and is still doesn't initialized.
Did you just add the submodule to the .gitmodules file manually or did you use the following command:
git submodule add <submodule_url>
@summershrimp I got it fixed, can you do the following in your branch which is linked to this PR:
- Remove the following from the .gitmodules
[submodule "app/src/main/jni/libusb"] path = app/src/main/jni/libusb url = https://github.com/libusb/libusb.git - Save the .gitmodules file
- Run the following command:
git submodule add https://github.com/libusb/libusb.git "app/src/main/jni/libusb" - Push the changes to the branch
This will prevent the issue from occurring and correctly download the submodules.
Thanks in advance.
I would suggest using https://github.com/dlundqvist/xone as xow hasnt been updated for over 3 years. Even medusalix suggests using xone and dlundqvist is the maintained version, although I dont know if its totally compatible with Andoird. Cheers!
Xone is kernel driver, so it’s hard to migrate to userspace. Using that is equal to rewrite everything
Kevin @.***>于2025年11月9日 周日06:19写道:
forkymcforkface left a comment (moonlight-stream/moonlight-android#1415) https://github.com/moonlight-stream/moonlight-android/pull/1415#issuecomment-3507038883
I would suggest using https://github.com/dlundqvist/xone as xow hasnt been updated for over 3 years. Even medusalix suggests using xone and dlundqvist is the maintained version.
— Reply to this email directly, view it on GitHub https://github.com/moonlight-stream/moonlight-android/pull/1415#issuecomment-3507038883, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOKG7Q3BQQZAYFEJVJGJHD33ZT6DAVCNFSM6AAAAACLROZEROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKMBXGAZTQOBYGM . You are receiving this because you were mentioned.Message ID: @.***>