Skip to content

Conversation

@summershrimp
Copy link

@summershrimp summershrimp commented Sep 1, 2024

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

@bladeoner
Copy link
Contributor

Hi @summershrimp , are you able to compile the changes?

I have tried to compile, but I ran into an error.

@trexx
Copy link

trexx commented Feb 15, 2025

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.

@bladeoner
Copy link
Contributor

Hi @trexx, also with the latest commit?

@trexx
Copy link

trexx commented Feb 15, 2025

@bladeoner commit 7960423 the current head of his branch.

@bladeoner
Copy link
Contributor

@bladeoner commit 7960423 the current head of his branch.

Thank you for your response, I will do another attempt.

@bladeoner
Copy link
Contributor

@trexx I am using the Github workflow pipeline I have built: #1472

@summershrimp
Copy link
Author

@bladeoner What's the error?

@bladeoner
Copy link
Contributor

@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

@bladeoner
Copy link
Contributor

bladeoner commented Feb 15, 2025

I think it's the submodule, which is not being initialized.

@summershrimp
Copy link
Author

@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

@bladeoner
Copy link
Contributor

@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>

@bladeoner
Copy link
Contributor

@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.

@forkymcforkface
Copy link

forkymcforkface commented Nov 8, 2025

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!

@summershrimp
Copy link
Author

summershrimp commented Nov 8, 2025 via email

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

Successfully merging this pull request may close these issues.

4 participants