Ryochan7 / DS4Windows

Like those other ds4tools, but sexier
https://ryochan7.github.io/ds4windows-site/
GNU General Public License v3.0
6.97k stars 808 forks source link

Anyway to get DS4Windows to recognize a DS4 while using Mayflash adapter? #2125

Closed Jayinem closed 3 years ago

Jayinem commented 3 years ago

It doesn't recognize it at all says no controllers connected. It's a legit DS4 but it's using xinput through mayflash magic ns adapter.

I used to use those apps to install DS3 and DS4 but I find them mostly nothing but trouble. Mayflash is so easy just plug it in set it to the right type (xinput) and plus in the DS4 with a usb and then it works wirelessly, no issues.

Ryusennin commented 3 years ago

The Mayflash Magic is a hardware XInput emulator. DS4Windows is a software XInput emulator. It doesn't make any sense to use both simultaneously. If you need macro/remapping functions for your Mayflash adapter, have a look at JoyToKey.

Jayinem commented 3 years ago

Joytokey doesn't allow me to use touchpad which is my goal.

Kanuan commented 3 years ago

DS4Windows can only devices the way Windows presents them to.

When using the mayflash magic ns adapter, Windows does not know what controller is connected to it, Windows just thinks that an actual Xbox controller is connected to the system. It's impossible to "see beyond" the adapter, as it does not give such info.

If you want to use your DS4 with DS4Windows, just buy a modern Bluetooth USB adapter, they are fairly cheap and even my $5, 4.0 BT dongle from AliExpress has been working great

Jayinem commented 3 years ago

My problem is a bit unique I guess. I have a bluetooth but I need the Dualshock 4 to be player 1 at all times. I also have a Xbox 360 wireless adapter hooked up because I have an arcade stick and the mayflash hooks up both the dualshock 4 wireless and a steering wheel wired and the mayflash adapter is automatically player 1 at all times. Before I used it, I would go to play a game with my steering wheel or DS4 and the controls wouldn't work and it turned out it was because it wasn't player 1 because it gives priority to the xbox 360 wireless adapter. Mayflash solved all those problems.

But I don't expect anyone to make any changes due to my unique issue. I figured out how to sort of mimick the touchpad in certain streaming apps. I am streaming the PS4 to PC and Switch, and the app Chiaki has touchpad set to T. If I hit T on the keyboard it worked. I was able to use joytokey to map T to right analog stick down. So it mimicks the touchpad.

Anyway closing.

Kanuan commented 3 years ago

@Jayinem

To achieve what you want, you can:

From here, when enabling again the X360 wireless adapter it shouldn't take over slot 1, windows will just give it the next available slot.

If when following these steps the virtual X360 controller plugs in Slot 2, even when there is no controller connected to Slot 1, that means some process is keeping an active connection to the Slot 1. Even if it does happen it is still possible to fix this.

if you can, try the steps above to test if it will work. if it does not, be very detailed on exactly what you did and where it did not work so we can work from there

Jayinem commented 3 years ago

But see that would leave the steering wheel not working in some racing games if it's not player 1. I'm pretty sure only Mayflash can let me hook up both a controller and a steering wheel to it and have them both be player 1. Because they're bothing using Mayflash I could control a racing game with the wheel or the controller at the same time. If DS4windows because controller 1, that doesn't work anymore. So to me it's not worth it for a small feature of touchpad when I am able to emulate it using other buttons. But thanks for the suggestion.