wiredopposite / OGX-Mini

RP2040 USB gamepad emulation for multiple platforms.
MIT License
123 stars 9 forks source link

FYI: This works on a modded Xbox 360 #23

Open baabo opened 6 months ago

baabo commented 6 months ago

I just tested this on an RGH modded Xbox 360 with UsbdSecPatch installed. The adapter works without issues in Xinput mode. Thank you for creating this project!

Invictaz commented 6 months ago

Interesting find.

Maybe we can add the

"WgcAddDevice to skip over a check for a certain interface that is usually missing on certain custom controller firmwares."

To the OGX- mini ?

IzWhatitizz commented 6 months ago

I tested this also. Tested Need for Speed the Run and analog sticks didn't work. All other buttons were fine.

baabo commented 6 months ago

The analog sticks definitely worked in Call of Duty 4 with a DualSense controller.

IzWhatitizz commented 6 months ago

You're right there is something going on with my UsbdSecPatch plugin. Tried 4 different controllers and same result. Even tried 8bitdo v2 receiver, so it has to be my plugin.

baabo commented 6 months ago

You could try updating the plugin to 1.1 version if it is not already on that version. I also use the XeBuild patch and not the Dashlaunch patch. I like it better integrated into XeBuild as with that you don't have to replug the controller every time the console boots.

IzWhatitizz commented 6 months ago

That's what I'm gonna have to do. I'm pretty sure that is my problem. Thx

baabo commented 5 months ago

I now noticed that the left stick doesn't work in Aurora or Microsoft guide menu for browsing the menus. I tested this with DualSense and old Xbox One controller. With a regular controller or another Xinput supporting adapter it works. I can imagine this could cause issues in some games, like @IzWhatitizz had.

lopenator commented 3 months ago

this is actually working. amazing!

willsy32 commented 3 months ago

Also, OG Xbox controllers work as well, so you can finally use original controllers for backwards compatible games!

Invictaz commented 3 months ago

I hope the fix by @pcm720 gets merged

Invictaz commented 1 month ago

Seems that the 8bitdo Pro 2 adapter has the same problem in Xinput mode (no analog in dashboard, works fine in game Forza 2). So it might have something to do with the usb patch as well.

pcm720 commented 1 month ago

@Invictaz

Seems that the 8bitdo Pro 2 adapter has the same problem in Xinput mode (no analog in dashboard, works fine in game Forza 2). So it might have something to do with the usb patch as well.

Their USB Wireless Adapter 2 behaves the same way. I've reported it to them back in July, and received a generic "we will give feedback to our team" in response. Obviously, they did nothing about it, at least for now.

I'm also having issues using their Ultimate 3-mode Controller for Xbox with OGX-Mini. Seems that TinyUSB doesn't like how its receiver initializes and simply keeps resetting the bus. This prevents receiver from working properly, it can't even connect to the controller. For now, I have to use Mayflash Magic NS2 on Xbox 360 and Mayflash Magic NS2+OGX-Mini combo on OG Xbox.

Invictaz commented 1 month ago

For OG Xbox there is now a Blueretro dongle by Darthcloud64. If OGX Mini implements Bluepad32 or Blueretro this is not needed anymore.

@pcm720 did you test version 1.1 of the UsbSecPatcb to see if it makes any difference?

Strange thing is the 8bitdo Adapter resets the output randomly giving warnings on screen that no controller is connected.

Since the authentication is disabled with the usbSecPatch there must be a polling issue?

The Cronus Zen I have does not have Xbox 360 output but my Cronus Max does. I have to see how it works since on the Dualsense there might be some vibration issues (only left motor?) While the Xbox Elite 2 seems to work fine, but has very heavy vibration. I hope the upcoming webUI let's you setup which vibration motors are used, the trigger motors or small or big motors or on the Dualsense the haptics?

pcm720 commented 1 month ago

@Invictaz

I wish it was that easy. Bluetooth mode on Ultimate 3-mode Controller is a useless DirectInput mode that doesn't even support vibration and can't connect to BlueRetro for some reason, so the only way to use it properly is to use the receiver 😞

I didn't test with anything other than 1.1 version of the patch. Didn't see any disconnect issues with the USB Wireless Adapter 2, but I haven't really tested it for more than ten minutes.

IzWhatitizz commented 1 month ago

I noticed with my 8bitdo v2 that I had voltage drops from the rp2040. I ran a wire to bypass to the usb host just to make sure that the 8bitdo had steady voltage. Running through the rp2040 it would drop from 5 to 3.7 volts. This has improved reliability in connection.

baabo commented 1 month ago

Could someone share binaries with this fix? https://github.com/wiredopposite/tusb_gamepad/pull/1 I can't get this project to compile on my computer.

baabo commented 1 month ago

I was able to get the project to compile, and here are the binaries with the fix until it is hopefully included in a new release. This fix fixes the issue on my end as well. OGX-Mini v0.4.0 bchid fix.zip