Davidobot / BetterJoy

Allows the Nintendo Switch Pro Controller, Joycons and SNES controller to be used with CEMU, Citra, Dolphin, Yuzu and as generic XInput
Other
3.91k stars 344 forks source link

[BUG]SWITCH PRO CONTROLLER ZL AND ZR NOT WORKING FOR PS REMOTE PLAY? #608

Closed artemisxrpg closed 3 years ago

artemisxrpg commented 3 years ago

Although it wasn't listed in the description, BetterJoy does work with ps remote play, however, for some reason the ZL and ZR button does not work. The issue I found closest to this was in this thread: https://github.com/Davidobot/BetterJoy/issues/43 ,however, it still doesn't resolve the issue for me. I also don't see any previous thread in regards to ps remote play either. Everything else pretty much works great with either bluetooth for usb so I'm hoping there is a solution to this. Only just found out about this yesterday so there's probably things I don't really fully understand or overlook.

Davidobot commented 3 years ago

Do you have GyroAnalogSliders enabled in settings? It should be disabled.

artemisxrpg commented 3 years ago

Do you have GyroAnalogSliders enabled in settings? It should be disabled.

I do have it disabled when I checked, I'll attach screenshot of my settings just in case. 4 3 2 1

Davidobot commented 3 years ago

Which controllers and in which configurations are you using? If its joined joycons, there are no buttons assigned by default to them. You can map keyboard buttons manually in the map menu.

artemisxrpg commented 3 years ago

I am using the switch pro controller. I'm not sure what you mean by configurations. If you mean the map buttons settings I didn't touch it at all.

Davidobot commented 3 years ago

Huh, maybe try older versions. I think there was a recent bug fix. Or try "show as DS4" instead of "show as xinput"

artemisxrpg commented 3 years ago

Just realized ds4 was turned off by accident in the screenshot since it needs to be on for the controller to work at all on ps remote play. Disabling xinput still doesn't fix the ZR and ZL issue though. Older version also doesn't fix it either, I can only go back as far as 6.1 as that is when ds4 was 1st implemented.

Davidobot commented 3 years ago

Huh, pretty sure I had both buttons working when testing v6.1. Does checking the emulated controller in either windows devices or Html5gamepad tester yeild similar results? As in that the buttons don't work?

Davidobot commented 3 years ago

BetterJoy_latest.zip I just tested my pro controller on the latest commit. Everything was working as intended. The ZL/ZR specifically.

artemisxrpg commented 3 years ago

On gamepad tester, they're both recognized as B6 and B7. In the game controller properties, they're considered Z Axis for some reason. Did you test it on ps remote play though? It might work properly on emulator but it definitely doesn't work on PS remote play unless I'm doing something wrong.

Davidobot commented 3 years ago

Z Axis for some reason

That sounds like the xbox input, not DS4. Yes, I tested on PS remote play.

artemisxrpg commented 3 years ago

It shows up as X rotation and Y rotation when I turn off Xinput. If it works for you then I must be doing something wrong then. I can try it on a different pc when I have the chance and see how that works. I don't know if there's any other info I can provide that would solve this. Thanks for your help though.

Davidobot commented 3 years ago

You should be using the DS4 option , without the xinput option on, yes.

MoonSarito commented 3 years ago

I am facing the same problem, everything works correctly except R2 and L2 on PS Remote Play.

I was trying to use it on PS Remote Remote Play as a DualShock 4.

Everything worked perfectly, but ZR and ZL did not, I tried everything and I couldn't solve it. https://i.imgur.com/dSUtJHc.png