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.76k stars 340 forks source link

Analog Stick Range issue fix missing #992

Open sublimejer opened 2 years ago

sublimejer commented 2 years ago

I'm using a PowerA Pro Controller with Betterjoy on Yuzu, and the range of my sticks isn't accurate. On switch hardware, the controller works flawlessly. When looking for a fix in the Problems and FAQ, this was presented as a solution

"Calibration Issues (ex: sticks don't have full range) Switch off "also use for axes/buttons" under motion settings and set the input deadzones to 0."

Where is this setting? It's not in my betterjoy config? Am I lost or just stupid

PizzaPino commented 2 years ago

same with my original pro controller @sublimejer in the meantime use 6.4.

informagico commented 1 year ago

@sublimejer @PizzaPino I found the same issue on my PowerA Pro Controller. The solution was to change the stick_cal/stick2_cal values in the BetterJoyCemu.exe.config file to this:

<add key="stick_cal" value="0x4FF,0x4FF,0x780,0x830,0x450,0x450"/>
<add key="stick2_cal" value="0x4FF,0x4FF,0x780,0x830,0x450,0x450"/>

You'll need to fine adjust those values for your specific controller I guess.

Values are in this order:

Related to issue #768

kmbannon commented 1 year ago

@informagic Thank you so much for that code change. This is the first fix I found after tons of youtube videos and random threads. There is very little about changing what is considered 100% on the joysticks out there