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.9k stars 344 forks source link

[Suggestions] Deadzone, sensitivity slider and smoothing for motion controllers #49

Open Derp-Savager opened 6 years ago

Derp-Savager commented 6 years ago

Hi and thanks for this great piece of software. Using a Switch Pro controller for Breath of The wild and having gyros at the same time completes my emulation experience as I am not great with aiming with a joystick.

I have a few requests for future updates. Some are probably already on the list, I haven't really checked much.

  1. Add deadzone for gyro movement. I am noticing some very small drifting to the sides when I aim my bow. This could be avoided if we had some sort of minimum movement needed setting that ignored all the small movements that the controller keeps sending even when it is placed on a table.
  2. Add a sensitivity slider. As it is right now, I feel the movements in-game are smaller than I expect when I move the controller around. It could be smart to implement separate sliders for each axis.
  3. Smoothing option. Not sure how to explain this, and it may cause too much delay, but a tiny amount of motion smoothness couldn't hurt. This stabilizes, to some degree, shaky hands. One possibility that I can think of is to average the values within a certain time-frame to make the motions less shaky on screen. But then again it will add delay to the motions.
  4. Port option should be in GUI. I don't know why, but I had to troubleshoot a lot before I finally made gyros work. And one of the fixes was to switch ports back and forth on Cemuhook and Betterjoy.
Dytoractor commented 5 years ago

Derp-Savager, How did you get "Aim with Motion control" to work?

I have had a heck of a time with controllers! When BSOD made the video about BetterJoy, It peeked my attention and I bought a clone pro controller. They are cheap!!! Well, I can't get the clone to pair correctly to my PC and ended up buying a used Real Pro controller. But my troubles just stated. First, the controller would Pair to win10 but BetterJoy wouldn't recognize it. But I fiddled around and uninstalled/reinstalled drivers until it worked. I was confused about the two controller thing in Windows controller settings but read up and found out that was right (convert pro controller to Xbox 360 input). Also found out that STEAM had pro controller support. I thought it had to be done with STEAM controller settings but found out that STEAM needed to be turned OFF in order for it to work. Finally, I was in BOTW with the Pro controller but the right stick was funky and nothing I did fixed it. Until I Uninstalled, rebooted and installed the driver again. (note: do not calibrate the controller in windows controller settings wizard!) Again, Finally, I was in BOTW with a working Pro Controller playing around but in settings AIM with motion control is grayed out. Got to a motion control shrine and found out motion control didn't work at all. Then I found out about ports! The side menu let me change the value but when applying it changed back. But there is a cheat, change the config file instead. So, I changed the config file, nothing worked and then changed it back. I installed PadTest to make it easier to know when it was working... And it worked the first time I tried PadTest. (I didn't do anything that I know of!?) That worked and I completed a shrine with Motion Controls!!! SO HAPPY!!! :+1: Lastly, I open up settings and Aim with motion control is still grayed out. :-1:

What I learned is the Xbox controller has flipped A-B/X-Y from the Pro controller and I can hardly do anything in BOTW. Let's call it muscle memory. However, the Nintendo layout makes sense. I really like the feel of the Xbox controller way more than the Pro Controller. But it's nice to have rumble and motion controls now. As well as the menu buttons look somewhat right when it tells you to do something on the screen. The whole backflip thing was so hard on the Xbox controller!

Sorry rambling: Thank you so much for making this app Davidobot!!! I agree my experience has greatly improved.