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

Xbox 360 dongle support #11

Closed
mzino opened this issue Nov 5, 2019 · 68 comments

Comments

@mzino
Copy link

@mzino mzino commented Nov 5, 2019

I don't know if it's technically possible, but it would be great to have compatibility with the official Xbox 360 dongle for PC. Right now it lights up but the controller isn't recognized.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 5, 2019

It seems the dongle requires installing software, so i can't support it unless i get my hands on it. I made a build of the sysmodule that tries to recognize the wireless adapter as an xbox 360 controller - it's a shot in the dark, but you can try it.

https://files.catbox.moe/pwrpyl.rar

@mzino

This comment has been minimized.

Copy link
Author

@mzino mzino commented Nov 5, 2019

AFAIK the drivers for the dongle are the same that you would use for the USB version of the controller, so it was worth trying. This build unfortunately still doesn't work.

@mzino

This comment has been minimized.

Copy link
Author

@mzino mzino commented Nov 5, 2019

If you need logs or other info such as hardware ids etc... ask away.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 5, 2019

There's not much to be done right now. If you can find the vendor + product IDs of your dongle it'd be greatly appreciated

@mzino

This comment has been minimized.

Copy link
Author

@mzino mzino commented Nov 5, 2019

Vendor is 045E and PID is 0719. Official MS dongle.

@mzino

This comment has been minimized.

Copy link
Author

@mzino mzino commented Nov 5, 2019

Also, once paired the controller has VID 045E and PID 02A1, which I see is different from the one currently in your source for Xbox 360 USB.

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 6, 2019

I also have a dongle. Can compile and debug if this is helpful to you

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 6, 2019

I would do anything to make the dongle work. I can also test it, if you need it.

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 6, 2019

Not sure if this is helpful, but I found a C++ implementation of the Xbox 360 Wireless Receiver in the ogx360 project

This project is GPL 👍

@Ntemis

This comment has been minimized.

Copy link

@Ntemis Ntemis commented Nov 7, 2019

Dongle is about $7 on AliExpress.
I have been using those for years now without any issues

@cathery cathery removed the needs funding label Nov 7, 2019
@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 7, 2019

Can you guys launch this applet and send me a screenshot of your scanned dongles? https://files.catbox.moe/re60qo.rar

@AnthonyTorres58

This comment has been minimized.

Copy link

@AnthonyTorres58 AnthonyTorres58 commented Nov 8, 2019

2019110719102700-DB1426D1DFD034027CECDE9C2DD914B8

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

Dongle unplugged

2019110813222700-69AA450BB058D7C0F3FABB7FC7C2DBA2

Dongle plugged

2019110813221100-69AA450BB058D7C0F3FABB7FC7C2DBA2

@lukedoomer

This comment has been minimized.

Copy link

@lukedoomer lukedoomer commented Nov 8, 2019

Please add support for the popular and unofficial xbox 360 dongles as well.
Vendor:045e Product:0291
It use totally same driver with the offical one.

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

@lukedoomer I think that might be the one that @AnthonyTorres58 scanned. Mine is official Microsoft one I believe. Hopefully all compatible Vendor and Product ID combinations can be loaded in 😄

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

Thank you all for your feedback. It seems that the dongle is using the same interface as the wireless 360 controller, which might take a while until it's implemented. Stay tuned

@orbstar8

This comment has been minimized.

Copy link

@orbstar8 orbstar8 commented Nov 8, 2019

IMG_20191107_233005

I share my results with the inserted adapter, apparently it gave the same results as @gilest , tested with original Xbox 360 controller

@Ntemis

This comment has been minimized.

Copy link

@Ntemis Ntemis commented Nov 8, 2019

@cathery note that this adapter can connect to 4 individual controllers. Also adding force feedback is mandatory for many people :)

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

Can someone test if this works on their 360 wireless? https://files.catbox.moe/aw2au7.rar

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 8, 2019

@cathery Just tested the build and the switch crashes when I try to pair the controller.
Error Code is 2168-0002 (0x4a8)
Title is 690000000000000D
On 9.0.1 With latest atmosphere.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

Can you send me the log? It's located at sdmc:/config/sys-con/log.txt

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 8, 2019

log.txt
Pretty sure its a good sign if at least something happens when I pair the controller.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

So the dongle works fine if you just plug it and unplug it?

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 8, 2019

So the dongle works fine if you just plug it and unplug it?

Yeah, I can plug the dongle and unplug it. It only crashes when I attempt to pair the controller.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

Lemme know if this one works https://files.catbox.moe/30byxg.rar

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 8, 2019

Lemme know if this one works https://files.catbox.moe/30byxg.rar

It does. Kinda. After pairing my controller, I can move the stick and it does move, however all the buttons do not function. Also, the controller still is blinking, as if I've just turned it on. but the stick still works. As a side effect of it blinking, It will turn itself off after a while.
UPDATE: Tried to use 2 controllers, doesn't work. it only listens to one and also, its detecting the controller as a USB controller. forgot to mention that.

@orbstar8

This comment has been minimized.

Copy link

@orbstar8 orbstar8 commented Nov 8, 2019

Lemme know if this one works https://files.catbox.moe/30byxg.rar

It does. Kinda. After pairing my controller, I can move the stick and it does move, however all the buttons do not function. Also, the controller still is blinking, as if I've just turned it on. but the stick still works. As a side effect of it blinking, It will turn itself off after a while.
UPDATE: Tried to use 2 controllers, doesn't work. it only listens to one and also, its detecting the controller as a USB controller. forgot to mention that.
The same results here, At least he recognizes it 💃 , and some reason, the Y button is left in the stick

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 8, 2019

Oh yeah, for me Y button is left stick too. Forgot to mention that. again.

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

Both flashing but I don't mind personally.

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

After pairing second controller:

2019110912240900-1E95E5926F1CB99A87326D927F27B47E

Just tested in game and it works perfectly also.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

cool cool, does this version do anything to the LEDs? https://files.catbox.moe/t8x3ew.rar

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

No change to LEDs. I removed and re-added the controllers and they still behave the same.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

One thing to note:

When disconnecting (removing battery) controllers after they are paired, they still show under controllers.

They can be reconnected and will continue working as normal.

Removing and plugging in the dongle again resets to "No other controllers are connected".

The controllers can then be switched back on, and they will show up under controllers as they pair with the dongle.

In my opinion this is totally OK 👍

Will try the new build now

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

LED behaviour is unchanged in the new build.

@alvarin8219

This comment has been minimized.

Copy link

@alvarin8219 alvarin8219 commented Nov 8, 2019

Wow, Youre amazing
IMG_20191108_174401077

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

@gilest Alright, can you try this version? https://files.catbox.moe/7u3zh5.rar
Also, after unpairing the controllers, can you wait a little and see it they get disconnected under controllers?

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

I waited for quite a while, I'm pretty sure that they don't. Will leave it extra long next time to make sure. Edit: I'm sure.

Rebooting into new build now 🚀

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 8, 2019

LED behaviour is unchanged.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 8, 2019

@Ntemis

This comment has been minimized.

Copy link

@Ntemis Ntemis commented Nov 9, 2019

Omg so much dedication! Kudos man.

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 9, 2019

LED's are the same.

If it's helpful I can take a video of pairing one, there are some intermediate states like [looking, pairing, paired] or something.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 9, 2019

That's a shame. I don't think I can fix the LEDs or the disconnect for now. But I'll consider the dongle supported and close the issue.

@alvarin8219

This comment has been minimized.

Copy link

@alvarin8219 alvarin8219 commented Nov 9, 2019

Completamente compatible, una pena lo de los LEDS, pero has hecho un trabajo maravilloso, hoy me la pasé viendo la evolución de tu trabajo y fue increíble, saludos desde México.

@Ntemis

This comment has been minimized.

Copy link

@Ntemis Ntemis commented Nov 9, 2019

For your information. When 1 controller is paired the upper left led lids and stays green. When 2nd controller is paired the upper right is lid green. 3rd one should be down right quarter and finally 4rth is down left quarter.

@dephunk

This comment has been minimized.

Copy link

@dephunk dephunk commented Nov 9, 2019

To elaborate: see below, at the moment this does not happen. The ring just flashes, doesn't matter if you connect 1 or 4 controllers. The Xbox 1, PS3, DS4 & Wii U pro controller when connected via USB all show up with the corresponding lighting as the switch screen.
Even just turning the lights of completely (not sure if thats possible) would be better, as the flashing is quite annoying.
xboxwireless
Keep up the great work.

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 9, 2019

Wow, 4 controllers! As I was sleeping? Thank you so much! Who cares about the blinking ring? The controllers are working!!

@Ntemis

This comment has been minimized.

Copy link

@Ntemis Ntemis commented Nov 9, 2019

@david4444 battery life should

@david4444

This comment has been minimized.

Copy link

@david4444 david4444 commented Nov 9, 2019

@david4444 battery life should

Why? If the controllers were to be paired the light still would have been used. The blinking isn't so rapid, I doubt it would change anything.

@cathery cathery reopened this Nov 9, 2019
@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 9, 2019

Can someone check if this build makes the LED blinking stop and disconnect controllers? https://files.catbox.moe/wiy7wj.rar

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 9, 2019

Nice work, in this build the LEDs do not blink.

First controller paired: top left corner stays lit.

Second controller paired: top left corner also stays lit.

Controllers do not seem to be removed when they are disconnected.

@cathery

This comment has been minimized.

Copy link
Owner

@cathery cathery commented Nov 9, 2019

Working as intended. The top left LED is to just disable blinking and let you know that it works (same happens with other controllers right now)

@gilest

This comment has been minimized.

Copy link

@gilest gilest commented Nov 9, 2019

Yeah perfect – just being thorough so you know what the behaviour is 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.